-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtest.html
More file actions
228 lines (206 loc) · 9.61 KB
/
Copy pathtest.html
File metadata and controls
228 lines (206 loc) · 9.61 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rivixal</title>
<link rel="stylesheet" href="styles/styles.css">
<link rel="stylesheet" href="styles/mattle_styles.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="styles/fonts.css">
</head>
<body>
<header>
<div class="header-container">
<div class="logo">
<img src="system/images/logo.svg" alt="Rivixal">
</div>
<nav>
<ul>
<li><a href="index.html" class="active"><i class='bx bxs-home'></i> Тест</a></li>
</ul>
</nav>
</div>
</header>
<div class="appstore-banner" style="--bg-image: url('https://cdn1.ozone.ru/s3/multimedia-t/6465976829.jpg');" data-nav-theme="dark">
<div class="banner-top">
<div class="banner-overlay"></div>
<div class="badge">Сегодня: <span id="date"></span></div>
</div>
<div class="banner-bottom">
<div>
<div class="special-event">
<strong>Случайный факт:</strong>
<div class="fact-text" id="random-fact">Загрузка факта...</div>
</div>
<h1 class="title">Тестовый титул</h1>
<p class="subtitle">Тестовый текст!</p>
</div>
<div class="app-info">
<!--<img src="https://i.imgur.com/SOfLe1M.png" alt="App Icon" class="app-icon">-->
<div class="app-text">
<div class="app-name">Название</div>
<div class="app-desc">Описание</div>
</div>
<button class="get-btn">Кнопка</button>
</div>
</div>
</div>
<div class="projects-container" data-nav-theme="light">
<div class="project-card web-projects">
<div class="project-icon">
<i class='bx bx-globe'></i>
</div>
<h3>Блок 1</h3>
<p>Текст</p>
<button class="project-btn">Баннер_кнопка1</button>
</div>
<div class="project-card desktop-projects">
<div class="project-icon">
<i class='bx bx-desktop'></i>
</div>
<h3>Блок 2</h3>
<p>Текст</p>
<button class="project-btn">Баннер_кнопка1ы</button>
</div>
</div>
<main>
<div class="test-container">
<h1>Тест диалогов Edge+ / iOS style</h1>
<div class="test-buttons">
<button class="test-open-btn" onclick="showDialog('dialog-sheet')">Bottom Sheet</button>
<button class="test-open-btn" onclick="showDialog('dialog-alert')">Alert</button>
<button class="test-open-btn" onclick="showDialog('dialog-passcode')">Passcode</button>
<button class="test-open-btn" onclick="showDialog('dialog-actions')">Actions list</button>
<button class="test-open-btn" onclick="showDialog('dialog-compact')">Compact info</button>
</div>
</div>
<!-- ============ 1. Bottom Sheet ============ -->
<div
class="dialog dialog--sheet"
id="dialog-sheet"
onclick="onDialogBackdropClick(event, 'dialog-sheet')"
>
<div class="dialog-content">
<div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;">
<span style="font-size:18px;font-weight:600;">Отправка идентификаторов устройств</span>
<span class="close" onclick="closeDialog('dialog-sheet')">×</span>
</div>
<p style="font-size:14px;color:#6b6b6f;">
Чтобы поделиться EID и IMEI, отсканируйте штрихкоды или удерживайте устройство возле считывателя.
</p>
<div class="dialog-actions" style="margin-top:20px;justify-content:flex-start;">
<button class="dialog-btn">Поделиться</button>
<button class="dialog-btn dialog-btn-secondary" onclick="closeDialog('dialog-sheet')">Отменить</button>
</div>
</div>
</div>
<!-- ============ 2. Alert ============ -->
<div
class="dialog dialog--alert"
id="dialog-alert"
onclick="onDialogBackdropClick(event, 'dialog-alert')"
>
<div class="dialog-content">
<div style="display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;">
<span style="font-size:18px;font-weight:600;">Удалить приложение «Chrome»?</span>
<span class="close" onclick="closeDialog('dialog-alert')">×</span>
</div>
<p style="font-size:14px;color:#6b6b6f;margin-bottom:18px;">
Удаление этого приложения также приведёт к удалению его данных.
</p>
<div class="dialog-actions" style="justify-content:center;">
<button class="dialog-btn dialog-btn-secondary" onclick="closeDialog('dialog-alert')">Отменить</button>
<button class="dialog-btn" style="color:#ff3b30;" onclick="closeDialog('dialog-alert')">Удалить</button>
</div>
</div>
</div>
<!-- ============ 3. Passcode ============ -->
<div
class="dialog dialog--passcode"
id="dialog-passcode"
onclick="onDialogBackdropClick(event, 'dialog-passcode')"
>
<div class="dialog-content">
<div style="display:flex;justify-content:flex-end;">
<span class="close" onclick="closeDialog('dialog-passcode')">×</span>
</div>
<div style="text-align:center;margin-top:10px;">
<div style="font-size:40px;margin-bottom:18px;color:#007aff;">🔒</div>
<div class="dialog-title">Введите код-пароль</div>
<div class="dialog-subtitle">
Введите код-пароль, используемый для разблокировки этого устройства.
</div>
<div style="display:flex;justify-content:center;gap:14px;margin-top:18px;">
<div style="width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #ccc;"></div>
<div style="width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #ccc;"></div>
<div style="width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #ccc;"></div>
<div style="width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px #ccc;"></div>
</div>
<div class="dialog-actions" style="justify-content:center;margin-top:26px;">
<button class="dialog-btn dialog-btn-secondary" onclick="closeDialog('dialog-passcode')">Отменить</button>
</div>
</div>
</div>
</div>
<!-- ============ 4. Actions list (settings) ============ -->
<div
class="dialog dialog--actions"
id="dialog-actions"
onclick="onDialogBackdropClick(event, 'dialog-actions')"
>
<div class="dialog-content">
<div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;">
<span style="font-size:17px;font-weight:600;">Сбросить настройки</span>
<span class="close" onclick="closeDialog('dialog-actions')">×</span>
</div>
<div class="dialog-actions-list">
<button class="dialog-actions-item">Сбросить все настройки</button>
<button class="dialog-actions-item">Сбросить настройки сети</button>
<button class="dialog-actions-item">Сбросить словарь клавиатуры</button>
<button class="dialog-actions-item">Сбросить настройки «Домой»</button>
<button class="dialog-actions-item">Сбросить геонастройки</button>
<button class="dialog-actions-item" style="margin-top:4px;background:rgba(242,242,245,0.98);"
onclick="closeDialog('dialog-actions')">
Отменить
</button>
</div>
</div>
</div>
<!-- ============ 5. Compact info ============ -->
<div
class="dialog dialog--compact"
id="dialog-compact"
onclick="onDialogBackdropClick(event, 'dialog-compact')"
>
<div class="dialog-content">
<div style="display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:10px;">
<span style="font-size:17px;font-weight:600;">Поделиться в режиме «Для чтения»</span>
<span class="close" onclick="closeDialog('dialog-compact')">×</span>
</div>
<p style="font-size:14px;color:#6b6b6f;margin-bottom:16px;">
Режим «Для чтения» передаёт только необходимые для проверки данные и скрывает лишнюю информацию.
</p>
<div class="dialog-actions" style="justify-content:flex-end;">
<button class="dialog-btn dialog-btn-secondary" onclick="closeDialog('dialog-compact')">Отменить</button>
<button class="dialog-btn" onclick="closeDialog('dialog-compact')">Поделиться</button>
</div>
</div>
</div>
</main>
<div class="bottom-nav-wrapper">
<div class="bottom-nav">
<ul class="mobile-nav">
<li><a href="index.html" class="active"><i class='bx bxs-home'></i><span>Тест</span></a></li>
</ul>
</div>
</div>
<script src="system/scripts/dialog.js"></script>
<script src="system/scripts/sunlight.js"></script>
<script src="system/scripts/flashing.js"></script>
<script src="https://unpkg.com/boxicons@2.1.4/dist/boxicons.js"></script>
<script src="system/scripts/mainbagde.js"></script>
<script src="system/scripts/getDateforBadge.js"></script>
<script src="system/scripts/getFactsforSpecialEvent.js"></script>
</body>
</html>