-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (160 loc) · 5.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<style>
html {
visibility: hidden;
opacity: 0;
}
</style>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mail.ru</title>
</head>
<body>
<template id="modal">
<div id="modal__background">
<div id="editor__modal" class="popup">
<button id="editor__close"><svg-icon name="close-big"></svg-icon></button>
<form id="editor__form">
<div id="editor__fields">
<input-contacts id="editor__to" class="editor__row"></input-contacts>
<div class="editor__row">
<label for="title" data-i18n-key="title"></label>
<input type="text" id="title" />
</div>
</div>
<div class="editor__row">
<input type="file" id="editor__file" multiple />
<label for="editor__file" id="editor__file-label">
<svg-icon name="attach" width="24" height="24"></svg-icon>
<span data-i18n-key="attach"></span>
</label>
<div id="editor__files"></div>
<span id="editor__filesize"></span>
</div>
<div id="editor__toolbar"></div>
<div id="editor__content" contenteditable="true"></div>
<div id="editor__actions">
<button
id="editor__send"
class="btn-action btn-primary"
data-i18n-key="send"
></button>
<button class="btn-action" data-i18n-key="save"></button>
<button class="btn-action" id="editor__cancel" data-i18n-key="cancel"></button>
<input id="important" type="checkbox" name="important" value="important" />
<label for="important"><svg-icon name="compose-important"></svg-icon></label>
</div>
</form>
</div>
</div>
</template>
<div id="theme">
<div id="wrap">
<header id="header">
<a id="logo" href="/" data-link>
<svg-icon name="logo" width="96" height="32"></svg-icon>
<img src="/icons/logo-mobile.svg" alt="Mail.ru logo" />
</a>
<button id="btn-filter">
<span id="filter__icons"></span>
<span id="filter__current" data-i18n-key="filter"></span>
<svg-icon name="chevron_down"></svg-icon>
</button>
<button id="btn-back">
<svg-icon name="chevron_left"></svg-icon>
<span data-i18n-key="back"></span>
</button>
</header>
<div class="columns">
<nav id="nav">
<compose-button></compose-button>
<div id="folders">
<a class="folder nav-btn" id="mobile-menu" data-link="" href="/#">
<svg-icon name="menu" width="21" height="22"></svg-icon>
</a>
</div>
<hr />
<button id="btn-new-folder">
<svg-icon name="add" width="16" height="16"></svg-icon>
<span data-i18n-key="new-folder"></span>
</button>
</nav>
<div id="app"></div>
</div>
</div>
<button id="btn-settings">
<svg-icon name="gear"></svg-icon>
<span data-i18n-key="settings"></span>
</button>
</div>
<div id="attach__popup" class="popup">
<a class="attachment" download="Image.jpg">
<img />image.jpg <span id="attach__size"></span>
</a>
<a id="attach__preview" download="Image.jpg" class="popup"><img /></a>
</div>
<div id="filter__popup" class="popup">
<form id="filter__form">
<label for="all">
<input id="all" type="checkbox" name="filter" value="all" />
<svg-icon name="done" width="16" height="16"></svg-icon>
<span data-i18n-key="all"></span>
</label>
</form>
<button id="btn-reset-filter" data-i18n-key="reset-filter"></button>
</div>
<div id="settings__drawer">
<div id="settings__buttons">
<button
id="settings__btn-theme"
class="nav-btn active"
active
data-i18n-key="appearance"
></button>
<button id="settings__btn-language" class="nav-btn">
<span data-i18n-key="current-language"></span>
<img id="settings__flag" src="/icons/ru.svg" alt="Russia flag" />
</button>
</div>
<div id="settings__theme">
<span data-i18n-key="appearance-description"></span>
<div id="themes__colors"></div>
<div id="themes__main">
<label for="dark">
<input type="radio" name="theme" value="dark" />
<svg-icon name="logo" width="96" height="32"></svg-icon>
</label>
<label for="default">
<input type="radio" name="theme" value="default" />
<svg-icon name="logo" width="96" height="32"></svg-icon>
</label>
<input type="radio" name="theme" class="lazy" value="anime" />
</div>
</div>
<div id="settings__language">
<div data-i18n-key="change-language"></div>
<form id="language-form">
<label>
<input type="radio" name="language" value="ru" checked />
<img src="/icons/ru.svg" width="15" height="12" alt="Russia flag" />
Русский
</label>
<label>
<input type="radio" name="language" value="en" />
<img src="/icons/usa.svg" loading="lazy" alt="USA flag" />
English
</label>
<button
id="btn-apply-language"
class="btn-action btn-primary"
data-i18n-key="choose-language"
></button>
</form>
</div>
</div>
<script type="module" src="/src/index.js"></script>
</body>
</html>