john-okeefe
8ea70ea7f8
feat(ui): migrate remaining pages to the new shell
...
Apply the sidebar shell and bold primitives across the rest of the app so
the whole experience shares one visual language:
- Browse/organize: series (keeps stacked-covers/series-card CSS),
collections (keeps wood-paneling + carousel classes), browse_detail.
- Account/stats: profile + form + modal, progress, analytics (stat-card
tiles), devices, conflicts (status semantics), queue (status/priority
badges).
- Admin: admin sidebar restyled with icons, dashboard/users/library/
processing-issues/settings migrated to .card/.btn/.input primitives.
- Docs/setup/misc: docs (keeps prose/highlight.js), api_explorer, setup
wizard, unlinked_books, custom_section builder.
- Modals/fragments: collection_modal, collection_rules,
restore_system_collection_modal, filter_item, book_detail_modals — all
overlays use --surface-overlay + --shadow-pop.
Every Alpine handler, HTMX attribute, id, name, and data-* is preserved;
only presentation changes.
2026-08-05 16:45:02 -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