-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
84 lines (71 loc) · 4.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html class="h-100">
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>CSD Schedule</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='css/bootstrap.min.css'>
<link rel='stylesheet' type='text/css' media='screen' href='css/custom.css'>
<!-- SCRIPTS -->
<script src='ics/Blob.js'></script>
<script src="ics/FileSaver.js"></script>
<script src='ics/ics.js'></script>
<script src='js/jquery-3.6.1.min.js'></script>
<script defer src='js/main.js'></script>
<script defer src='js/calendar.js'></script>
<link rel="shortcut icon" href="./calendar.ico" type="image/x-icon">
</head>
<body class="d-flex flex-column h-100">
<main class="flex-shrink-0">
<h4 class="text-center mt-5">ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΡΗΤΗΣ - ΤΜΗΜΑ ΕΠΙΣΤΗΜΗΣ ΥΠΟΛΟΓΙΣΤΩΝ</h4>
<p class="text-center lead">ΩΡΟΛΟΓΙΟ ΠΡΟΓΡΑΜΜΑ - ΕΑΡΙΝΟ ΕΞΑΜΗΝΟ 2023</p>
<div class="d-flex justify-content-center c-gap">
<div class="p-2 btn-group" role="group" aria-label="Basic outlined example">
<!-- <button type="button" onclick="toggle_class();toggle_teacher();reload_table();" class="btn btn-outline-primary">Hide Class and Teacher</button> -->
<button type="button" class="btn active" id="show_class" data-bs-toggle="tooltip" data-bs-placement="top"
data-bs-title="Show/Hide class"><i
class="fas fa-book-open"></i></button>
<button type="button" class="btn active" id="show_teacher" data-bs-toggle="tooltip" data-bs-placement="top"
data-bs-title="Show/Hide teacher"><i
class="fas fa-chalkboard-teacher"></i></button>
<button type="button" class="btn active" id="pinned_view" data-bs-toggle="tooltip" data-bs-placement="top"
data-bs-title="Show/Hide Pinned"><i class="fa-solid fa-thumbtack"></i></button>
<button type="button" class="btn active" id="sort_classes" data-bs-toggle="tooltip" data-bs-placement="top"
data-bs-title="Sort Classes by time"><i
class="fas fa-arrow-down-wide-short"></i></button>
<button type="button" class="btn btn-outline-primary" id="reload_table" data-bs-toggle="tooltip" data-bs-placement="top"
data-bs-title="Reload table contents"><i class="fa fa-refresh"
aria-hidden="true"></i></button>
</div>
<div class="flex-center justify-content-center">
<button type="button" id="show_pin" class="btn btn-light">
Manage Classes</button>
</div>
<div class="flex-center justify-content-center">
<button type="button" class="btn btn-outline-primary" id="export_calendar" data-bs-toggle="tooltip" data-bs-placement="top"
data-bs-title="Download Calendar File. EXPERIMENTAL (recommended to clear cache)">
<i class="fa-solid fa-cloud-arrow-down"></i> Export Calendar (.ics)</button>
</div>
</div>
<div class="container-lg ">
<div class="table-responsive">
<table id="main_table" class="table">
</table>
</div>
</div>
</main>
<footer class="footer mt-auto py-3">
<div class="container">
<p class="text-center text-muted">Τελευταία ενημέρωση: <span id="csd_version"></span></p>
<div class="d-flex justify-content-center c-gap">
<a class="btn" href="https://github.com/giorgosioak/schedule_csd" target="_blank"><i class="fa-brands fa-github"></i> Contribute</a>
<a class="btn" href="https://github.com/giorgosioak/schedule_csd/issues" target="_blank"><i class="fa fa-bug"></i> Report a bug</a>
<button class="btn" onclick="clear_cache();" target="_blank"><i class="fa fa-trash"></i> Clear cache</button>
</div>
</div>
</footer>
</body>
</html>
<script src="js/bootstrap.bundle.min.js"></script>
<script src='js/fontawesome.min.js'></script>