From a32d26666acf7ee7254f179828a0e295d004e218 Mon Sep 17 00:00:00 2001 From: tgloeggl Date: Wed, 30 Aug 2023 17:00:31 +0200 Subject: [PATCH] fix courseware inclusion --- OpenCast.class.php | 2 +- .../components/CoursewareVideoTable.vue | 55 ++++++++++++++++--- courseware/vueapp/components/LtiAuth.vue | 10 ++-- courseware/vueapp/components/VideoCard.vue | 37 +++---------- .../courseware-plugin-opencast-video.vue | 7 +-- lib/Routes/Config/SimpleConfigList.php | 5 +- 6 files changed, 63 insertions(+), 53 deletions(-) diff --git a/OpenCast.class.php b/OpenCast.class.php index 821befab7..41605be27 100644 --- a/OpenCast.class.php +++ b/OpenCast.class.php @@ -61,6 +61,7 @@ public function __construct() } $this->addStylesheet("assets/css/courseware.scss"); + $this->addStylesheet("assets/css/opencast.scss"); VersionHelper::get()->registerCoursewareBlock($this); } @@ -265,7 +266,6 @@ public function perform($unconsumed_path) $app->group('/opencast/api', new RouteMap($app)); $app->run(); } else { - $this->addStylesheet("assets/css/opencast.scss"); $css = VersionHelper::get()->getVersionSpecificStylesheet(); if ($css) { diff --git a/courseware/vueapp/components/CoursewareVideoTable.vue b/courseware/vueapp/components/CoursewareVideoTable.vue index 6d715472f..f12382c2e 100644 --- a/courseware/vueapp/components/CoursewareVideoTable.vue +++ b/courseware/vueapp/components/CoursewareVideoTable.vue @@ -16,15 +16,18 @@
-