diff --git a/templates/projects/detail.html b/templates/projects/detail.html
new file mode 100644
index 0000000..e246a8e
--- /dev/null
+++ b/templates/projects/detail.html
@@ -0,0 +1,78 @@
+{% extends "base.html" %}
+{% block title %}{{ project.name }} · Project · CalMiner{% endblock %}
+
+{% block content %}
+
+
+ {{ project.operation_type.value.replace('_', ' ') | title }} No scenarios yet. Provide core information about the mining project.{{ project.name }}
+ Project Overview
+
+
+ Scenarios
+ Add Scenario
+
+
+
+ {% else %}
+
+
+
+
+ {% for scenario in scenarios %}
+ Name
+ Status
+ Currency
+ Primary Resource
+
+
+
+ {% endfor %}
+
+ {{ scenario.name }}
+ {{ scenario.status.value.title() }}
+ {{ scenario.currency or '—' }}
+ {{ scenario.primary_resource.value.replace('_', ' ') | title if scenario.primary_resource else '—' }}
+
+ View
+ Edit
+
+ {% if project %}Edit Project{% else %}Create Project{% endif %}
+
Manage mining projects and explore their scenarios.
+| Name | +Location | +Type | +Scenarios | ++ |
|---|---|---|---|---|
| {{ project.name }} | +{{ project.location or '—' }} | +{{ project.operation_type.value.replace('_', ' ') | title }} | +{{ project.scenario_count }} | ++ View + Edit + | +
No projects yet. Create your first project.
+ {% endif %} +{% endblock %} diff --git a/templates/scenarios/detail.html b/templates/scenarios/detail.html new file mode 100644 index 0000000..edb3466 --- /dev/null +++ b/templates/scenarios/detail.html @@ -0,0 +1,112 @@ +{% extends "base.html" %} +{% block title %}{{ scenario.name }} · Scenario · CalMiner{% endblock %} + +{% block content %} + + +Status: {{ scenario.status.value.title() }}
+| Name | +Category | +Amount | +Currency | +
|---|---|---|---|
| {{ item.name }} | +{{ item.category.value.title() }} | +{{ '{:,.2f}'.format(item.amount) }} | +{{ item.currency or '—' }} | +
No financial inputs recorded.
+ {% endif %} +| Name | +Distribution | +Variable | +Resource | +
|---|---|---|---|
| {{ param.name }} | +{{ param.distribution.value.title() }} | +{{ param.variable.value.replace('_', ' ') | title if param.variable else '—' }} | +{{ param.resource_type.value.replace('_', ' ') | title if param.resource_type else '—' }} | +
No simulation parameters defined.
+ {% endif %} +Configure assumptions and metadata for this scenario.
+