divan/GanjooRazor/wwwroot/js
Claude f09b9de84a User panel: Phase 0 shared UI foundations
- Add design-token stylesheet (wwwroot/css/user-panel.css): CSS variables
  derived from the existing p8.css palette (brand maroon, success/danger
  colors, radius, shadow), plus reusable component classes (card, button
  variants, alert, badge, empty state, pagination, list item, toast,
  confirm modal). Includes a prefers-color-scheme dark block compatible
  with the existing toggleColorScheme() mechanism in bk.js.
- Add wwwroot/js/user-panel.js: upConfirm() and upToast() helpers as
  styled, promise-based replacements for window.confirm()/alert(),
  falling back to the native dialogs if the modal/toast markup isn't
  present on a page.
- Add Areas/User/Pages/Shared/ partials: _Pagination (wraps the
  List<NameIdUrlImage> pattern already used by every list page),
  _EmptyState, _Toasts and _ConfirmModal (hosts, included once by the
  layout).
- Wire the new stylesheet/script and the toast/modal hosts into
  _UserPanelLayout.cshtml.
- Refactor Notifications.cshtml as a first demonstration: replaces the
  hand-rolled pagination loop, manual gray/lightsteelblue row
  alternation, and confirm()/alert() calls with the new components.

No backend/API changes. Rest of the User area is untouched pending
Phase 1+ (nav/dashboard, forms, remaining list pages, moderation
queues, editors).
2026-08-05 12:58:00 +03:30
..
images bug fix: adding some missing leaflet.js icons 2023-05-23 19:08:14 +03:30
beeptunes.js #112 GanjooRazor project added 2021-05-08 18:59:39 +04:30
bk.js two step pagination 2026-08-04 20:59:19 +03:30
chart.js plot charts for all statistical tables 2025-01-31 18:06:46 +03:30
golha.js #112 GanjooRazor project added 2021-05-08 18:59:39 +04:30
jplayersupport.js #250 moving jplayer related scripts to a separate file 2021-12-02 10:14:42 +03:30
jquery-1.10.2.min.js #489 making Vazirmatn font local 2026-06-08 18:39:54 +03:30
jquery.mark.min.js #417 inline search 2023-12-13 18:10:02 +03:30
leaflet-providers.js #233 more tests with the map 2021-10-26 20:15:16 +03:30
leaflet.js #233 fixing css/js references for the map page 2021-10-30 18:45:40 +03:30
oms.min.js #489 making Vazirmatn font local 2026-06-08 18:39:54 +03:30
r2.js #112 GanjooRazor project added 2021-05-08 18:59:39 +04:30
site.js #112 GanjooRazor project added 2021-05-08 18:59:39 +04:30
spotify.js docs: #279 make spotify song selection more responsive 2022-02-10 15:52:47 +03:30
user-panel.js User panel: Phase 0 shared UI foundations 2026-08-05 12:58:00 +03:30
utils.js #112 GanjooRazor project added 2021-05-08 18:59:39 +04:30
vaabd.js improving vaabd menu 2024-12-23 09:37:37 +03:30