This repository has been archived by the owner on Sep 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
188 lines (185 loc) · 8.03 KB
/
index.php
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Strona główna :: Szkolny.eu</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/css/material-components-web.min.css">
<link rel="stylesheet" href="/css/font/css/materialdesignicons.min.css">
<link rel="stylesheet" href="/css/style.css">
</head>
<body style="opacity:0" class="mdc-typography">
<aside class="mdc-drawer">
<div class="mdc-drawer__header">
<h3 class="mdc-drawer__title" id="username"></h3>
<h6 class="mdc-drawer__subtitle" id="useremail"></h6>
</div>
<div class="mdc-drawer__content">
<nav class="mdc-list">
<?php include 'views/menu.html'; ?>
</nav>
</div>
</aside>
<div class="mdc-drawer-app-content mdc-top-app-bar--fixed-adjust">
<main class="main-content" id="main-content">
<div id="app">
<!-- Home screen -->
<transition name="fade">
<div v-if="screen === 0">
<?php include 'views/home.html'; ?>
</div>
</transition>
<transition name="fade">
<!-- Timetable screen -->
<div v-if="screen === 1">
<?php include 'views/timetable.html'; ?>
</div>
</transition>
<transition name="fade">
<!-- Timetable screen -->
<div v-if="screen === 2">
<?php include 'views/schedule.html'; ?>
</div>
</transition>
<transition name="fade">
<!-- Grades screen -->
<div v-if="screen === 3">
<?php include 'views/grades.html'; ?>
</div>
</transition>
<transition name="fade">
<!-- Announcements screen -->
<div v-if="screen === 8">
<?php include 'views/announcements.html'; ?>
</div>
</transition>
<transition name="fade">
<!-- Settings screen -->
<div v-if="screen === 10">
<?php include 'views/settings.html'; ?>
</div>
</transition>
</div>
</main>
</div>
<div class="mdc-snackbar">
<div class="mdc-snackbar__surface">
<div class="mdc-snackbar__label" role="status" aria-live="polite">
Text
</div>
<div class="mdc-snackbar__actions">
<button type="button" class="mdc-button mdc-snackbar__action">Button</button>
</div>
</div>
</div>
<div class="mdc-dialog" role="alertdialog" aria-modal="true" aria-labelledby="my-dialog-title"
aria-describedby="my-dialog-content">
<div class="mdc-dialog__container">
<div class="mdc-dialog__surface">
<!-- Title cannot contain leading whitespace due to mdc-typography-baseline-top() -->
<h2 class="mdc-dialog__title" id="my-dialog-title"><!--
-->Dialog Title<!--
--></h2>
<div class="mdc-dialog__content" id="my-dialog-content">
Dialog body text goes here.
</div>
<footer class="mdc-dialog__actions">
<button type="button" class="mdc-button mdc-dialog__button" data-mdc-dialog-action="no">
<span class="mdc-button__label">No</span>
</button>
<button type="button" class="mdc-button mdc-dialog__button" data-mdc-dialog-action="yes">
<span class="mdc-button__label">Yes</span>
</button>
</footer>
</div>
</div>
<div class="mdc-dialog__scrim"></div>
</div>
<div class="mdc-dialog" id="eventDialog">
<div class="mdc-dialog__container">
<div class="mdc-dialog__surface"
role="alertdialog"
aria-modal="true"
aria-labelledby="my-dialog-title"
aria-describedby="my-dialog-content">
<div class="mdc-dialog__content" id="event-dialog-content">
<p class="mdc-typography--caption" style="margin-bottom:0">Nauczyciel</p>
<p class="gradeText" id="eventTeacher">Jan Kowalski</p>
<p class="mdc-typography--caption" style="margin-bottom:0">Dodano</p>
<p class="gradeText" id="eventAdded">16 maja przez Jan Kowalski</p>
<p class="mdc-typography--caption" style="margin-bottom:0">Temat</p>
<p style="margin:0;color:rgba(0,0,0,0.87);" id="eventTopic">Temat wydarzenia</p>
</div>
<div class="mdc-dialog__actions">
<button type="button" class="mdc-button mdc-dialog__button" data-mdc-dialog-action="close">
<div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Zamknij</span>
</button>
</div>
</div>
</div>
<div class="mdc-dialog__scrim"></div>
</div>
<div class="mdc-dialog" id="gradeDialog">
<div class="mdc-dialog__container">
<div class="mdc-dialog__surface"
role="alertdialog"
aria-modal="true"
aria-labelledby="my-dialog-title"
aria-describedby="my-dialog-content">
<div class="mdc-dialog__content" id="event-dialog-content">
<div class="gradeTop">
<div class="gradeField">4</div>
<div class="gradeInfo">
<p>semestr 2</p>
<p>Język angielski</p>
<p>waga 2</p>
</div>
</div>
<p class="mdc-typography--caption" style="margin-bottom:0">Nauczyciel</p>
<p class="gradeText" id="gradeTeacher">Jan Kowalski</p>
<p class="mdc-typography--caption" style="margin-bottom:0">Kategoria</p>
<p class="gradeText" id="gradeCategory">sprawdzian</p>
<p class="mdc-typography--caption" style="margin-bottom:0">Opis</p>
<p class="gradeText" id="gradeDesc">Temat wydarzenia</p>
<p class="mdc-typography--caption" style="margin-bottom:0">Wartość do średniej</p>
<p class="gradeText" id="gradeValue">4,00</p>
<p class="mdc-typography--caption" style="margin-bottom:0">Data dodania</p>
<p class="gradeText" id="gradeAdded">16 maja, 10:42</p>
</div>
<div class="mdc-dialog__actions">
<button type="button" class="mdc-button mdc-dialog__button" data-mdc-dialog-action="close">
<div class="mdc-button__ripple"></div>
<span class="mdc-button__label">Zamknij</span>
</button>
</div>
</div>
</div>
<div class="mdc-dialog__scrim"></div>
</div>
<script src="/js/libs/material-components-web.min.js"></script>
<script src="/js/libs/vue.js"></script>
<link href="/js/calendar/core/main.min.css" rel="stylesheet"/>
<link href="/js/calendar/daygrid/main.min.css" rel="stylesheet"/>
<link href="/js/calendar/timegrid/main.min.css" rel="stylesheet"/>
<link href="/js/calendar/list/main.min.css" rel="stylesheet"/>
<script src="/js/calendar/core/main.min.js"></script>
<script src="/js/calendar/interaction/main.min.js"></script>
<script src='/js/calendar/core/locales-all.min.js'></script>
<script src="/js/calendar/daygrid/main.min.js"></script>
<script src="/js/calendar/timegrid/main.min.js"></script>
<script src="/js/calendar/list/main.min.js"></script>
<script src="/js/libs/moment-with-locales.min.js"></script>
<script src="/js/libs/popper.min.js"></script>
<script src="/js/libs/tippy-bundle.umd.min.js"></script>
<script src="/account.js"></script>
<script src="/js/utils.js"></script>
<script src="/js/timetable.js"></script>
<script src="/js/events.js"></script>
<script src="/js/grades.js"></script>
<script src="/js/announcements.js"></script>
<script src="/js/index.js"></script>
</body>
</html>