commit 11b1cca1623f0f9e59f442fd0b3737c3aa3be280
parent 5e1ab6d648e269f08f733960db15e17cf183e4d1
Author: MoiBaguette <[email protected]>
Date: Sun, 25 Jun 2023 17:11:19 +0200
css
Diffstat:
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/index.php b/index.php
@@ -18,7 +18,12 @@ session_start();
echo $tmp;
}
}*/
-
+$router->addRoute(["GET"], "/views/css/add_user.css", "views/css/add_user.css");
+$router->addRoute(["GET"], "/views/css/course.css", "views/css/course.css");
+$router->addRoute(["GET"], "/views/css/exam.css", "views/css/exam.css");
+$router->addRoute(["GET"], "/views/css/form_template.css", "views/css/form_template.css");
+$router->addRoute(["GET"], "/views/css/login.css", "views/css/login.css");
+$router->addRoute(["GET"], "/views/css/theme.css", "views/css/theme.css");
$router->addRoute(["GET"], "/", $index_get);
diff --git a/routing/index.php b/routing/index.php
@@ -27,7 +27,7 @@ $dashboard = function(&$vars){
$templates = new Controller\Templates($db, $db->get(\Model\Course::class));
$vars["header"] = $templates->header();
$course = $db->get(Model\Course::class);
- var_dump($_SESSION);
+
$vars['links'] = $templates->links();
$enrolled = [];