aboutsummaryrefslogtreecommitdiff
path: root/public/index.html
diff options
context:
space:
mode:
authordax <me@dax.ist>2026-08-05 17:15:39 +0100
committerdax <me@dax.ist>2026-08-05 17:15:39 +0100
commit70ce625487b5e0b7540b70de2ae59f0086134a9e (patch)
tree50db2fba097b2965046e965587bde5143d23785b /public/index.html
parent03dcc91c96ac45ff005a1c3e14a71a5733037447 (diff)
admin import panel with upload progress + recent photos; app empty-state links to /admin
Diffstat (limited to 'public/index.html')
-rw-r--r--public/index.html22
1 files changed, 5 insertions, 17 deletions
diff --git a/public/index.html b/public/index.html
index 8b1f7d4..106b69b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -5,22 +5,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark">
<title>pathways</title>
- <link rel="stylesheet" href="/app.css?v=67">
+ <link rel="stylesheet" href="/app.css?v=68">
</head>
<body>
<main id="stage">
<div id="world"></div>
<div id="import-state" hidden>
<h1>pathways<span class="dot">.</span></h1>
- <p>your library is empty &mdash; add some photos to begin.</p>
- <label id="import" for="file">
- <svg viewBox="0 0 24 24" aria-hidden="true">
- <path d="M12 16V4m0 0L7.5 8.5M12 4l4.5 4.5M4 16v2.5A1.5 1.5 0 0 0 5.5 20h13a1.5 1.5 0 0 0 1.5-1.5V16"/>
- </svg>
- <span>import photos</span>
- </label>
- <p id="direct-hint" class="direct-hint" hidden>upload slow? use the direct link <a id="direct-link" href="#"></a></p>
- <p class="direct-hint">sign in to manage the walk graph &amp; uploads: <a href="/admin">admin</a></p>
+ <p>your library is empty &mdash; add photos from the admin panel.</p>
+ <a id="import" href="/admin">admin</a>
+ <p class="direct-hint">upload &amp; manage the walk graph there</p>
</div>
</main>
<div id="splash">
@@ -28,13 +22,7 @@
<p>four paths, one per direction. walk them.</p>
<button id="start">start</button>
</div>
- <input id="file" type="file" accept="image/jpeg,image/png,image/webp" multiple>
- <div id="drop"><span>drop photos to import</span></div>
- <div id="progress" hidden>
- <div id="progress-track"><div id="progress-fill"></div></div>
- <span id="progress-text"></span>
- </div>
<div id="toast" role="status" aria-live="polite"></div>
- <script src="/app.js?v=67"></script>
+ <script src="/app.js?v=68"></script>
</body>
</html>