-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.pug
60 lines (56 loc) · 1.81 KB
/
index.pug
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
mixin para(para, day)
.para.top-border
.paraLine
.paraType(id=`type-day${day}-para${para}`)
.paraName(id=`name-day${day}-para${para}`)
.paraLine
.paraTime(id=`time-day${day}-para${para}`)
.teacherClassroomWrapper
.paraTeacher(id=`teacher-day${day}-para${para}`)
.paraClassroom(id=`classroom-day${day}-para${para}`)
mixin day(num)
.day
case num
when 1
.dayHeader Понедельник
when 2
.dayHeader Вторник
when 3
.dayHeader Среда
when 4
.dayHeader Четверг
when 5
.dayHeader Пятница
when 6
.dayHeader Суббота
default
.dayHeader День
+para(1, num)
+para(2, num)
+para(3, num)
+para(4, num)
+para(5, num)
doctype html
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
link(rel="icon", href="/img/icon.png")
link(rel="stylesheet", href="./styles.scss")
link(rel="stylesheet", href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap")
script(src="./main.js")
title Schedule
body
header
.width-wrapper
h1 Расписание
.width-wrapper
.week
+day(1)
+day(2)
+day(3)
+day(4)
+day(5)
+day(6)
.weekStatus(id="week-status") Неделя
.change-week(id="change-week-button") Сменить