Repository navigation
Expand file tree
/
Copy pathflags.html
More file actions
58 lines (53 loc) · 1.96 KB
/
Copy pathflags.html
File metadata and controls
58 lines (53 loc) · 1.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Feature Flags — Luke</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<header>
<a href="/" class="back-link" aria-label="Back to home">←</a>
<button id="theme-toggle" aria-label="Toggle dark mode">
<span id="theme-icon">☀️</span>
</button>
</header>
<!-- ── Lock screen ─────────────────────────────────────── -->
<div id="lock-screen">
<div class="lock-card">
<div class="lock-icon" aria-hidden="true">🔒</div>
<h1>Feature Flags</h1>
<p class="lock-hint">Enter the passphrase to continue.</p>
<form id="lock-form" autocomplete="off">
<input
id="lock-input"
type="password"
placeholder="Passphrase"
aria-label="Passphrase"
autofocus
/>
<button type="submit">Unlock</button>
</form>
<p id="lock-error" class="lock-error" hidden>Incorrect passphrase.</p>
</div>
</div>
<!-- ── Admin panel ─────────────────────────────────────── -->
<main id="admin-panel" hidden>
<div class="admin-header">
<div>
<h1>Feature Flags</h1>
<p class="admin-subtitle">Changes take effect immediately and persist across visits.</p>
</div>
<button id="reset-btn" class="reset-btn">Reset all to defaults</button>
</div>
<ul id="flags-list" class="flags-list" role="list"></ul>
</main>
<footer>
<p>© <span id="year"></span> Luke</p>
</footer>
<script src="flags.js"></script>
<script src="flags-page.js"></script>
<script src="script.js"></script>
</body>
</html>