From f5882bff9fd5c4d78b504533e0740931a8c3e79a Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 12 Feb 2025 03:20:54 +0100 Subject: [PATCH] admin panel --- .gitignore | 3 +- dashboard/components/CustomTab.vue | 10 +- dashboard/components/LyxUi/Separator.vue | 15 + dashboard/components/admin/MiniChart.vue | 271 +++++++++++++++++ dashboard/components/admin/Overview.vue | 109 +++++++ dashboard/components/admin/OverviewOld.vue | 104 +++++++ .../components/admin/overview/ProjectCard.vue | 94 ++++++ dashboard/components/dashboard/TopCards.vue | 2 +- .../composables/ui/useSelectMenuStyle.ts | 13 + dashboard/layouts/dashboard.vue | 8 +- dashboard/layouts/header.vue | 135 -------- dashboard/pages/admin/index.vue | 276 ++++++----------- dashboard/pages/admin/old.vue | 287 ++++++++++++++++++ dashboard/server/api/admin/projects.ts | 125 ++++---- dashboard/server/api/admin/users_projects.ts | 97 ++++++ dashboard/server/utils/getRequestData.ts | 5 + dashboard/tsconfig.json | 8 +- shared_global/data/PREMIUM.ts | 51 ++-- 18 files changed, 1207 insertions(+), 406 deletions(-) create mode 100644 dashboard/components/LyxUi/Separator.vue create mode 100644 dashboard/components/admin/MiniChart.vue create mode 100644 dashboard/components/admin/Overview.vue create mode 100644 dashboard/components/admin/OverviewOld.vue create mode 100644 dashboard/components/admin/overview/ProjectCard.vue create mode 100644 dashboard/composables/ui/useSelectMenuStyle.ts delete mode 100644 dashboard/layouts/header.vue create mode 100644 dashboard/pages/admin/old.vue create mode 100644 dashboard/server/api/admin/users_projects.ts diff --git a/.gitignore b/.gitignore index 134928c..af9ce43 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ dev docker-compose.admin.yml full_reload.sh tmp -ecosystem.config.js \ No newline at end of file +ecosystem.config.js +todo \ No newline at end of file diff --git a/dashboard/components/CustomTab.vue b/dashboard/components/CustomTab.vue index 986d86b..a6c6439 100644 --- a/dashboard/components/CustomTab.vue +++ b/dashboard/components/CustomTab.vue @@ -1,15 +1,15 @@