-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
154 lines (152 loc) · 8.15 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" charset="UTF-8">
<link rel="stylesheet" href="./src/style.css">
<title>disciplina</title>
<link rel="manifest" href="./manifest.webmanifest"/>
<link rel="icon" href="./favicon.ico" sizes="any"/>
<link rel="icon" href="./icon.svg" type="image/svg+xml"/>
<link rel="apple-touch-icon" href="./apple-touch-icon.png"/>
<script src="./src/main.js" defer></script>
</head>
<body>
<div id="container">
<div id="main">
<div id="header"></div>
<div id="progressLines"></div>
<div id="exampleDiv">Удалить демо данные</div>
<dialog id="dialogDayEditor">
<div id="dialogDayEditorGrid">
<svg class="closeDialog" id="closeDayEditor" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/cross45.svg" />
</svg>
<div id="headDay" class="dialogHeader"></div>
<div id="eventsDay"></div>
<div id="removeDay">
<a href="#">Удалить все события дня</a>
</div>
</div>
</dialog>
<dialog id="dialogLabelEditor">
<div id="dialogLabelEditorGrid">
<div id="nameLabel" class="dialogHeader">Изменить событие</div>
<svg class="closeDialog" id="closeLabelEditor" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/cross45.svg" />
</svg>
<label for="inputNewLabelName" id="inputNewLabelL">Название: </label>
<input type="text" name="inputNewLabelName" id="inputNewLabelName">
<label for="inputNewLabelColor" id="inputNewColorL">Цвет: </label>
<input type="color" id="inputNewLabelColor" name="inputNewLabelColor" value="#ff0000">
<div id="changeLabel" class="standardButton">Изменить</div>
</div>
</dialog>
<dialog id="dialogStat">
<div id="dialogStatGrid">
<div id="headStat" class="dialogHeader">Статистика</div>
<svg class="closeDialog" id="closeStat" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/cross45.svg" />
</svg>
<div id="inpFrom">
<label for="inputDateFrom">От:</label>
<br>
<input type="date" id="inputDateFrom">
</div>
<div id="inpTo">
<label for="inputDateTo">До:</label>
<br>
<input type="date" id="inputDateTo">
</div>
<div id="btnShowDateRange" class="standardButton">Показать</div>
<div id="divWithScroll">
<div id="legendStat"></div>
<div id="progressLinesStat"></div>
</div>
</div>
</dialog>
<dialog id="dialogEventAdder">
<div id="dialogEventAdderGrid">
<svg class="closeDialog" id="closeEventAdder" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/cross45.svg" />
</svg>
<div id="headEvent" class="dialogHeader">Добавьте событие</div>
<label id="inputDateL" for="inputDate">Дата: </label>
<label id="inputEventL" for="inputEvent">Событие: </label>
<label id="inputTimeL" for="inputTime">Длительность: </label>
<input type="date" id="inputDate">
<div id="inputEventNew">
<select name="inputEvent" id="inputEvent" size="1"></select>
<br>
или добавьте
<div id="openNewEventCreater" class="standardButton">Новое</div>
</div>
<input type="time" id="inputTime" name="inputTime" value="00:00">
<div id="addEvent" class="standardButton">Добавить</div>
<dialog id="dialogEventCreater">
<div id="dialogEventCreaterGrid">
<div id="headEventNew" class="dialogHeader">Новое событие</div>
<label for="inputNewEvent" id="inputNewEventL">Название: </label>
<input type="text" name="inputNewEvent" id="inputNewEvent">
<label for="inputColor" id="inputColorL">Цвет: </label>
<input type="color" id="inputColor" name="inputColor" value="#ff0000">
<div id="addNewEvent" class="standardButton">Добавить</div>
<svg class="closeDialog" id="closeEventCreater" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/cross45.svg" />
</svg>
</div>
</dialog>
</div>
<div id="errorMessage"></div>
</dialog>
<div id="toggler">
<div id="statWrapper" class="togglerLink">
<a id="stat" href="#">Статистика</a>
</div>
<div id="exportJsonWrapper" class="togglerLink">
<a id="exportJson" href='#'>Экспортировать в JSON файл</a>
</div>
<div id="importJsonWrapper" class="togglerLink">
<input type="file" name="importJson" id="importJson" accept=".json">
<label for="importJson">Импортировать с JSON файла</label>
</div>
<div id="clearLocStorage">
<a href='#'>Очистить localStorage</a>
</div>
<div id="authorContacts">
<span>e-mail: <a href='mailto: anton.source@gmail.com'>anton.source@gmail.com</a>
| tg: <a href='http://t.me/antsrc'>antsrc</a>
| github: <a href='https://github.com/antonsrc'>antonsrc</a></span>
</div>
<div id="authorName">
<div id="togglerContact"><span>2023 | Anton Moshnyakov</span></div>
<div id="closeTogglerWrapper">
<svg id="closeToggler" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/cross45.svg" />
</svg>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="footerAddEvent">
<svg id="openEventAdder" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/cross90.svg" />
</svg>
</div>
<div id="legend">
<div id="labels"></div>
<div id="foldLabels">
<svg class="legendButton" viewBox="0 0 28 28" width="100%" height="100%">
<image id="foldSVG" href="./data/dots.svg" />
</svg>
</div>
<div id="showToggler">
<svg class="legendButton" viewBox="0 0 28 28" width="100%" height="100%">
<image href="./data/menu.svg" />
</svg>
</div>
</div>
</div>
</div>
</body>
</html>