john-okeefe
a075a5061f
feat(ui): refresh auth, entry, admin, and secondary pages
...
Apply the new design-system primitives across the remaining pages so the
whole app shares one visual language:
- Auth/entry: redesigned index, login, register (centered card layout,
SVG icons, semantic tokens)
- Admin: sidebar nav with icons, cohesive admin dashboard/users/library/
processing-issues/settings (tables use border-line + hover states;
scan/websocket attributes preserved)
- Secondary: analytics (stat cards), devices, progress, conflicts, queue,
profile + form/modal all migrated to .card/.btn/.input primitives and
SVG action icons
- Docs + API explorer + setup wizard + collection/rules/modals +
unlinked books + book-detail modals: consistent chrome, modal scrims
use --surface-overlay, close buttons use icon-btn
- reader.templ and error.templ intentionally left unchanged
2026-08-05 16:01:22 -04:00
john-okeefe
08d45617a7
refactor: Convert template event handlers to Alpine.js
...
Converted all inline onclick/onsubmit handlers to Alpine.js @click/@submit directives and added x-data attributes to template body tags.
Templates updated:
- admin.templ: Added x-data="admin", converted scan/hide buttons
- analytics.templ: Added x-data, converted loadAnalytics button
- api_explorer.templ: Added x-data for API explorer page
- bookshelf.templ: Added x-data, converted library/pagination handlers
- collection_modal.templ: Added x-data for modal components
- collection_rules.templ: Added x-data, converted all rule handlers
- collections.templ: Added x-data, converted navigation/book handlers
- conflicts.templ: Added x-data, converted resolve/dismiss handlers
- header.templ: Converted theme dropdown and user menu handlers
- index.templ: Added x-data for theme/auth
- login.templ: Added x-data for theme switching
- profile.templ: Added x-data, converted delete account
- profile_form.templ: Converted modal close handler
- profile_modal.templ: Added x-data for modal
- progress.templ: Removed script (uses header.logout)
- queue.templ: Added x-data, converted queue handlers
- register.templ: Added x-data for theme
- restore_system_collection_modal.templ: Added x-data
- toast.templ: Converted to x-init with Alpine
- unlinked_books.templ: Added x-data for bulk operations
Dynamic content in devices.templ uses event delegation via data attributes.
2026-03-08 21:36:02 -04:00