From 7c90ca4040f1b5a414395f0c9d55e389e695c5b7 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Fri, 20 Sep 2024 22:15:59 +0530 Subject: [PATCH] feat: category in settings --- frontend/src/components/Categories.vue | 102 + frontend/src/components/Modals/Settings.vue | 11 + frontend/src/pages/Batches.vue | 4 +- lms/fixtures/custom_field.json | 6494 +++++++++++++------ lms/fixtures/lms_category.json | 51 + lms/hooks.py | 2 +- 6 files changed, 4647 insertions(+), 2017 deletions(-) create mode 100644 frontend/src/components/Categories.vue create mode 100644 lms/fixtures/lms_category.json diff --git a/frontend/src/components/Categories.vue b/frontend/src/components/Categories.vue new file mode 100644 index 00000000..6349108c --- /dev/null +++ b/frontend/src/components/Categories.vue @@ -0,0 +1,102 @@ + + diff --git a/frontend/src/components/Modals/Settings.vue b/frontend/src/components/Modals/Settings.vue index 4abe89a8..a0f80c5d 100644 --- a/frontend/src/components/Modals/Settings.vue +++ b/frontend/src/components/Modals/Settings.vue @@ -38,6 +38,11 @@ :description="activeTab.description" v-model:show="show" /> + { description: 'Manage the members of your learning system', icon: 'UserRoundPlus', }, + { + label: 'Categories', + description: 'Manage the members of your learning system', + icon: 'Network', + }, { label: 'Payment Gateway', icon: 'DollarSign', diff --git a/frontend/src/pages/Batches.vue b/frontend/src/pages/Batches.vue index 77e73c5d..26d3892f 100644 --- a/frontend/src/pages/Batches.vue +++ b/frontend/src/pages/Batches.vue @@ -8,12 +8,12 @@ :items="[{ label: __('Batches'), route: { name: 'Batches' } }]" />
-
+