diff options
author | Minteck <contact@minteck.org> | 2023-01-25 21:29:28 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-01-25 21:29:28 +0100 |
commit | ce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8 (patch) | |
tree | 4f8d8aa12fea4fc5d76c0e116a2c4caca02f779e /timetable | |
parent | 0fb31ef23c57749eec78cb3eb38d825e2ca037b5 (diff) | |
download | nots-ce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8.tar.gz nots-ce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8.tar.bz2 nots-ce1ed675a34f5e3d1d317e6d8a1bd33de55b72d8.zip |
Diffstat (limited to 'timetable')
-rwxr-xr-x | timetable/index.php | 16 |
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()): ?> |