From 35faf7a80ca0d06abd8a2266d3346edb601e8185 Mon Sep 17 00:00:00 2001 From: Joyelle Ndagijimana Date: Fri, 28 Mar 2025 23:13:38 +0100 Subject: [PATCH] feat: nieuwe v-form component --- frontend/src/i18n/locale/de.json | 3 +- frontend/src/i18n/locale/en.json | 3 +- frontend/src/i18n/locale/fr.json | 3 +- frontend/src/i18n/locale/nl.json | 3 +- .../views/assignments/CreateAssignment.vue | 182 ++++++------------ 5 files changed, 59 insertions(+), 135 deletions(-) diff --git a/frontend/src/i18n/locale/de.json b/frontend/src/i18n/locale/de.json index 7d17dfc5..c8ed94cf 100644 --- a/frontend/src/i18n/locale/de.json +++ b/frontend/src/i18n/locale/de.json @@ -46,6 +46,5 @@ "groups": "Gruppen", "learning-path": "Lernpfad", "choose-lp": "Einen lernpfad auswählen", - "filter-themes": "Filter nach Themen", - "search-lp": "Suche und Auswahl eines Lernpfads" + "choose-classes": "Klassen wählen" } diff --git a/frontend/src/i18n/locale/en.json b/frontend/src/i18n/locale/en.json index 75171d11..92ccb90b 100644 --- a/frontend/src/i18n/locale/en.json +++ b/frontend/src/i18n/locale/en.json @@ -46,6 +46,5 @@ "groups": "Groups", "learning-path": "Learning path", "choose-lp": "Select a learning path", - "filter-themes": "Filter by themes", - "search-lp": "Search and select a learning path" + "choose-classes": "Select classes" } diff --git a/frontend/src/i18n/locale/fr.json b/frontend/src/i18n/locale/fr.json index 0cfbed6f..1fb59349 100644 --- a/frontend/src/i18n/locale/fr.json +++ b/frontend/src/i18n/locale/fr.json @@ -46,6 +46,5 @@ "groups": "Groupes", "learning-path": "Parcours d'apprentissage", "choose-lp": "Choisis un parcours d'apprentissage", - "filter-themes": "Filtrer par thèmes", - "search-lp": "Cherche et sélectionne un parcours d'apprentissage" + "choose-classes": "Choisis des classes" } diff --git a/frontend/src/i18n/locale/nl.json b/frontend/src/i18n/locale/nl.json index 276481d3..1636300e 100644 --- a/frontend/src/i18n/locale/nl.json +++ b/frontend/src/i18n/locale/nl.json @@ -46,6 +46,5 @@ "groups": "Groepen", "learning-path": "Leerpad", "choose-lp": "Kies een leerpad", - "filter-themes": "Filter op thema's", - "search-lp": "Zoek en selecteer een leerpad" + "choose-classes": "Kies klassen" } diff --git a/frontend/src/views/assignments/CreateAssignment.vue b/frontend/src/views/assignments/CreateAssignment.vue index 0edd86ba..d417e2e8 100644 --- a/frontend/src/views/assignments/CreateAssignment.vue +++ b/frontend/src/views/assignments/CreateAssignment.vue @@ -1,22 +1,15 @@ @@ -210,11 +135,11 @@ flex-direction: column; align-items: center; justify-content: center; - width: 70%; + width: 55%; /*padding: 1%;*/ } -.stepper-container { +.form-container { width: 100%; display: flex; flex-direction: column; @@ -228,18 +153,21 @@ } /* Responsive adjustments */ -@media (max-width: 650px) { +@media (max-width: 1000px) { .form-card { - width: 95%; + width: 70%; padding: 1%; } - .v-stepper-header { - display: none; /* Hides step numbers on small screens */ - } - .step-container { min-height: 300px; /* Gives enough space */ } } + +/* Responsive adjustments */ +@media (max-width: 700px) { + .form-card { + width: 95%; + } +}