forked from minbrowser/min
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
346 lines (321 loc) · 10.7 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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Security-Policy" content="script-src 'self'" />
<title>Min</title>
<link rel="stylesheet" href="dist/bundle.css" />
<link rel="stylesheet" href="ext/icons/iconfont.css" />
</head>
<body>
<div class="window-drag-area"></div>
<div class="windows-caption-buttons">
<div class="element caption-minimise">
<svg>
<line x1="1" y1="5.5" x2="11" y2="5.5" />
</svg>
</div>
<div class="element caption-maximize">
<svg>
<rect x="1.5" y="1.5" width="9" height="9" />
</svg>
</div>
<div class="element caption-restore">
<svg>
<rect x="1.5" y="3.5" width="7" height="7" />
<polyline points="3.5,3.5 3.5,1.5 10.5,1.5 10.5,8.5 8.5,8.5" />
</svg>
</div>
<div class="element caption-close">
<svg>
<path d="M1,1 l 10,10 M1,11 l 10,-10" />
</svg>
</div>
</div>
<button id="linux-control-buttons" class="theme-text-color">
<svg
width="74"
height="24"
version="1.1"
fill="none"
stroke="none"
stroke-linecap="square"
stroke-miterlimit="10"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
>
<g id="minimize-button">
<rect width="24" height="24" fill="transparent"></rect>
<path
class="button-background"
d="m0.5826226 9.868774l0 0c0 -5.24453 4.251532 -9.496062 9.496063 -9.496062l0 0c2.5185127 0 4.933873 1.0004752 6.714731 2.7813323c1.7808571 1.7808576 2.781332 4.196218 2.781332 6.7147303l0 0c0 5.2445316 -4.2515326 9.496063 -9.496063 9.496063l0 0c-5.244531 0 -9.496063 -4.2515316 -9.496063 -9.496063z"
fill-rule="evenodd"
/>
<path
stroke="currentColor"
stroke-width="2.0"
stroke-linejoin="round"
stroke-linecap="butt"
d="m6.7086616 12.519685l6.7401576 -0.031496048"
fill-rule="evenodd"
/>
</g>
<g id="maximize-button">
<rect width="24" height="24" x="24" fill="transparent"></rect>
<path
class="button-background"
d="m27.85034 9.868774l0 0c0 -5.24453 4.2515316 -9.496062 9.496061 -9.496062l0 0c2.5185127 0 4.933876 1.0004752 6.714733 2.7813323c1.7808571 1.7808576 2.78133 4.196218 2.78133 6.7147303l0 0c0 5.2445316 -4.2515297 9.496063 -9.496063 9.496063l0 0c-5.2445297 0 -9.496061 -4.2515316 -9.496061 -9.496063z"
fill-rule="evenodd"
/>
<path
stroke="currentColor"
stroke-width="2.0"
stroke-linejoin="round"
stroke-linecap="butt"
d="m34.16273 6.717848l6.3622017 0l0 6.2992125l-6.3622017 0z"
fill-rule="evenodd"
/>
</g>
<g id="close-button">
<rect width="24" height="24" x="48" fill="transparent"></rect>
<path
class="button-background"
d="m55.118057 9.496072l0 0c0 -5.244531 4.2515297 -9.496063 9.496063 -9.496063l0 0c2.518509 0 4.9338684 1.0004753 6.7147293 2.7813325c1.7808533 1.7808573 2.781334 4.1962185 2.781334 6.714731l0 0c0 5.2445307 -4.2515335 9.496062 -9.496063 9.496062l0 0c-5.2445335 0 -9.496063 -4.2515316 -9.496063 -9.496062z"
fill-rule="evenodd"
/>
<path
stroke="currentColor"
stroke-width="2.0"
stroke-linejoin="round"
stroke-linecap="butt"
d="m61.26077 6.1103663l6.740162 6.7716537"
fill-rule="evenodd"
/>
<path
stroke="currentColor"
stroke-width="2.0"
stroke-linejoin="round"
stroke-linecap="butt"
d="m68.01668 6.1261144l-6.771656 6.7401576"
fill-rule="evenodd"
/>
</g>
</svg>
</button>
<div
id="navbar"
class="theme-background-color theme-text-color windowDragHandle"
tabindex="-1"
>
<div id="mac-window-drag-area"></div>
<button
id="menu-button"
class="navbar-action-button i carbon:overflow-menu-vertical"
data-label="openMenu"
tabindex="-1"
></button>
<div id="toolbar-navigation-buttons" hidden>
<button
id="back-button"
class="navbar-action-button i carbon:chevron-left"
data-label="goBack"
tabindex="-1"
></button>
<button
id="forward-button"
class="navbar-action-button i carbon:chevron-right"
data-label="goForward"
tabindex="-1"
></button>
</div>
<div id="tabs">
<div id="tab-editor" hidden>
<input id="tab-editor-input" class="mousetrap" spellcheck="false" />
</div>
<div id="tabs-inner" role="tablist" class="has-thin-scrollbar"></div>
</div>
<div class="navbar-right-actions">
<button
id="add-tab-button"
class="navbar-action-button i carbon:add"
data-label="newTabAction"
tabindex="-1"
></button>
</div>
</div>
<button
id="switch-task-button"
class="navbar-action-button theme-text-color windowDragHandle i"
data-label="viewTasks"
tabindex="-1"
>
<svg
version="1.1"
viewBox="0.0 0.0 26.0 26.0"
fill="none"
stroke="none"
stroke-linecap="square"
stroke-miterlimit="10"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
>
<g clip-path="url(#p.0)">
<path
fill="currentColor"
d="m0 0l32 0l0 4l-32 0z"
fill-rule="evenodd"
/>
<path
fill="currentColor"
d="m0 11l32 0l0 4l-32 0z"
fill-rule="evenodd"
/>
<path
fill="currentColor"
d="m0 22l32 0l0 4l-32 0z"
fill-rule="evenodd"
/>
</g>
</svg>
</button>
<div id="searchbar" class="theme-background-color theme-text-color">
<div class="top-answer-area"></div>
</div>
<div id="overlay"></div>
<div id="webviews">
<div id="leftArrowContainer" class="arrow-indicator">
<i id="leftArrow" class="i carbon:chevron-left"></i>
</div>
<div id="rightArrowContainer" class="arrow-indicator">
<i id="rightArrow" class="i carbon:chevron-right"></i>
</div>
<img id="webview-placeholder" hidden aria-hidden="true" />
<div id="ntp-content">
<img id="ntp-background" hidden>
<div id="ntp-background-controls">
<button id="ntp-image-remove"><i class="i carbon:trash-can"></i></button>
<button id="ntp-image-picker"><i class="i carbon:camera"></i></button>
</div>
</div>
</div>
<!-- findinpage ui -->
<div
id="findinpage-bar"
hidden
class="theme-background-color theme-text-color"
>
<input id="findinpage-input" class="mousetrap" />
<span id="findinpage-count" class="inline-text"></span>
<div class="divider"></div>
<button id="findinpage-previous-match">
<i class="i carbon:chevron-up navbar-action-button"></i>
</button>
<button id="findinpage-next-match">
<i class="i carbon:chevron-down navbar-action-button"></i>
</button>
<div class="divider"></div>
<button id="findinpage-end">
<i class="i carbon:close navbar-action-button"></i>
</button>
</div>
<div id="task-overlay" class="" hidden tabindex="-1">
<div
class="simulated-navbar windowDragHandle"
id="task-overlay-navbar"
>
<div class="task-search-input-container">
<i class="i carbon:search"></i>
<input type="search" id="task-search-input" class="mousetrap"/>
</div>
</div>
<div id="task-area"></div>
<button id="add-task">
<i class="i carbon:new-tab"></i>
<span></span>
</button>
</div>
<div id="download-bar" hidden>
<div id="download-container" role="list" class="has-thin-scrollbar"></div>
<button id="download-close-button" class="i carbon:close"></button>
</div>
<div class="modal" id="manager-setup-dialog" hidden>
<h3 class="modal-title" id="manager-setup-heading"></h3>
<button
id="manager-setup-close"
class="modal-close-button i carbon:close"
></button>
<div id="manager-setup-instructions-primary">
<div
class="light-fade"
data-string="passwordManagerSetupStep1"
data-allowHTML
></div>
<div class="spacer"></div>
<div
class="light-fade"
data-string="passwordManagerSetupStep2"
data-allowHTML
></div>
</div>
<div id="manager-setup-instructions-secondary">
<div
class="light-fade"
data-string="passwordManagerInstallerSetup"
data-allowHTML
></div>
</div>
<div class="spacer"></div>
<div
id="manager-setup-drop-box"
class="drag-and-drop-box"
data-string="passwordManagerSetupDragBox"
></div>
<div class="spacer"></div>
<div class="spacer"></div>
<div class="buttons">
<input
type="button"
id="manager-setup-disable"
data-value="disableAutofill"
/>
</div>
</div>
<div id="password-capture-bar" hidden>
<span id="password-capture-description"></span>
<input id="password-capture-username" type="text" required />
<span class="password-capture-section">
<input id="password-capture-password" type="password" required />
<button
id="password-capture-reveal-password"
class="i carbon:view"
></button>
</span>
<span class="password-capture-section">
<button
id="password-capture-save"
data-string="passwordCaptureSave"
></button>
<button
id="password-capture-ignore"
data-string="passwordCaptureDontSave"
></button>
</span>
<button
id="password-capture-never-save"
data-string="passwordCaptureNeverSave"
></button>
</div>
<div id="password-viewer" class="modal" hidden>
<h2 class="modal-title" data-string="savedPasswordsHeading"></h2>
<button class="modal-close-button i carbon:close"></button>
<div
id="password-viewer-empty"
data-string="savedPasswordsEmpty"
hidden
></div>
<div id="password-viewer-list"></div>
</div>
<!-- add scripts in Gruntfile.js -->
<script src="dist/bundle.js"></script>
</body>
</html>