numerus/web/static
jordi fita mas 31a655ae7f Add aria-current attribute to links in the top menu
This is mainly to be able to stylize them using CSS; the current style
i set i just a placeholder to check that it works as expected.

Most of these links needs to check for the URI’s prefix, because they
are links to a whole section, but the first link must check for the
exact match, otherwise it would match every other URI, as all of them
start with /company/{uuid}.

The server does not return the markup for the top navigation when usin
HTMx, though, hence i have to change the current class using JavaScript.

I am not sure if the correct value for aria-current is “page” when the
link is not for the actual page the user is currently in, like when is
in the new quote page, but it seems to be the most appropriate value
from the enumeration given in the specifications, except, perhaps, for
the “location” value, but i was unable to find any example of that value
anywhere.

Part of #89.
2023-11-13 14:42:27 +01:00
..
fonts Remove unused Remixicon files 2023-01-31 13:17:51 +01:00
alpinejs@3.12.0.min.js Start “improving” the user interface with AlpineJS: tax selector 2023-03-14 18:07:38 +01:00
bars.svg Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
custom-elements@1.3.0.min.js Add custom elements polyfill 2023-11-11 03:32:03 +01:00
htmx@1.9.2.min.js Update HTMx version to 1.9.2 2023-04-29 16:20:13 +02:00
invoice.css Add margin between quotee and terms and conditions 2023-06-08 12:55:12 +02:00
numerus.css Add aria-current attribute to links in the top menu 2023-11-13 14:42:27 +01:00
numerus.js Add aria-current attribute to links in the top menu 2023-11-13 14:42:27 +01:00
numerus.svg Clean up SVG icon 2023-01-30 16:33:49 +01:00