This repository was archived by the owner on Jun 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (90 loc) · 3.14 KB
/
index.html
File metadata and controls
93 lines (90 loc) · 3.14 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Test Task (Register of visits)</title>
<link rel="stylesheet" href="common.css" />
<script src="people.js"></script>
<script src="subj.js"></script>
<script src="register.js"></script>
</head>
<body>
<div class="page-wrap">
<header>
<h1>Журнал посещаемости занятий студентами различных групп</h1>
<h2>Только просмотр</h2>
</header>
<section class="bodyer">
<div class="lists-wrap">
<div class="list">
<h3>Список групп</h3>
<ul id="group-list">
<li id="group-0">Группа 1</li>
<li id="group-1">Группа 2</li>
<li id="group-2">Группа 3</li>
<li id="group-3" class="active">Группа 4</span></li>
<li id="group-4">Группа 5</li>
</ul>
</div>
<div class="list">
<h3>Список предметов обучения</h3>
<ul id="subject-list">
<li id="subject-0">Предмет 1 (уч.ст. Лектор 1)</li>
<li id="subject-1">Предмет 2 (уч.ст. Лектор 2)</li>
<li id="subject-2" class="active">Предмет 3 (уч.ст. Лектор 1)</li>
<li id="subject-3">Предмет 4 (уч.ст. Лектор 3)</li>
</ul>
</div>
</div>
<div class="table-wrap">
<h3>Информация о посещаемости</h3>
<p>Посещаемость занятий по предмету обучения "<span class="active subject">ПРЕДМЕТ 3</span>" студентами группы "<span class="active group">ГРУППА 4</span>"</p>
<p>Преподаватель: <span class="active lecturer">ЛЕКТОР 1</span></p>
<table>
<thead>
<tr>
<td class="first">ФИО/Дата</td>
<td>1/2</td>
<td>1/3</td>
<td>1/4</td>
</tr>
</thead>
<tbody>
<tr>
<td class="first">2/1</td>
<td>2/2</td>
<td>2/3</td>
<td>2/4</td>
</tr>
<tr>
<td class="first">3/1</td>
<td>3/2</td>
<td>3/3</td>
<td>3/4</td>
</tr>
<tr>
<td class="first">4/1</td>
<td>4/2</td>
<td>4/3</td>
<td>4/4</td>
</tr>
</tbody>
</table>
</div>
</section>
<footer>
<!---->
<script>
document.addEventListener('DOMContentLoaded', () => {
let reg = new Register();
reg.showGroupList();
reg.showSubjectList();
reg.pick('group', 0, true);
reg.pick('subject', 0);
reg.setListeners();
});
</script>
</footer>
</div>
</body>
</html>