Commit graph

6 commits

Author SHA1 Message Date
Peter Goodhall
d1446a6c22 Add HTMX component and refactor accumulated UI/JS
Introduce a new partial view and controller endpoint for rendering accumulated-results as an HTMX component, and refactor the accumulated statistics page and JS. Changes include: adding component_accumulated_results() in the Accumulated controller and a new view (accumulate/component_results.php) exposing filter params via data-attributes; updating accumulate/index.php to use a card-based layout, improved form markup, and HTMX attributes to load the results component; and a major rewrite of assets/js/sections/accumulatedstatistics.js to modularize logic (getAwardText, setAccumulateLoading, accumulateRender), improve loading/error handling, rebuild chart/table markup, update DataTables usage, and hook into htmx:afterSwap to render the chart when the component is swapped in. Overall this enables partial updates, better UX, and cleaner client-side code.
2026-04-26 22:05:52 +01:00
Andreas
939434090d [Bands] Consolidated get_worked_bands to it's own model. This will make it easier to have everything in one place, and perhaps also move bands to db. 2021-11-13 15:55:17 +01:00
Paul Beesley
8ba41812ad Tweaks to text
Touches page titles, some table headers (capitalisation mostly), menu items.
2020-12-23 13:01:20 +00:00
Andreas
dd200871cc Mode and period has been added. 2020-10-08 11:45:41 +02:00
Andreas
20dc1caa27 Implemented dynamic loading of chart and table. Band and award is now selectable. 2020-10-06 21:12:14 +02:00
Andreas
e80c9b8ef8 Added mode, view and controller for accumulated stats. 2020-10-04 21:41:01 +02:00