-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (75 loc) · 3.94 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Каратор - надійний помічник куратора</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="header">
<span><img src="images/logo.png" class="logo" alt="logo"></span>
<span>
<h1>КАРАТОР</h1>
<h4>Надійний помічник куратора</h4>
</span>
</div>
<div id="main">
<div id="class-block">
<h1>Цей клас <span id="class-name-span"></span></h1>
<form id="class-list-management" class="dark">
<input type="text" id="studentInput" name="studentInput" placeholder="Введіть прізвище учня">
<button id="addStudent" class="btn">Додати учня</button>
</form>
<form id="mark-generation-form" class="light">
<input type="number" class="num-input" id="minMark" name="minMark" placeholder="Мін." value="1" min="0" max="12" title="Мінімальна оцінка">
<input type="number" class="num-input" id="maxMark" name="maxMark" placeholder="Макс." value="12" min="0" max="12" title="Максимальна оцінка">
<button id="generateMarks" class="btn">Згенерувати оцінки для всього класу</button>
</form>
<div id="students-list">
<h2>Список класу</h2>
<!--<div id="gradient"></div>
<div height="40px" width="800px" id="gradient2">
<span bg="rgb(114, 0, 0)" height="40px" width="40px"></span>
<span background="rgb(151, 0, 0)" height="40px" width="40px"></span>
<span background="rgb(177, 27, 0)" height="40px" width="40px"></span>
<span background=" rgb(184, 73, 0)" height="40px" width="40px"></span>
<span background="rgb(189, 92, 0)" height="40px" width="40px"></span>
<span background="rgb(187, 112, 0)" height="40px" width="40px"></span>
<span background="rgb(187, 137, 0)" height="40px" width="40px"></span>
<span background="rgb(187, 153, 0)" height="40px" width="40px"></span>
<span background="rgb(187, 184, 0)" height="40px" width="40px"></span>
<span background="rgb(148, 182, 0)" height="40px" width="40px"></span>
<span background="rgb(106, 182, 0)" height="40px" width="40px"></span>
<span background="rgb(48, 170, 0)" height="40px" width="40px"></span>
<span background="rgb(0, 150, 72)" height="40px" width="40px"></span>
</div>
-->
<button class="btn" onclick="sortAlphabet()">Сортувати учнів у алфавітному порядку</button>
<table class="studentsTable">
<thead>
<tr>
<td>№</td>
<td>Прізвище учня</td>
<td>Оцінка</td>
</tr>
</thead>
<tbody id="studentsTable">
</tbody>
</table>
</div>
</div>
<div id="classes-menu">
<h1>Ваші класи</h1>
<form class="dark">
<input type="text" id="classInput" name="classInput" placeholder="Введіть назву класу">
<button id="addClass" class="btn">Додати клас</button>
</form>
<ul id="classesList">
</ul>
</div>
</div>
<button class="btn" id="clearData" onclick="localStorage.removeItem('karatorData')">Очистити дані</button>
<script src="script.js"></script>
</body>
</html>