forked from KDani-99/school_timetable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
184 lines (178 loc) · 9 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
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/timetable.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="jquery.min.js" charset="utf-8"></script>
</head>
<body>
<div class="setBGOverlay">
<!-- <div class="error"></div>
<div class="info"><div><img src="info.svg"> If you set the color, the images will not be shown until you leave it empty or with image</div></div> -->
<div class="innerBox">
<i id="exitOverlay" class="icon-multiply"></i>
<h1>Change background</h1>
<div class="chooseBG">
<input type="file" id="bgFile" accept="image/*">
<h1>Select background image</h1>
</div>
<div class="bgChanger">
<input type="text" maxlength="4" id="bgSec">
<h1>Select transition time</h1>
</div>
<div class="helpText">
<h1>
<span>-</span> If you have multiple backgrounds, you can set a background change timer. Leave it <span>empty</span> or <span>0</span> if you want a static background. <br>
<span>-</span> You can set color as background too, just simply delete the text below and write in what you want.
</h1>
</div>
<input type="text" class="staticColor" placeholder="">
<input type="button" value="Save" class="addBG">
</div>
</div>
<div class="addLessonOverlay">
<div class="innerBox">
<i id="exitOverlay" class="icon-multiply"></i>
<h1>Add new lesson</h1>
<div class="startTime">
<p>Start time</p>
<select type="text" placeholder="H" id="start_time_h">
<option disabled selected value="0">H</option>
</select>
<select type="text" placeholder="H" id="start_time_mm">
<option disabled selected value="00">MM</option>
</select>
</div>
<div class="finishTime">
<p>Finish time</p>
<select type="text" placeholder="H" id="finish_time_h">
<option disabled selected value="0">H</option>
</select>
<select type="text" placeholder="H" id="finish_time_mm">
<option disabled selected value="00">MM</option>
</select>
</div>
<input type="text" placeholder="Lesson name" id="lesson_name">
<input type="text" placeholder="Teacher name" id="teacher_name">
<input type="text" placeholder="Class room" id="class_room">
<input type="text" placeholder="Week" id="week">
<select name="day" type="text" placeholder="Day" id="day">
<option disabled selected>Day</option>
<option value="Monday">Monday</option>
<option value="Tuesday">Tuesday</option>
<option value="Wednesday">Wednesday</option>
<option value="Thursday">Thursday</option>
<option value="Friday">Friday</option>
<option value="Saturday">Saturday</option>
<option value="Sunday">Sunday</option>
</select>
<input type="text" placeholder="Background color" id="bgColor">
<input type="button" value="Add new lesson" class="addNewLesson">
</div>
</div>
<div class="editLessonOverlay">
<div class="innerBox">
<i id="exitOverlay" class="icon-multiply"></i>
<h1>Edit lesson</h1>
<div class="startTime">
<p>Start time</p>
<select type="text" placeholder="H" id="start_time_h">
</select>
<select type="text" placeholder="H" id="start_time_mm">
</select>
</div>
<div class="finishTime">
<p>Finish time</p>
<select type="text" placeholder="H" id="finish_time_h">
</select>
<select type="text" placeholder="H" id="finish_time_mm">
</select>
</div>
<input type="text" placeholder="Lesson name" id="lesson_name">
<input type="text" placeholder="Teacher name" id="teacher_name">
<input type="text" placeholder="Class room" id="class_room">
<input type="text" placeholder="Week" id="week">
<input type="text" placeholder="Background color" id="bgColor">
<input type="button" value="Edit lesson" class="editLesson">
</div>
</div>
<div class="importexportOverlay">
<div class="innerBox">
<i id="exitOverlay" class="icon-multiply"></i>
<h1>Export / Import timetable</h1>
<div class="exportTimetableBTN">
<h1>Select export <br>directory</h1>
</div>
<div class="importTimetableBTN">
<h1>Select importable <br>timetable</h1>
</div>
<div class="error"></div>
</div>
</div>
<div class="topbar">
<ul>
<li class="selectedWeek">Week A</li>
<li class="changeWeekBTN"><i class="icon-repeat"></i></li>
<li class="bgBTN"><i class="icon-picture"></i></li>
<li class="addBTN"><i class="icon-add"></i></li>
<li class="editBTN"><i class="icon-edit"></i></li>
<li class="deleteBTN"><i class="icon-garbage"></i></li>
<li class="importexportBTN"><i class="icon-importexport"></i></li>
</ul>
<div class="minimizeBTN"><i class="icon-minimize"></i></div>
<div class="exitBTN"><i class="icon-multiply"></i></div>
<ul id="weeks">
<li>ASD</li>
</ul>
</div>
<div class="daysBar">
<ul>
<li id="day1">Monday</li>
<li id="day2">Tuesday</li>
<li id="day3">Wednesday</li>
<li id="day4">Thursday</li>
<li id="day5">Friday</li>
<li id="day6">Saturday</li>
<li id="day0">Sunday</li>
</ul>
</div>
<div class="bg"></div>
<div class="container">
<div class="innerContainer">
<!-- <div class="week">
<div class="day">
<div class="lesson">
<i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i>
<i id="Sunday-' + k + '" class="material-icons editItem">create</i>
<div class="sideColor"></div>
<p id="time">7:40-8:25</p>
<p id="className">Work organization knowledge</p>
<p id="teacherName">Officer Rhoades</p>
<p id="classRoom">201</p>
</div>
</div>
<div class="day">
<div class="lesson"><i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i><i id="Sunday-' + k + '" class="material-icons editItem">create</i><div class="sideColor"></div><p id="time">7:40-8:25</p><p id="className">Programming</p><p id="teacherName">Officer Rhoades</p><p id="classRoom">201</p></div>
<div class="lesson"><i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i><i id="Sunday-' + k + '" class="material-icons editItem">create</i><div class="sideColor"></div><p id="time">7:40-8:25</p><p id="className">Programming</p><p id="teacherName">Officer Rhoades</p><p id="classRoom">201</p></div>
<div class="lesson"><i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i><i id="Sunday-' + k + '" class="material-icons editItem">create</i><div class="sideColor"></div><p id="time">7:40-8:25</p><p id="className">Programming</p><p id="teacherName">Officer Rhoades</p><p id="classRoom">201</p></div>
<div class="lesson"><i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i><i id="Sunday-' + k + '" class="material-icons editItem">create</i><div class="sideColor"></div><p id="time">7:40-8:25</p><p id="className">Programming</p><p id="teacherName">Officer Rhoades</p><p id="classRoom">201</p></div>
<div class="lesson"><i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i><i id="Sunday-' + k + '" class="material-icons editItem">create</i><div class="sideColor"></div><p id="time">7:40-8:25</p><p id="className">Programming</p><p id="teacherName">Officer Rhoades</p><p id="classRoom">201</p></div>
<div class="lesson"><i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i><i id="Sunday-' + k + '" class="material-icons editItem">create</i><div class="sideColor"></div><p id="time">7:40-8:25</p><p id="className">Programming</p><p id="teacherName">Officer Rhoades</p><p id="classRoom">201</p></div>
<div class="lesson"><i id="Sunday-' + k + '" class="material-icons deleteItem">delete_forever</i><i id="Sunday-' + k + '" class="material-icons editItem">create</i><div class="sideColor"></div><p id="time">7:40-8:25</p><p id="className">Programming</p><p id="teacherName">Officer Rhoades</p><p id="classRoom">201</p></div>
</div>
<div class="day"></div>
<div class="day"></div>
<div class="day"></div>
<div class="day"></div>
<div class="day"></div>
</div> -->
</div>
</div>
<script>
require('./renderer.js');
</script>
</body>
</html>