Repository navigation
Expand file tree
/
Copy pathupdate-progress.html
More file actions
43 lines (43 loc) · 2.28 KB
/
Copy pathupdate-progress.html
File metadata and controls
43 lines (43 loc) · 2.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Software Update</title>
<script src="window-titlebar.js"></script>
<style>
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; padding: 24px; background: #252526; color: #f1f1f1; font: 13px "Segoe UI", sans-serif; }
html.custom-titlebar body { padding-top: 56px; }
.window-titlebar { display: none; }
html.custom-titlebar .window-titlebar { -webkit-app-region: drag; align-items: center; background: #252526; color: #cccccc; display: flex; font-size: 12px; height: 32px; left: 0; padding: 0 144px 0 12px; position: fixed; right: 0; top: 0; z-index: 10000; }
.window-titlebar-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#status { margin-bottom: 14px; }
#progress-track { height: 8px; overflow: hidden; border-radius: 4px; background: #404040; }
#progress-fill { width: 0; height: 100%; background: #4da3ff; transition: width 120ms linear; }
#details { margin-top: 10px; color: #bdbdbd; }
#channel { margin-top: 8px; color: #bdbdbd; }
#manual-download { margin-top: 14px; color: #bdbdbd; line-height: 1.4; }
#manual-download a { color: #4da3ff; }
#actions { display: flex; gap: 8px; margin-top: 20px; }
#actions button { padding: 8px 14px; border: 1px solid #555; border-radius: 3px; background: #353535; color: #fff; cursor: pointer; }
#actions button:hover { background: #454545; }
#actions button:disabled { cursor: default; opacity: 0.55; }
#install-btn { display: none; border: 0; background: #4da3ff; }
#install-btn:hover { background: #6db5ff; }
</style>
</head>
<body>
<div id="status"></div>
<div id="progress-track"><div id="progress-fill"></div></div>
<div id="details"></div>
<div id="channel"></div>
<div id="manual-download"><span id="manual-download-hint"></span> <a id="manual-download-link" href="#"></a></div>
<div id="actions">
<button id="cancel-btn" type="button"></button>
<button id="install-btn" type="button"></button>
</div>
<script src="update-progress.js"></script>
</body>
</html>