Adding part details page
This commit is contained in:
1 parent
2587ccbceb
commit
1b52ad04bc
7 files changed
+305
-9
No files matched your search
@@ -12,6 +12,7 @@
|
||||
<p class="muted" style="font-size:0.85rem;margin:0 0 0.5rem">No fits recorded yet.</p>
|
||||
{% endfor %}
|
||||
|
||||
{% if can_write %}
|
||||
<div class="row-actions" style="margin:0.5rem 0">
|
||||
<form hx-post="/admin/augmented-parts/{{ augmented_part_id }}/fits/recompute"
|
||||
hx-target="#ap-{{ augmented_part_id }}-fits" hx-swap="outerHTML">
|
||||
@@ -46,4 +47,5 @@
|
||||
<div id="ap-{{ augmented_part_id }}-fit-other-points"></div>
|
||||
<button type="submit" class="btn btn-primary">Add fit</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in new issue
Block a user