From cc07dd849c10e815dcaefe31004ce474c2502609 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Mon, 18 Mar 2024 16:55:36 +0530 Subject: [PATCH] feat: job creation --- frontend/src/pages/BatchCreation.vue | 3 +- frontend/src/pages/JobCreation.vue | 312 ++++++++++++++++++++++++++- frontend/src/pages/JobDetail.vue | 22 +- frontend/src/pages/Jobs.vue | 10 +- frontend/src/pages/Lesson.vue | 2 +- frontend/src/router.js | 2 +- frontend/src/utils/index.js | 8 +- lms/lms/api.py | 1 + 8 files changed, 345 insertions(+), 15 deletions(-) diff --git a/frontend/src/pages/BatchCreation.vue b/frontend/src/pages/BatchCreation.vue index 9885e5d3..75c367ad 100644 --- a/frontend/src/pages/BatchCreation.vue +++ b/frontend/src/pages/BatchCreation.vue @@ -199,9 +199,8 @@ import { } from 'frappe-ui' import Link from '@/components/Controls/Link.vue' import { useRouter } from 'vue-router' -import { getFileSize } from '../utils' +import { getFileSize, showToast } from '../utils' import { X, FileText } from 'lucide-vue-next' -import { showToast } from '../utils' const router = useRouter() const user = inject('$user') diff --git a/frontend/src/pages/JobCreation.vue b/frontend/src/pages/JobCreation.vue index bf48e9b4..1ce01d1e 100644 --- a/frontend/src/pages/JobCreation.vue +++ b/frontend/src/pages/JobCreation.vue @@ -1,2 +1,310 @@ - - + + diff --git a/frontend/src/pages/JobDetail.vue b/frontend/src/pages/JobDetail.vue index b88c30df..7d7806ef 100644 --- a/frontend/src/pages/JobDetail.vue +++ b/frontend/src/pages/JobDetail.vue @@ -17,12 +17,20 @@ ]" />
- + + +