diff options
| author | dax <me@dax.ist> | 2026-08-05 20:14:45 +0100 |
|---|---|---|
| committer | dax <me@dax.ist> | 2026-08-05 20:14:45 +0100 |
| commit | 994cdbec9dd6ae6b965b56f4f6816a1dfef8bcc9 (patch) | |
| tree | 0d7b0d1c5bec8d34b5ebe731af34ce3e8b1706ca /public/admin.html | |
| parent | d2a8b2abc908311fc249454086d0d0eacfe861e1 (diff) | |
staging: local drop-folder (watch/) auto-import with startup recovery + failed batches; admin local-files panel; upload 413 pre-checkHEADmain
Diffstat (limited to 'public/admin.html')
| -rw-r--r-- | public/admin.html | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/public/admin.html b/public/admin.html index 9fe1b5a..c296bea 100644 --- a/public/admin.html +++ b/public/admin.html @@ -5,7 +5,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="color-scheme" content="dark"> <title>pathways ยท admin</title> - <link rel="stylesheet" href="/admin.css?v=4"> + <link rel="stylesheet" href="/admin.css?v=5"> </head> <body> <main id="app"> @@ -73,6 +73,19 @@ <p class="im-status" id="im-status"></p> </div> <p class="err" id="im-err"></p> + <div class="local"> + <div class="local-head"> + <h2>local drop folder</h2> + <button id="st-scan">import now</button> + </div> + <p class="local-path" id="st-path"></p> + <p class="local-hint">copy photos into this folder on the server — they import automatically (polled every ~15s).<br> + <code>scp photo.jpg dax@<host>:/srv/pathways/staging/watch/</code></p> + <div id="st-files"></div> + <p class="facets" id="st-none" hidden>no files staged yet</p> + <h2>recent imports</h2> + <div id="st-log"></div> + </div> <div class="recent" id="im-recent" hidden> <h2>recently added</h2> <div class="results" id="im-new"></div> @@ -87,6 +100,6 @@ </section> </main> <div id="toast"></div> - <script src="/admin.js?v=4"></script> + <script src="/admin.js?v=5"></script> </body> </html> |
