- dashboard.html: headings, quick actions, empty states wired to x-text - printers.html: h1, add button, h2 wired to x-text - printers_new.html: all form labels (span pattern), options, submit buttons wired - clients.html: headings, label, submit button wired - client_detail.html: back link, section heading wired - drivers.html: all headings, label, buttons, spinner wired - packages.html: heading, description, table headers, empty state wired - printer_detail.html: all dt/dd, section headings, copy buttons, script/export links wired with conditional Jinja2 for color/collate/client - partials/printer_list.html: table headers, Yes/No cells (Alpine ternary), delete button wired - partials/printer_edit_modal.html: edit trigger, modal title, all labels (span pattern), options, save/cancel wired - partials/client_list.html: empty state, table headers wired - partials/driver_list.html: table headers, unknown values, empty state wired - Fix test_printers_library_no_form: check form element attribute instead of UI label string (now in i18n dict)
22 lines
712 B
HTML
22 lines
712 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h1 x-data x-text="$store.i18n.t('clients')">Clients</h1>
|
|
|
|
<section>
|
|
<h2 x-data x-text="$store.i18n.t('add_client_section')">Add Client</h2>
|
|
<form hx-post="/clients" hx-target="#client-list" hx-swap="outerHTML">
|
|
<label>
|
|
<span x-data x-text="$store.i18n.t('client_name_label')">Client Name</span>
|
|
<input type="text" name="name" placeholder="e.g. Contoso" required>
|
|
</label>
|
|
<button type="submit" x-data x-text="$store.i18n.t('add_client')">Add Client</button>
|
|
</form>
|
|
</section>
|
|
|
|
<section>
|
|
<h2 x-data x-text="$store.i18n.t('client_list_section')">Client List</h2>
|
|
{% include "partials/client_list.html" %}
|
|
</section>
|
|
{% endblock %}
|