numerus/web/template
jordi fita mas 992bbf32a9 Toggle filters forms
I tried this already when i started adding filters, but i tried to use
AlpineJS for that, and could not because it would reset the context each
time i submitted the filters, due to HTMx replacing the whole content.

I realized that the only thing i need is some “flag” to show and hide
the form with CSS.  I do not even need AlpineJS for that, but i used it
anyway because then i can use the x-cloak thing to hidde the toggle
button for users with JavaScript disabled.

Similarly, the body by default has that “flag” set in the markup, and is
removed when AlpineJS is initialized, thus if JavaScript is disabled the
filters form is shown nevertheless.
2023-05-24 12:13:09 +02:00
..
contacts Toggle filters forms 2023-05-24 12:13:09 +02:00
expenses Toggle filters forms 2023-05-24 12:13:09 +02:00
invoices Toggle filters forms 2023-05-24 12:13:09 +02:00
products Toggle filters forms 2023-05-24 12:13:09 +02:00
tags Add inline tag form for expenses 2023-05-08 12:58:54 +02:00
app.gohtml Toggle filters forms 2023-05-24 12:13:09 +02:00
dashboard.gohtml Wrap filter buttons with <noscript> 2023-05-23 14:34:46 +02:00
form.gohtml Toggle filters forms 2023-05-24 12:13:09 +02:00
login.gohtml Use a “proper” struct for the login form 2023-02-01 11:02:32 +01:00
main.gohtml Add the <title> element for the “main” boosted pages 2023-03-26 13:57:24 +02:00
modal.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
profile.gohtml Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
standalone.gohtml Allow editing invoice tags inline from the index table 2023-04-11 10:46:27 +02:00
tax-details.gohtml Boost all breadcbrumb links 2023-04-02 16:10:13 +02:00
web.gohtml Add custom function to get the current locale from templates 2023-01-31 15:45:51 +01:00