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 @@ - - + + + + + + {{ __('Save') }} + + + + + + {{ __('Job Details') }} + + + + + + + + + + + + + + {{ __('Description') }} + + (job.description = val)" + :editable="true" + :fixedMenu="true" + editorClass="prose-sm max-w-none border-b border-x bg-gray-100 rounded-b-md py-1 px-2 min-h-[7rem] mb-4" + /> + + + + + {{ __('Company Details') }} + + + + + + + + + + {{ __('Company Logo') }} + + saveImage(file)" + > + + + + {{ + uploading ? `Uploading ${progress}%` : 'Upload an image' + }} + + + + + + + + + + + + {{ job.image.file_name }} + + + {{ getFileSize(job.image.file_size) }} + + + + + + + + + + + + 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 @@ ]" />