-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (56 loc) · 2.25 KB
/
Copy pathindex.html
File metadata and controls
60 lines (56 loc) · 2.25 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Via</title>
<link rel="stylesheet" href="/src/styles.css" />
<link rel="icon" type="image/png" href="/via-icon-144.png" />
</head>
<body>
<!-- Homepage (shown briefly before default tab loads) -->
<div id="home">
<img id="home-logo" src="/via-logo.svg" alt="Via" draggable="false" />
<div id="home-search-wrap">
<div id="home-search" role="button" tabindex="0">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" width="18" height="18"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.35-4.35"/></svg>
<input id="home-input" type="text" placeholder="Search or enter URL" autocomplete="off" spellcheck="false" />
</div>
</div>
</div>
<!-- Side menu (slides from right) — managed by frontend JS -->
<div id="menu-backdrop"></div>
<div id="side-menu">
<div id="side-menu-grid"></div>
<div id="side-menu-pagination"></div>
<div id="side-menu-footer">
<button id="menu-exit" title="Exit">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" y1="12" x2="9" y2="12"/></svg>
<span>Exit</span>
</button>
<button id="menu-collapse" title="Collapse">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><polyline points="6 9 12 15 18 9"/></svg>
<span>Collapse</span>
</button>
</div>
</div>
<!-- Full-screen panel for sub-pages (bookmarks, history, settings, etc.) -->
<div id="panel-backdrop"></div>
<div id="panel">
<div class="ph">
<button id="panel-back">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M15 18l-6-6 6-6"/></svg>
</button>
<b id="panel-title"></b>
<span id="panel-spacer"></span>
<button id="panel-action"></button>
</div>
<div id="panel-body"></div>
</div>
<!-- Download notification toast -->
<div id="dl-toast"></div>
<!-- Toast -->
<div id="toast"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>