-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
231 lines (212 loc) · 12.4 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>Календарь</title>
</head>
<body>
<div class="content">
<div class="top">
<div class="top__calendar-scale">
<button id="openSidebar" class="medium-button">
<img src="img/menu.svg" alt="Открыть панель" class="button-image">
</button>
<div id="scale" class="dropdown">
<div class="dropdown__current" title="Масштаб календаря">
<div class="dropdown__icon-text">
<img src="img/calendar.svg" alt="" class="dropdown__icon">
<span class="dropdown__text">3 дня</span>
</div>
<img src="img/open.svg" alt="" class="dropdown__toggle">
</div>
<div class="dropdown__options-wrapper">
<ul class="dropdown__options">
<li class="dropdown__option" scale="3d">3 дня</li>
<li class="dropdown__option" scale="7d">Неделя</li>
<li class="dropdown__option" scale="1m">Месяц</li>
<li class="dropdown__option" scale="3m">3 месяца</li>
<li class="dropdown__option" scale="1y">Год</li>
</ul>
</div>
</div>
</div>
<div class="period">
<div class="period__current">
<button id="returnToCurrentDate" class="small-button" title="Вернуться к текущей дате">
<img src="img/return.svg" alt="Current date" class="button-image">
</button>
<p class="period__text"></p>
</div>
<div class="period__change-period">
<button id="back" class="small-button">
<img src="img/back.svg" alt="Назад" class="button-image">
</button>
<button id="forward" class="small-button">
<img src="img/forward.svg" alt="Далее" class="button-image">
</button>
</div>
</div>
<button id="displayEventsInList" class="medium-button" title="Отобразить события в виде списка">
<img src="img/list.svg" alt="List view" class="button-image">
</button>
</div>
<div class="sidebar">
<button id="closeSidebar" class="medium-button">
<img src="img/menu.svg" alt="Открыть панель" class="button-image">
</button>
<div class="side-calendar">
<div class="side-calendar__month">
<div class="side-calendar__change-period">
<button id="sideCalendarBack" class="small-button">
<img src="img/back.svg" alt="Back" class="button-image">
</button>
<p class="side-calendar__text"></p>
<button id="sideCalendarForward" class="small-button">
<img src="img/forward.svg" alt="Forward" class="button-image">
</button>
</div>
</div>
<div class="side-calendar__dates">
</div>
</div>
<div class="sidebar__add">
<button id="addEvent" class="text-button">
<img src="img/add.svg" alt="" class="text-button__image">
<p class="text-button__text">Добавить событие</p>
</button>
<button id="addTask" class="text-button">
<img src="img/task.svg" alt="" class="text-button__image">
<div class="text-button__add-task-text">
<p class="text-button__text">Добавить задачу</p>
</div>
</button>
</div>
<div class="sidebar__checkbox-group">
<input type="checkbox" id="importantEvents" class="sidebar__checkbox" eventtype="red-events" checked>
<label for="importantEvents" class="sidebar__checkbox-label"><span class="sidebar__checkbox-button"></span>Важные события</label>
</div>
<div class="sidebar__checkbox-group">
<input type="checkbox" id="nonUrgentEvents" class="sidebar__checkbox" eventtype="blue-events" checked>
<label for="nonUrgentEvents" class="sidebar__checkbox-label"><span class="sidebar__checkbox-button"></span>Несрочные события</label>
</div>
<div class="sidebar__checkbox-group">
<input type="checkbox" id="creativeEvents" class="sidebar__checkbox" eventtype="purple-events" checked>
<label for="creativeEvents" class="sidebar__checkbox-label"><span class="sidebar__checkbox-button"></span>Творческие события</label>
</div>
<div class="sidebar__checkbox-group">
<input type="checkbox" id="healthAndEarningsEvents" class="sidebar__checkbox" eventtype="green-events" checked>
<label for="healthAndEarningsEvents" class="sidebar__checkbox-label"><span class="sidebar__checkbox-button"></span>Здоровье и заработок</label>
</div>
<div class="sidebar__checkbox-group">
<input type="checkbox" id="entertainmentEvents" class="sidebar__checkbox" eventtype="orange-events" checked>
<label for="entertainmentEvents" class="sidebar__checkbox-label"><span class="sidebar__checkbox-button"></span>Развлечения</label>
</div>
<div id="lastCheckboxGroup" class="sidebar__checkbox-group">
<input type="checkbox" id="holidays" class="sidebar__checkbox" eventtype="azure-events" checked>
<label for="holidays" class="sidebar__checkbox-label"><span class="sidebar__checkbox-button"></span>Праздники</label>
</div>
<div class="add-event__input-group add-event__input-group_country">
<span class="add-event__placeholder add-event__placeholder_country">Код вашей страны</span>
<input id="country" type="text" class="add-event__input" autocomplete="off">
<button id="setCountry" class="small-button">
<img src="img/check-mark.svg" alt="" class="button-image">
</button>
</div>
</div>
<div class="calendar">
<div class="days">
</div>
<div class="calendar__year">
<p class="calendar__year-text"></p>
</div>
</div>
<div class="content__shade-area"></div>
</div>
<div class="add-event-popup">
<div class="add-event-popup__shade-area"></div>
<div class="add-event">
<div class="add-event__content">
<p class="add-event__header">Добавление события</p>
<button id="closePopup" class="small-button">
<img src="img/closing-cross.svg" alt="Закрыть" class="button-image">
</button>
<div class="add-event__input-group">
<span id="eventNamePlaceholder" class="add-event__placeholder">Название события</span>
<input id="eventName" type="text" class="add-event__input" autocomplete="off">
</div>
<div class="add-event__input-group">
<span id="eventDescriptionPlaceholder" class="add-event__placeholder">Описание события</span>
<input id="eventDescription" type="text" class="add-event__input" autocomplete="off">
</div>
<div id="eventType" class="dropdown">
<div class="dropdown__current">
<div class="dropdown__icon-text">
<span class="dropdown__color"></span>
<div class="dropdown__header-text">
<span id="eventTypeHeader" class="dropdown__header">Тип события</span>
<span class="dropdown__text">Важные события</span>
</div>
</div>
<img src="img/open.svg" alt="" class="dropdown__toggle">
</div>
<div class="dropdown__options-wrapper">
<ul class="dropdown__options">
<li class="dropdown__option">
<span class="dropdown__color red-events"></span>
<p>Важные события</p>
</li>
<li class="dropdown__option">
<span class="dropdown__color blue-events"></span>
<p>Несрочные события</p>
</li>
<li class="dropdown__option">
<span class="dropdown__color purple-events"></span>
<p>Творческие события</p>
</li>
<li class="dropdown__option">
<span class="dropdown__color green-events"></span>
<p>Здоровье и заработок</p>
</li>
<li class="dropdown__option">
<span class="dropdown__color orange-events"></span>
<p>Развлечения</p>
</li>
</ul>
</div>
</div>
<div class="add-event__input-group add-event__input-group_time">
<span id="eventTimeHeader" class="add-event__input-header">Время события</span>
<div class="add-event__time-group">
<input id="eventHours" type="number" class="add-event__input add-event__input_time" placeholder="00">
<span class="add-event__colon">:</span>
<input id="eventMinutes" type="number" class="add-event__input add-event__input_time" placeholder="00">
</div>
</div>
<div class="add-event__input-group add-event__input-group_time">
<span id="eventDateHeader" class="add-event__input-header">Дата события</span>
<div class="add-event__time-group">
<input id="eventDay" type="number" class="add-event__input add-event__input_time" placeholder="00">
<span class="add-event__colon add-event__dot">.</span>
<input id="eventMonth" type="number" class="add-event__input add-event__input_time" placeholder="00">
<span class="add-event__colon add-event__dot">.</span>
<input id="eventYear" type="number" class="add-event__input add-event__input_time add-event__input_year" placeholder="0000">
</div>
</div>
<div class="add-event__change-event">
<button id="createEvent" class="text-button">
<img src="img/add.svg" alt="" class="text-button__image">
<p class="text-button__text">Создать событие</p>
</button>
<button id="deleteEvent" class="add-event__delete-event" title="Удалить событие">
<img src="img/delete.svg" alt="Удалить" class="button-image">
</button>
</div>
</div>
</div>
</div>
<script src="js/script.js"></script>
</body>
</html>