Commit Graph

9 Commits

Author SHA1 Message Date
NotII
2800f03335 Add VendorsCard to admin dashboard
Introduces a new VendorsCard component for managing vendor accounts in the admin dashboard. The card displays vendor details, allows password reset token generation, and handles loading and error states.
2025-10-16 00:29:32 +01:00
NotII
66c95fdffe Update RecentOrdersCard.tsx 2025-10-15 18:11:00 +01:00
NotII
36a8bd2bc0 Update RecentOrdersCard.tsx 2025-10-15 18:09:43 +01:00
NotII
2808ce6919 Add delete action to invitations and UI improvements
Introduces a delete button for unused invitations in InvitationsListCard, allowing admins to remove invites. Also improves layout and spacing in the invitations card, formats order totals with currency in RecentOrdersCard, and hides several unused cards in the admin page as requested.
2025-10-15 17:53:01 +01:00
NotII
e7c06e4352 Add system status and invitations cards to admin page
Introduces SystemStatusCard and InvitationsListCard components to the admin dashboard for displaying system metrics and active invitations. Refactors InviteVendorCard to generate and display invitation codes, and updates card layouts for consistent sizing. Improves admin page structure and enhances visibility of system and invitation data.
2025-10-15 17:40:54 +01:00
NotII
4fb6d3f740 Add admin dashboard and middleware protection
Introduces an admin dashboard page with cards for inviting vendors, banning users, and viewing recent orders. Adds middleware logic to restrict /admin routes to the 'admin1' user and updates route matching. Also updates git-info.json with latest commit metadata.
2025-10-15 17:17:43 +01:00
NotII
edc220bc5d weee 2025-03-23 23:38:45 +00:00
NotII
57e196cc6a testing 2025-03-19 14:06:58 +01:00
NotII
6bdcb15552 HMM 2025-03-19 01:46:09 +01:00