divan/GanjooRazor/wwwroot
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
..
css User panel: Phase 0 shared UI foundations 2026-08-05 12:58:00 +03:30
dist #480 using google Vazirmatn instead of local Vazir font 2025-05-18 18:19:08 +03:30
fonts #489 making Vazirmatn font local 2026-06-08 17:03:57 +03:30
image changing background 2025-06-12 10:20:17 +03:30
js User panel: Phase 0 shared UI foundations 2026-08-05 12:58:00 +03:30
json #233 adding a test map page 2021-10-26 19:12:59 +03:30
lib #186 some comparison capibility using jsDiff library 2021-07-25 20:28:31 +04:30
android-chrome-192x192.png docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
android-chrome-512x512.png docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
apple-touch-icon.png docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
browserconfig.xml docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
favicon-16x16.png docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
favicon-32x32.png docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
favicon.ico docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
mstile-150x150.png docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
robots.txt #161 building sitemap 2021-06-25 14:11:33 +04:30
safari-pinned-tab.svg docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
search.xml docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30
site.webmanifest docs: #336 a new favicon using مجید نجاتی (majid nejati) suggested logo 2022-06-27 20:27:22 +04:30