From d5b1df32b6e435a6716ecb9230d4f425db32d08f Mon Sep 17 00:00:00 2001 From: Wawilski Date: Tue, 12 Mar 2024 11:10:14 +0100 Subject: [PATCH] course management --- frontend/src/App.vue | 17 ++++--- frontend/src/Apps/ManageCourses.vue | 78 +++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+), 6 deletions(-) create mode 100644 frontend/src/Apps/ManageCourses.vue diff --git a/frontend/src/App.vue b/frontend/src/App.vue index ef68173..114cacc 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -8,11 +8,13 @@ import LoginPage from './Apps/Login.vue' import Inscription from "./Apps/Inscription.vue" import Profil from "./Apps/Profil.vue" + import Courses from "./Apps/ManageCourses.vue" const apps = { '/login': LoginPage, '/inscription': Inscription, - '/profil': Profil + '/profil': Profil, + '/manage-courses' : Courses, } const currentPath = ref(window.location.hash) @@ -97,8 +99,12 @@
{{i18n("app.forum")}}
  • -
    -
    {{i18n("app.inscription.requests")}}
  • +
    +
    {{i18n("app.inscription.requests")}}
    + +
  • +
    +
    Manage courses
  • @@ -246,7 +252,6 @@ } .text { - position: absolute; right: 0%; width: 0%; opacity: 0; @@ -258,9 +263,9 @@ ul.vertical:hover .text { opacity: 1; - width: 70%; + width: 60%; transition-duration: .3s; - padding-left: 5px; + padding-left: 15px; } diff --git a/frontend/src/Apps/ManageCourses.vue b/frontend/src/Apps/ManageCourses.vue new file mode 100644 index 0000000..d006f32 --- /dev/null +++ b/frontend/src/Apps/ManageCourses.vue @@ -0,0 +1,78 @@ + + + +