diff --git a/resources/templates/components/a-button.html b/resources/templates/components/a-button.html index c746750c..60387939 100644 --- a/resources/templates/components/a-button.html +++ b/resources/templates/components/a-button.html @@ -1 +1,9 @@ -{% if indicator %}
{% include "templates/components/spinner.html" %}
Loading...
{% endif %}
{{ body|safe }}
+ + {% if indicator %} +
+ {% include "templates/components/spinner.html" %} +
Loading...
+
+ {% endif %} +
{{ body|safe }}
+
diff --git a/resources/templates/components/a-icon-button.html b/resources/templates/components/a-icon-button.html index 9265f2a5..051b9dd2 100644 --- a/resources/templates/components/a-icon-button.html +++ b/resources/templates/components/a-icon-button.html @@ -1 +1,3 @@ -
{{ body|safe }}
+ +
{{ body|safe }}
+
diff --git a/resources/templates/components/badge.html b/resources/templates/components/badge.html index cc8a6630..b7c977d3 100644 --- a/resources/templates/components/badge.html +++ b/resources/templates/components/badge.html @@ -1 +1,2 @@ -
{{ body|safe }}
+
{{ body|safe }} +
diff --git a/resources/templates/components/button-group-button.html b/resources/templates/components/button-group-button.html index fc8c23ac..7412f48a 100644 --- a/resources/templates/components/button-group-button.html +++ b/resources/templates/components/button-group-button.html @@ -1 +1,2 @@ - + diff --git a/resources/templates/components/button-group.html b/resources/templates/components/button-group.html index 8cd98844..c174c5f8 100644 --- a/resources/templates/components/button-group.html +++ b/resources/templates/components/button-group.html @@ -1 +1,6 @@ -
{{ body|safe }}
+
+ + {{ body|safe }} +
diff --git a/resources/templates/components/button.html b/resources/templates/components/button.html index 875664db..0fd392c8 100644 --- a/resources/templates/components/button.html +++ b/resources/templates/components/button.html @@ -1 +1,7 @@ - + diff --git a/resources/templates/components/data-grid-cell.html b/resources/templates/components/data-grid-cell.html index 96006923..3f4e8fb2 100644 --- a/resources/templates/components/data-grid-cell.html +++ b/resources/templates/components/data-grid-cell.html @@ -1 +1,3 @@ -{{ body|safe }} +{{ body|safe }} + diff --git a/resources/templates/components/data-grid-header.html b/resources/templates/components/data-grid-header.html index 7b2a904a..1f04343a 100644 --- a/resources/templates/components/data-grid-header.html +++ b/resources/templates/components/data-grid-header.html @@ -1 +1,10 @@ -{% if sort_key %}{{ body|safe }}{% else %}{{ body|safe }}{% endif %} + + {% if sort_key %} + {{ body|safe }} + {% else %} + {{ body|safe }} + {% endif %} + diff --git a/resources/templates/components/data-grid-row.html b/resources/templates/components/data-grid-row.html index 8162179f..cf9a5f9c 100644 --- a/resources/templates/components/data-grid-row.html +++ b/resources/templates/components/data-grid-row.html @@ -1 +1,2 @@ -{{ body|safe }} +{{ body|safe }} + diff --git a/resources/templates/components/data-grid.html b/resources/templates/components/data-grid.html index 6231a37f..7dd57c92 100644 --- a/resources/templates/components/data-grid.html +++ b/resources/templates/components/data-grid.html @@ -1 +1,11 @@ -
{{ headers|safe }}{{ rows|safe }}{{ footer_tbody|safe }}
+
+ + + {{ headers|safe }} + + + {{ rows|safe }} + + {{ footer_tbody|safe }} +
+
diff --git a/resources/templates/components/location-select.html b/resources/templates/components/location-select.html index c96755d7..1b210640 100644 --- a/resources/templates/components/location-select.html +++ b/resources/templates/components/location-select.html @@ -3,6 +3,6 @@ surrounding Hiccup row via the auto-ap.ssr.selmer interop bridge. #} diff --git a/resources/templates/components/modal.html b/resources/templates/components/modal.html index 497175e0..7e80c083 100644 --- a/resources/templates/components/modal.html +++ b/resources/templates/components/modal.html @@ -1 +1,2 @@ -
{{ body|safe }}
+
{{ body|safe }} +
diff --git a/resources/templates/components/money-input.html b/resources/templates/components/money-input.html index 99103792..85eb7949 100644 --- a/resources/templates/components/money-input.html +++ b/resources/templates/components/money-input.html @@ -1,2 +1,2 @@ {# Money input (number, step=0.01, right-aligned). sc/money-input builds `attrs`. #} - + diff --git a/resources/templates/components/radio-card.html b/resources/templates/components/radio-card.html index e7b9e56e..ec911088 100644 --- a/resources/templates/components/radio-card.html +++ b/resources/templates/components/radio-card.html @@ -1 +1,16 @@ - + diff --git a/resources/templates/components/select.html b/resources/templates/components/select.html index cc7eab4e..57755cf7 100644 --- a/resources/templates/components/select.html +++ b/resources/templates/components/select.html @@ -1,4 +1,8 @@ {# Generic {% for opt in options %}{% endfor %} + diff --git a/resources/templates/components/spinner.html b/resources/templates/components/spinner.html index 2b408d87..c2f17b6b 100644 --- a/resources/templates/components/spinner.html +++ b/resources/templates/components/spinner.html @@ -1 +1,11 @@ - + diff --git a/resources/templates/components/svg-drop-down.html b/resources/templates/components/svg-drop-down.html index 7c7f13f5..ac31a4f1 100644 --- a/resources/templates/components/svg-drop-down.html +++ b/resources/templates/components/svg-drop-down.html @@ -1 +1,7 @@ - + diff --git a/resources/templates/components/svg-external-link.html b/resources/templates/components/svg-external-link.html index 6280d30b..54754ed5 100644 --- a/resources/templates/components/svg-external-link.html +++ b/resources/templates/components/svg-external-link.html @@ -1 +1,8 @@ -navigation-next + + navigation-next + + + + + + diff --git a/resources/templates/components/svg-x.html b/resources/templates/components/svg-x.html index 717e9253..a4b7b82a 100644 --- a/resources/templates/components/svg-x.html +++ b/resources/templates/components/svg-x.html @@ -1 +1,3 @@ -delete-2 + + delete-2 + diff --git a/resources/templates/components/text-input.html b/resources/templates/components/text-input.html index 79f9dd58..e8a46f80 100644 --- a/resources/templates/components/text-input.html +++ b/resources/templates/components/text-input.html @@ -1,3 +1,3 @@ {# Text input. sc/text-input builds the full attr map (type/autocomplete/class+size already merged, reusing inputs/default-input-classes + hh/add-class) into `attrs`. #} - + diff --git a/resources/templates/components/typeahead.html b/resources/templates/components/typeahead.html index 7df07c9e..7579347b 100644 --- a/resources/templates/components/typeahead.html +++ b/resources/templates/components/typeahead.html @@ -1,4 +1,60 @@ {# Click-to-select typeahead (Alpine + tippy). Survives whole-form swaps; null-guarded tippy?. / $refs.input? throughout. The Clojure wrapper (sc/typeahead) resolves the initial {value,label} server-side and builds x_data + the hidden-input attrs. #} -
{% if disabled %}{% else %}
{% include "templates/components/svg-drop-down.html" %}
!
{% endif %}
+
+ {% if disabled %} + + {% else %} + +
+ +
+ {% include "templates/components/svg-drop-down.html" %} +
+
+
!
+
+
+
+ {% endif %} + +
diff --git a/resources/templates/components/validated-field.html b/resources/templates/components/validated-field.html index 96806adf..0b9b0fa3 100644 --- a/resources/templates/components/validated-field.html +++ b/resources/templates/components/validated-field.html @@ -3,4 +3,10 @@ carries any pass-through div attributes (the per-row location cell hangs its hx-* / x-dispatch swap wiring here); `body` is the pre-rendered inner control HTML; `errors_str` is the comma-joined string errors (empty when none). #} -
{% if label %}{% endif %}{{ body|safe }}

{{ errors_str }}

+
+ {% if label %} + + {% endif %} + {{ body|safe }} +

{{ errors_str }}

+
diff --git a/resources/templates/interop-smoke.html b/resources/templates/interop-smoke.html index deac9901..5fa980ab 100644 --- a/resources/templates/interop-smoke.html +++ b/resources/templates/interop-smoke.html @@ -2,6 +2,7 @@

{{ title }}

{# a Hiccup-rendered component, passed in pre-rendered and emitted verbatim #} {{ hiccup_frag|safe }} - diff --git a/resources/templates/invoice-bulk-edit/edit-form.html b/resources/templates/invoice-bulk-edit/edit-form.html index 204e515d..aec7ce8e 100644 --- a/resources/templates/invoice-bulk-edit/edit-form.html +++ b/resources/templates/invoice-bulk-edit/edit-form.html @@ -1,4 +1,5 @@ {# Top-level plain bulk-edit form (no wizard). The resolved (not-locked) invoice id set rides in hidden ids[] fields so the selection survives form-changed / submit posts without an EDN snapshot or a filter round-trip. #} -
{{ ids_hidden|safe }}{{ modal|safe }}
+
{{ ids_hidden|safe }}{{ modal|safe }} +
diff --git a/resources/templates/invoice-bulk-edit/expense-totals.html b/resources/templates/invoice-bulk-edit/expense-totals.html index 98883251..bfc5bff7 100644 --- a/resources/templates/invoice-bulk-edit/expense-totals.html +++ b/resources/templates/invoice-bulk-edit/expense-totals.html @@ -2,4 +2,6 @@ the input rows, so a percentage edit refreshes them with a targeted swap (Rule 4) and never replaces the input-bearing rows above. Replaces the old per-cell bulk-edit-total / bulk-edit-balance routes. #} -{{ rows|safe }} + + {{ rows|safe }} + diff --git a/resources/templates/sales-summary/edit-form.html b/resources/templates/sales-summary/edit-form.html index a5417a2a..bf119ea3 100644 --- a/resources/templates/sales-summary/edit-form.html +++ b/resources/templates/sales-summary/edit-form.html @@ -1,4 +1,7 @@ {# Plain sales-summary edit form (no wizard). db/id rides in a hidden field; all other state is the live form, re-derived against the entity each request (no EDN snapshot, no step-params). #} -
{{ modal|safe }}
+
+ + {{ modal|safe }} +
diff --git a/resources/templates/sales-summary/summary-body.html b/resources/templates/sales-summary/summary-body.html index 16cc4e50..8e381c60 100644 --- a/resources/templates/sales-summary/summary-body.html +++ b/resources/templates/sales-summary/summary-body.html @@ -1,4 +1,21 @@ {# Sales-summary modal body: a read-only Debits | Credits two-column view of the auto items (each account is inline-editable), a swappable totals/balance block, and an editable Manual Items section with a working "New Summary Item" add. #} -
Debits
{{ debit_rows|safe }}
Credits
{{ credit_rows|safe }}
{{ totals|safe }}
Manual Items
{{ manual_rows|safe }}
{{ new_item_button|safe }}
+
+
+
+
Debits
+
{{ debit_rows|safe }}
+
+
+
Credits
+
{{ credit_rows|safe }}
+
+
+
{{ totals|safe }}
+
+
Manual Items
+
{{ manual_rows|safe }}
+
{{ new_item_button|safe }}
+
+
diff --git a/resources/templates/transaction-bulk-code/bulk-code-body.html b/resources/templates/transaction-bulk-code/bulk-code-body.html index 52b17f1a..b76a613f 100644 --- a/resources/templates/transaction-bulk-code/bulk-code-body.html +++ b/resources/templates/transaction-bulk-code/bulk-code-body.html @@ -1,3 +1,13 @@ {# Bulk-code modal body: vendor field (a change repopulates the default account via a whole-form swap), status select, and the expense-account grid. #} -
{{ vendor_field|safe }}
{{ status_field|safe }}

Expense Accounts

{{ accounts_field|safe }}
+
+
+
{{ vendor_field|safe }} +
+
{{ status_field|safe }}
+
+

Expense Accounts

+ {{ accounts_field|safe }} +
+
+
diff --git a/resources/templates/transaction-bulk-code/bulk-code-form.html b/resources/templates/transaction-bulk-code/bulk-code-form.html index 266a0923..eeb851b0 100644 --- a/resources/templates/transaction-bulk-code/bulk-code-form.html +++ b/resources/templates/transaction-bulk-code/bulk-code-form.html @@ -2,4 +2,5 @@ id set rides in hidden ids[] fields -- the analog of the edit modal's single db/id hidden -- so the selection survives form-changed / submit posts without an EDN snapshot or a filter round-trip. #} -
{{ ids_hidden|safe }}{{ modal|safe }}
+
{{ ids_hidden|safe }}{{ modal|safe }} +
diff --git a/resources/templates/transaction-edit/account-totals.html b/resources/templates/transaction-edit/account-totals.html index cdc8f1b8..e66630f9 100644 --- a/resources/templates/transaction-edit/account-totals.html +++ b/resources/templates/transaction-edit/account-totals.html @@ -1,3 +1,5 @@ {# Totals live in their own swappable so an amount edit refreshes them with a targeted swap, never replacing the input-bearing rows above (caret survives). #} -{{ rows|safe }} + + {{ rows|safe }} + diff --git a/resources/templates/transaction-edit/approval-status.html b/resources/templates/transaction-edit/approval-status.html index 58a7dc00..8aaccf4d 100644 --- a/resources/templates/transaction-edit/approval-status.html +++ b/resources/templates/transaction-edit/approval-status.html @@ -1 +1,4 @@ -
{{ status_hidden|safe }}
{{ buttons|safe }}
+
+ {{ status_hidden|safe }} +
{{ buttons|safe }}
+
diff --git a/resources/templates/transaction-edit/details-panel.html b/resources/templates/transaction-edit/details-panel.html index 6a584217..b73146b5 100644 --- a/resources/templates/transaction-edit/details-panel.html +++ b/resources/templates/transaction-edit/details-panel.html @@ -1,2 +1,39 @@ {# Read-only transaction summary shown in the modal's left side panel. #} -

Details

Amount
{{ amount }}
Date
{{ date }}
Bank Account
{{ bank_account }}
Post Date
{{ post_date }}
Description
{{ description_simple }}
Check Number
{{ check_number }}
Status
{{ status }}
Transaction Type
{{ type }}
+
+

Details

+
+
+
Amount
+
{{ amount }}
+
+
+
Date
+
{{ date }}
+
+
+
Bank Account
+
{{ bank_account }}
+
+
+
Post Date
+
{{ post_date }}
+
+
+
Description
+
{{ description_simple }}
+
+
+
Check Number
+
{{ check_number }}
+
+
+
Status
+
{{ status }}
+
+
+
Transaction Type
+
{{ type }}
+
+
+
diff --git a/resources/templates/transaction-edit/edit-form.html b/resources/templates/transaction-edit/edit-form.html index 64e7a2b6..665f5608 100644 --- a/resources/templates/transaction-edit/edit-form.html +++ b/resources/templates/transaction-edit/edit-form.html @@ -1,4 +1,7 @@ {# Top-level plain form. The entity id rides in a hidden field; all other state is the live form, re-derived against the entity each request (no serialized snapshot, no wizard step-params). #} -
{{ modal|safe }}
+
+ + {{ modal|safe }} +
diff --git a/resources/templates/transaction-edit/edit-modal.html b/resources/templates/transaction-edit/edit-modal.html index 734ee8d1..f4ca2e16 100644 --- a/resources/templates/transaction-edit/edit-modal.html +++ b/resources/templates/transaction-edit/edit-modal.html @@ -1,4 +1,15 @@ {# Modal card chrome (header / optional side panel / body / footer). Single-step, so no timeline, no back/next nav -- just the Done button in the footer. Enter triggers the save button via $refs.next. #} - + diff --git a/resources/templates/transaction-edit/invoice-option.html b/resources/templates/transaction-edit/invoice-option.html index ac85e955..fbb6399e 100644 --- a/resources/templates/transaction-edit/invoice-option.html +++ b/resources/templates/transaction-edit/invoice-option.html @@ -1 +1,6 @@ -
{{ number }}{{ vendor }}{{ date }}{{ amount }}
+
+ {{ number }} + {{ vendor }} + {{ date }} + {{ amount }} +
diff --git a/resources/templates/transaction-edit/linked-payment.html b/resources/templates/transaction-edit/linked-payment.html index 7c695c62..2a77363b 100644 --- a/resources/templates/transaction-edit/linked-payment.html +++ b/resources/templates/transaction-edit/linked-payment.html @@ -1 +1,27 @@ -

Linked Payment{{ external_link|safe }}

Payment #
{{ number }}
Vendor
{{ vendor }}
Amount
{{ amount }}
Status
{{ status }}
Date
{{ date }}
{{ payment_id_hidden|safe }}
{{ unlink_button|safe }}
+
+

Linked Payment{{ external_link|safe }}

+
+
+
Payment #
+
{{ number }}
+
+
+
Vendor
+
{{ vendor }}
+
+
+
Amount
+
{{ amount }}
+
+
+
Status
+
{{ status }}
+
+
+
Date
+
{{ date }}
+
+ {{ payment_id_hidden|safe }}
{{ unlink_button|safe }} +
+
+
diff --git a/resources/templates/transaction-edit/links-body.html b/resources/templates/transaction-edit/links-body.html index 5332da45..7c610508 100644 --- a/resources/templates/transaction-edit/links-body.html +++ b/resources/templates/transaction-edit/links-body.html @@ -1,3 +1,32 @@ {# The single step's body: memo + the activeForm tab switcher (link payment / unpaid / autopay / rule / manual) + the five x-show panels. Fragments are pre-rendered. #} -
{{ memo_field|safe }}
{{ action_hidden|safe }}{{ tabs|safe }}
{{ panel_payment|safe }}
{{ panel_unpaid|safe }}
{{ panel_autopay|safe }}
{{ panel_rule|safe }}
{{ panel_manual|safe }}
+
+
+ {{ memo_field|safe }} +
+
{{ action_hidden|safe }}{{ tabs|safe }}
+
{{ panel_payment|safe }}
+
{{ panel_unpaid|safe }}
+
{{ panel_autopay|safe }}
+
{{ panel_rule|safe }}
+
+
{{ panel_manual|safe }}
+
+
+
+
diff --git a/resources/templates/transaction-edit/manual-coding.html b/resources/templates/transaction-edit/manual-coding.html index c9315560..fa843326 100644 --- a/resources/templates/transaction-edit/manual-coding.html +++ b/resources/templates/transaction-edit/manual-coding.html @@ -1,3 +1,11 @@ {# Vendor field (a change repopulates the default account via a whole-form swap) + either the simple single-row coding or the advanced account grid. #} -
{{ mode_hidden|safe }}{{ vendor_field|safe }}
{% if is_simple %}
{{ simple_mode|safe }}
{% else %}
{{ toggle_link|safe }}{{ accounts_field|safe }}
{% endif %} +
+ {{ mode_hidden|safe }}
{{ vendor_field|safe }} +
+{% if is_simple %} +
{{ simple_mode|safe }}
+{% else %} +
{{ toggle_link|safe }}{{ accounts_field|safe }}
+{% endif %} +
diff --git a/resources/templates/transaction-edit/panel-list.html b/resources/templates/transaction-edit/panel-list.html index 0bfe7219..49ba2382 100644 --- a/resources/templates/transaction-edit/panel-list.html +++ b/resources/templates/transaction-edit/panel-list.html @@ -1,3 +1,10 @@ {# Shared shell for the autopay/unpaid/rule match panels: heading + action hidden + prompt label + a radio-card of options. #} -

{{ heading }}

{{ action_hidden|safe }}
{{ radio|safe }}
+
+

{{ heading }}

+ {{ action_hidden|safe }} +
+ + {{ radio|safe }} +
+
diff --git a/resources/templates/transaction-edit/rule-option.html b/resources/templates/transaction-edit/rule-option.html index 1ecaaa23..5247e3bd 100644 --- a/resources/templates/transaction-edit/rule-option.html +++ b/resources/templates/transaction-edit/rule-option.html @@ -1 +1,4 @@ -
{{ note }}{{ description }}
+
+ {{ note }} + {{ description }} +
diff --git a/resources/templates/transaction-edit/simple-mode.html b/resources/templates/transaction-edit/simple-mode.html index aa72b073..40d6eb10 100644 --- a/resources/templates/transaction-edit/simple-mode.html +++ b/resources/templates/transaction-edit/simple-mode.html @@ -1,4 +1,14 @@ {# Simple mode: a single account row (account typeahead + location select) rendered at a fixed index 0, plus the link to switch to the advanced grid. Selecting the account swaps just the location cell (#simple-account-location). #} -
{{ row_id_hidden|safe }}
{{ account_field|safe }}
{{ location_field|safe }}
{{ amount_hidden|safe }}
+
+ {{ row_id_hidden|safe }} +
+ {{ account_field|safe }} +
{{ location_field|safe }}
+ {{ amount_hidden|safe }} +
+
+ +