Adding ISOThread and UNC Thread

This commit is contained in:
Ian Roddis committed 2026-06-24 21:58:15 -03:00
1 parent 9285a021c0
commit 35e8a61b1d
22 files changed
+796 -3

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{% extends "base.html" %}
{% block title %}ISO Threads · {{ app_name }}{% endblock %}
{% block body %}
{% include "_nav.html" %}
<main class="container">
<h1>ISO Threads</h1>
<div class="card">
<h2>Add thread</h2>
<form hx-post="/admin/iso-threads" hx-target="#iso-thread-list" hx-swap="outerHTML" class="form-grid">
<label>Diameter (mm) <input type="number" name="diameter_mm" step="0.001" min="0" required></label>
<label>Pitch (mm) <input type="number" name="pitch_mm" step="0.001" min="0" required></label>
<label>Depth (mm) <input type="number" name="depth_mm" step="0.001" min="0" placeholder="optional"></label>
<button type="submit" class="btn btn-primary">Add</button>
</form>
</div>
{% include "admin/_iso_threads_table.html" %}
</main>
{% endblock %}