summaryrefslogtreecommitdiffstats
path: root/static/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/static/index.html b/static/index.html
index c957a01..33e5868 100644
--- a/static/index.html
+++ b/static/index.html
@@ -6,10 +6,13 @@
<meta name="referrer" content="no-referrer">
<title>NymDrop — Secure Submission</title>
<link rel="stylesheet" href="/style.css">
+ <script src="/theme-init.js"></script>
</head>
<body>
<div class="card">
+ <button id="theme-toggle" class="theme-toggle" type="button" aria-label="Toggle light/dark theme"></button>
+
<div class="logo">
<div class="logo-icon">⬡</div>
<h1>NYMDROP</h1>
@@ -51,11 +54,6 @@
</div>
<div class="footer">NYMDROP &nbsp;·&nbsp; ZERO KNOWLEDGE &nbsp;·&nbsp; ZERO LOGS</div>
<script src="/crypto.js"></script>
-<script>
- document.getElementById('file').addEventListener('change', function() {
- const name = this.files.length ? this.files[0].name : '';
- document.getElementById('filename').textContent = name;
- });
-</script>
+<script src="/app.js"></script>
</body>
</html>