From b8c3bdc0b448d5fabcf9852903788c7f74c258db Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 31 Jul 2024 11:07:46 +0530 Subject: [PATCH] feat: open modal to edit question --- .gitignore | 3 +- frontend/src/components/Modals/Question.vue | 127 ++++++++++++++++---- frontend/src/pages/QuizCreation.vue | 113 +++++++++++------ 3 files changed, 184 insertions(+), 59 deletions(-) diff --git a/.gitignore b/.gitignore index 957c519f..95242ce7 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ __pycache__/ node_modules package-lock.json lms/public/frontend -lms/www/lms.html \ No newline at end of file +lms/www/lms.html +frappe-ui \ No newline at end of file diff --git a/frontend/src/components/Modals/Question.vue b/frontend/src/components/Modals/Question.vue index bdecfc4c..8fa262cd 100644 --- a/frontend/src/components/Modals/Question.vue +++ b/frontend/src/components/Modals/Question.vue @@ -1,30 +1,113 @@ \ No newline at end of file + diff --git a/frontend/src/pages/QuizCreation.vue b/frontend/src/pages/QuizCreation.vue index dd2b13a5..6a92150f 100644 --- a/frontend/src/pages/QuizCreation.vue +++ b/frontend/src/pages/QuizCreation.vue @@ -8,12 +8,15 @@
- {{ __("Details") }} + {{ __('Details') }}
- +
- +
- {{ __("Settings") }} + {{ __('Settings') }}
- - - + + +
@@ -45,28 +60,35 @@
- {{ __("Questions") }} + {{ __('Questions') }}
-
- + - +
{{ item }} @@ -77,15 +99,27 @@
- +