- 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.
15 lines
379 B
HTML
15 lines
379 B
HTML
<div class="scenario-actions">
|
|
<a
|
|
href="{{ request.url_for('reports.scenario_distribution_page', scenario_id=item.scenario.id) }}"
|
|
class="button button-secondary"
|
|
>
|
|
View Distribution
|
|
</a>
|
|
<a
|
|
href="{{ request.url_for('reports.scenario_distribution', scenario_id=item.scenario.id) }}"
|
|
class="button button-secondary"
|
|
>
|
|
Download JSON
|
|
</a>
|
|
</div>
|