From 9590b3d6d1fb754bc41405cc8f8418b526eda5f9 Mon Sep 17 00:00:00 2001 From: emmanuel Date: Thu, 27 Jul 2023 16:08:04 +0000 Subject: [PATCH] CLASSROOMIO-T-11: Developed the certificate issuing and editor page deleted the certicate png files and some other unused png files Merge branch 'CLASSROOMIO-T-11' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-11 deleted the certicate png files CLASSROOMIO-T-11: More refactoring CLASSROOMIO-T-11: More spacing and font Merge branch 'CLASSROOMIO-T-11' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-11 CLASSROOMIO-T-11:Renamed the mockdata import,also deleted some comments and unused images CLASSROOMIO-T-11:Renamed the mockdata import,also deleted some comments and unused images CLASSROOMIO-T-11: Remove unnecessary comments CLASSROOMIO-T-11:Fixed the merge conflicts after careful review CLASROOMIO-T-11:Removed the upload component,made the certificate logo and name to be gotten from the organisation settings,and also used svg for the images CLASSROOMIO-T-11: Add settings to make certificate downloadable CLASSROOMIO-T-11: Temp disable design tab CLASSROOMIO-T-11: Add auto send key CLASSROOMIO-T-11: Refactoring CLASSROOMIO-T-11:Renamed the images of the certificate theme files CLASSROOMIO-T-11:Renamed the certificate theme files CLASSROOMIO-T-11:fixed a bug in the certificate issuing page that prevented the application from running CLASSROOMIO-T-11:fixed a bug in the certificate issuing page that prevented the application from running CLASSROOMIO-T-11:Updated the file name in the certificate issuin page CLASSROOMIO-T-11:Finished the certificate issuing page CLASSROOMIO-T-11:Finished the certificate issuing page CLASSROOMIO-T-47:Fixed the dark mode and then made it responsive CLASSROOMIO-T-47:Fixed the dark mode and then made it responsive CLASSROOMIO-T-47:fixed the dark mode and also made the it vertically aligned on mobile CLASSROOMIO-T-47: Update nav for lms only CLASSROOMIO-T-47: Reorder file CLASSROOMIO-T-47:fixed the prettier config and resaved CLASSROOMIO-T-47:Created the not found page Co-authored-by: Ifeanyi Nwosu Co-authored-by: Rotimi Best Co-authored-by: Rotimi Best Co-authored-by: emmanuel Merge-request: CLASSROOMIO-MR-21 Merged-by: Best Admin --- .../components/Ceritficate/Design.svelte | 131 ++++++++++++++++++ .../Ceritficate/IssueCertificateModal.svelte | 83 +++++++++++ .../components/Ceritficate/Reports.svelte | 99 +++++++++++++ .../Ceritficate/certificates/Plain.svelte | 58 ++++++++ .../certificates/Professional.svelte | 58 ++++++++ .../Course/components/Ceritficate/mockData.js | 85 ++++++++++++ .../Course/components/Ceritficate/store.js | 18 +++ .../Course/components/Navigation/index.svelte | 5 + src/components/Course/store.ts | 6 + src/components/PageBody/index.svelte | 2 +- src/routes/courses/[id]/certificates.svelte | 67 +++++++++ src/utils/types/index.ts | 2 + static/plain.svg | 28 ++++ static/professional.svg | 29 ++++ 14 files changed, 670 insertions(+), 1 deletion(-) create mode 100644 src/components/Course/components/Ceritficate/Design.svelte create mode 100644 src/components/Course/components/Ceritficate/IssueCertificateModal.svelte create mode 100644 src/components/Course/components/Ceritficate/Reports.svelte create mode 100644 src/components/Course/components/Ceritficate/certificates/Plain.svelte create mode 100644 src/components/Course/components/Ceritficate/certificates/Professional.svelte create mode 100644 src/components/Course/components/Ceritficate/mockData.js create mode 100644 src/components/Course/components/Ceritficate/store.js create mode 100644 src/routes/courses/[id]/certificates.svelte create mode 100644 static/plain.svg create mode 100644 static/professional.svg diff --git a/src/components/Course/components/Ceritficate/Design.svelte b/src/components/Course/components/Ceritficate/Design.svelte new file mode 100644 index 00000000..ae5b7723 --- /dev/null +++ b/src/components/Course/components/Ceritficate/Design.svelte @@ -0,0 +1,131 @@ + + + + + + + + +
+
+
+ Certificate settings +

Choose a theme

+ + {#each themes as theme} +
+ + themes +
+ {/each} +
+
+

Brand Logo

+
+

+ To update your brand image, go to Settings > Organisation settings and upload you brand logo +

+ goto(`org/${$currentOrg.siteName}/settings`)} + /> +
+ +

Course Description

+