-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (55 loc) · 2.22 KB
/
Copy pathindex.html
File metadata and controls
59 lines (55 loc) · 2.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenAB Setup Wizard</title>
<link rel="stylesheet" href="style.css?v=13" />
</head>
<body>
<header>
<div class="header-row">
<h1 id="app-title">OpenAB Setup Wizard</h1>
<div class="header-actions">
<div class="profile-bar">
<select id="profile-select" title="Profile"></select>
<button class="reset-btn" id="profile-new" title="New profile">+</button>
<button class="reset-btn" id="profile-del" title="Delete profile">🗑</button>
</div>
<div class="lang-switch" id="lang-switch" role="group" aria-label="Language">
<button class="lang-btn" data-lang="en">English</button>
<button class="lang-btn" data-lang="zh">中文</button>
</div>
</div>
</div>
<p class="tagline" id="tagline"></p>
</header>
<main class="split">
<!-- Left: form -->
<section class="pane form-pane" id="form-root" aria-label="Configuration form">
<!-- rendered by app.js -->
</section>
<!-- Right: preview -->
<section class="pane preview-pane" aria-label="Generated files preview">
<div class="tabs" role="tablist" id="preview-tabs">
<button class="tab active" role="tab" data-tab="config" aria-selected="true">config.toml</button>
<button class="tab" role="tab" data-tab="secrets" aria-selected="false" id="secrets-tab-btn">secrets</button>
<button class="tab" role="tab" data-tab="run" aria-selected="false">run</button>
</div>
<div class="preview-actions">
<button id="copy-btn" title="Copy current tab to clipboard">Copy</button>
<button id="download-btn" title="Download current tab as a file">Download</button>
</div>
<pre id="preview" tabindex="0" aria-live="polite"><code></code></pre>
</section>
</main>
<footer>
<p>
Prototype for <a href="https://github.com/openabdev/openab/issues/1372">openabdev/openab#1372</a>.
Static client-side app — deployable to Cloudflare Pages.
</p>
</footer>
<script src="schema.js?v=13"></script>
<script src="app.js?v=13"></script>
</body>
</html>