20 lines
767 B
HTML
20 lines
767 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Static Connections · {{ app_name }}{% endblock %}
|
|
{% block body %}
|
|
{% include "_nav.html" %}
|
|
<main class="container">
|
|
<h1>Static Connections</h1>
|
|
|
|
<div class="card">
|
|
<h2>Add connection</h2>
|
|
<form hx-post="/admin/static-connections" hx-target="#static-connection-list" hx-swap="outerHTML" class="form-grid">
|
|
<label>OD (mm) <input type="number" name="od_mm" step="0.001" min="0" placeholder="e.g. 30.0" required></label>
|
|
<label>OD (in) <input type="number" name="od_in" step="0.0001" min="0" placeholder="e.g. 1.1811" required></label>
|
|
<button type="submit" class="btn btn-primary">Add</button>
|
|
</form>
|
|
</div>
|
|
|
|
{% include "admin/_static_connections_table.html" %}
|
|
</main>
|
|
{% endblock %}
|