diff --git a/src/routes/admin/catering-services.tsx b/src/routes/admin/catering-services.tsx index 5cdef0b..a8872da 100644 --- a/src/routes/admin/catering-services.tsx +++ b/src/routes/admin/catering-services.tsx @@ -36,89 +36,90 @@ export default function CateringServicesPage() { return ( -
-
-

Catering Services Management

-

Manage all catering services accounts on the platform.

+
+
+

Catering Services Management

+

Manage all catering services accounts on the platform.

+
+
+
+
+ setSearch(e.currentTarget.value)} + style="border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;font-size:14px;width:260px;" + /> + +
+ +
+ + + + + + + + + + + + + + + + + + + + + 0}> + + {(item) => ( + + + + + + + + )} + + + +
NameEmailStatusRegisteredActions
Loading...
Failed to load. Is the backend running?
No catering services users found.
{item.name || item.full_name || '—'}{item.email} + {item.status?.toUpperCase() === 'ACTIVE' && ( + ACTIVE + )} + {item.status?.toUpperCase() === 'INACTIVE' && ( + INACTIVE + )} + {item.status?.toUpperCase() === 'PENDING' && ( + PENDING + )} + {!item.status && } + + {item.created_at ? new Date(item.created_at).toLocaleDateString() : '—'} + +
+ View +
+
+
+
- -
-
- setSearch(e.currentTarget.value)} - style="border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;font-size:14px;width:260px;" - /> - -
- -
- - - - - - - - - - - - - - - - - - - - - 0}> - - {(item) => ( - - - - - - - - )} - - - -
NameEmailStatusRegisteredActions
Loading...
Failed to load. Is the backend running?
No catering services users found.
{item.name || item.full_name || '—'}{item.email} - {item.status?.toUpperCase() === 'ACTIVE' && ( - ACTIVE - )} - {item.status?.toUpperCase() === 'INACTIVE' && ( - INACTIVE - )} - {item.status?.toUpperCase() === 'PENDING' && ( - PENDING - )} - {!item.status && } - - {item.created_at ? new Date(item.created_at).toLocaleDateString() : '—'} - -
- View -
-
-
-
); } diff --git a/src/routes/admin/fitness-trainers.tsx b/src/routes/admin/fitness-trainers.tsx index ac4e77d..8dad26c 100644 --- a/src/routes/admin/fitness-trainers.tsx +++ b/src/routes/admin/fitness-trainers.tsx @@ -36,89 +36,90 @@ export default function FitnessTrainersPage() { return ( -
-
-

Fitness Trainer Management

-

Manage all fitness trainer accounts on the platform.

+
+
+

Fitness Trainer Management

+

Manage all fitness trainer accounts on the platform.

+
+
+
+
+ setSearch(e.currentTarget.value)} + style="border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;font-size:14px;width:260px;" + /> + +
+ +
+ + + + + + + + + + + + + + + + + + + + + 0}> + + {(item) => ( + + + + + + + + )} + + + +
NameEmailStatusRegisteredActions
Loading...
Failed to load. Is the backend running?
No fitness trainer users found.
{item.name || item.full_name || '—'}{item.email} + {item.status?.toUpperCase() === 'ACTIVE' && ( + ACTIVE + )} + {item.status?.toUpperCase() === 'INACTIVE' && ( + INACTIVE + )} + {item.status?.toUpperCase() === 'PENDING' && ( + PENDING + )} + {!item.status && } + + {item.created_at ? new Date(item.created_at).toLocaleDateString() : '—'} + +
+ View +
+
+
+
- -
-
- setSearch(e.currentTarget.value)} - style="border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;font-size:14px;width:260px;" - /> - -
- -
- - - - - - - - - - - - - - - - - - - - - 0}> - - {(item) => ( - - - - - - - - )} - - - -
NameEmailStatusRegisteredActions
Loading...
Failed to load. Is the backend running?
No fitness trainer users found.
{item.name || item.full_name || '—'}{item.email} - {item.status?.toUpperCase() === 'ACTIVE' && ( - ACTIVE - )} - {item.status?.toUpperCase() === 'INACTIVE' && ( - INACTIVE - )} - {item.status?.toUpperCase() === 'PENDING' && ( - PENDING - )} - {!item.status && } - - {item.created_at ? new Date(item.created_at).toLocaleDateString() : '—'} - -
- View -
-
-
-
); } diff --git a/src/routes/admin/graphic-designers.tsx b/src/routes/admin/graphic-designers.tsx index d163f8c..9fc118a 100644 --- a/src/routes/admin/graphic-designers.tsx +++ b/src/routes/admin/graphic-designers.tsx @@ -36,89 +36,90 @@ export default function GraphicDesignersPage() { return ( -
-
-

Graphic Designer Management

-

Manage all graphic designer accounts on the platform.

+
+
+

Graphic Designer Management

+

Manage all graphic designer accounts on the platform.

+
+
+
+
+ setSearch(e.currentTarget.value)} + style="border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;font-size:14px;width:260px;" + /> + +
+ +
+ + + + + + + + + + + + + + + + + + + + + 0}> + + {(item) => ( + + + + + + + + )} + + + +
NameEmailStatusRegisteredActions
Loading...
Failed to load. Is the backend running?
No graphic designer users found.
{item.name || item.full_name || '—'}{item.email} + {item.status?.toUpperCase() === 'ACTIVE' && ( + ACTIVE + )} + {item.status?.toUpperCase() === 'INACTIVE' && ( + INACTIVE + )} + {item.status?.toUpperCase() === 'PENDING' && ( + PENDING + )} + {!item.status && } + + {item.created_at ? new Date(item.created_at).toLocaleDateString() : '—'} + +
+ View +
+
+
+
- -
-
- setSearch(e.currentTarget.value)} - style="border:1px solid #cbd5e1;border-radius:6px;padding:8px 12px;font-size:14px;width:260px;" - /> - -
- -
- - - - - - - - - - - - - - - - - - - - - 0}> - - {(item) => ( - - - - - - - - )} - - - -
NameEmailStatusRegisteredActions
Loading...
Failed to load. Is the backend running?
No graphic designer users found.
{item.name || item.full_name || '—'}{item.email} - {item.status?.toUpperCase() === 'ACTIVE' && ( - ACTIVE - )} - {item.status?.toUpperCase() === 'INACTIVE' && ( - INACTIVE - )} - {item.status?.toUpperCase() === 'PENDING' && ( - PENDING - )} - {!item.status && } - - {item.created_at ? new Date(item.created_at).toLocaleDateString() : '—'} - -
- View -
-
-
-
); } diff --git a/src/routes/admin/kb.tsx b/src/routes/admin/kb.tsx index fc5aa8c..0f7f5aa 100644 --- a/src/routes/admin/kb.tsx +++ b/src/routes/admin/kb.tsx @@ -215,334 +215,338 @@ export default function KbPage(props: KbPageProps = {}) { return ( -
-
-

Knowledge Base

-

Manage help articles and categories

+
+
+

Knowledge Base

+

Manage help articles and categories

-
- {/* Tabs */} -
- - - -
- - {/* Categories Tab */} - -
-
- + +
- -
{actionError()}
-
+
- -
-

New Category

- -
{catError()}
+ {/* Categories Tab */} + +
+
+ +
+ + +
{actionError()}
-
-
- - setCatName(e.currentTarget.value)} - required - placeholder="e.g. Getting Started" - style="width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px" - /> -
-
- - setCatSlug(e.currentTarget.value)} - required - placeholder="e.g. getting-started" - style="width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px" - /> -
-
- -