checkpoint

This commit is contained in:
2025-11-09 17:40:11 +00:00
parent f9e1ad0768
commit 9096d38f78
4 changed files with 198 additions and 11 deletions

View File

@@ -147,11 +147,10 @@
<thead>
<tr>
<th class="done-col">Done</th>
<th>Output Item</th>
<th>Recipe</th>
<th>Building</th>
<th>Inputs</th>
<th>Destinations</th>
<th>Output Items</th>
<th>Building</th>
<th class="mono">Target rate</th>
<th class="mono">Per-building output</th>
<th class="mono">Buildings</th>
@@ -162,10 +161,8 @@
{% for s in result.steps %}
<tr>
<td class="done-col"><input type="checkbox" onchange="toggleDone(this)"></td>
<td>{{ s.item }}</td>
<td>{{ s.recipe }}</td>
<td>{{ s.building }}</td>
<td>
<td>
{% if s.inputs and s.inputs|length > 0 %}
<div>
{% for inp in s.inputs %}
@@ -176,7 +173,7 @@
<span class="pill">None</span>
{% endif %}
</td>
<td>
<td>
{% if s.destinations and s.destinations|length > 0 %}
<div>
{% for d in s.destinations %}
@@ -187,6 +184,9 @@
<span class="pill">None</span>
{% endif %}
</td>
<td>{{ s.building }}</td>
<td class="mono">{{ '%.2f'|format(s.target_rate) }}</td>
<td class="mono">{{ '%.2f'|format(s.per_building_output) }}</td>
<td class="mono">{{ '%.2f'|format(s.buildings_float) }} (~ {{ s.buildings }})</td>