summaryrefslogtreecommitdiff
path: root/timetable
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-25 21:29:28 +0100
committerMinteck <contact@minteck.org>2023-01-25 21:29:28 +0100
commitce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8 (patch)
tree4f8d8aa12fea4fc5d76c0e116a2c4caca02f779e /timetable
parent0fb31ef23c57749eec78cb3eb38d825e2ca037b5 (diff)
downloadnots-ce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8.tar.gz
nots-ce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8.tar.bz2
nots-ce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8.zip
Updated 9 files and added 2 files (automated)HEADmane
Diffstat (limited to 'timetable')
-rwxr-xr-xtimetable/index.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/timetable/index.php b/timetable/index.php
index 869a26f..38e6b6e 100755
--- a/timetable/index.php
+++ b/timetable/index.php
@@ -1,6 +1,6 @@
<?php
-$title = "Emploi du temps";
+$title = "Cours";
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php";
@@ -12,7 +12,19 @@ $timetable = data_timetable()["data"]["timetable"];
<div class="container">
<br>
- <h2><?= $title ?></h2>
+ <h2>Cours</h2>
+
+ <div class="dropdown">
+ <button type="button" class="btn btn-primary dropdown-toggle" data-bs-toggle="dropdown">
+ Emploi du temps
+ </button>
+ <ul class="dropdown-menu">
+ <li><a class="dropdown-item disabled" href="#">Emploi du temps</a></li>
+ <li><a class="dropdown-item" href="/content">Contenus</a></li>
+ <li><a class="dropdown-item" href="/homework">Devoirs</a></li>
+ <li><a class="dropdown-item" href="/files">Fichiers</a></li>
+ </ul>
+ </div>
<table>
<?php $day = null; $lastEnd = null; $index = 0; foreach ($timetable as $lesson): $newDay = false; if ($lesson["to"] / 1000 > time()): ?>