- Added monitoring metrics for project creation success and error handling in `ProjectRepository`. - Implemented similar monitoring for scenario creation in `ScenarioRepository`. - Refactored `run_monte_carlo` function in `simulation.py` to include timing and success/error metrics. - Introduced new CSS styles for headers, alerts, and navigation buttons in `main.css` and `projects.css`. - Created a new JavaScript file for navigation logic to handle chevron buttons. - Updated HTML templates to include new navigation buttons and improved styling for buttons. - Added tests for reporting service and routes to ensure proper functionality and access control. - Removed unused imports and optimized existing test files for better clarity and performance.
37 lines
1.0 KiB
HTML
37 lines
1.0 KiB
HTML
{% extends "base.html" %} {% block title %}Reset Password{% endblock %} {% block
|
|
content %}
|
|
<div class="container">
|
|
<h1>Reset Password</h1>
|
|
{% if errors %}
|
|
<div class="alert alert-error">
|
|
<ul>
|
|
{% for error in errors %}
|
|
<li>{{ error }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
<form id="reset-password-form" method="post" action="{{ form_action }}">
|
|
<input type="hidden" name="token" value="{{ token | default('') }}" />
|
|
<div class="form-group">
|
|
<label for="password">New Password:</label>
|
|
<input type="password" id="password" name="password" required />
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="confirm_password">Confirm Password:</label>
|
|
<input
|
|
type="password"
|
|
id="confirm_password"
|
|
name="confirm_password"
|
|
required
|
|
/>
|
|
</div>
|
|
<button type="submit" class="btn primary">Update Password</button>
|
|
</form>
|
|
<p>
|
|
Remembered your password?
|
|
<a href="{{ request.url_for('auth.login_form') }}">Return to login</a>
|
|
</p>
|
|
</div>
|
|
{% endblock %}
|