summaryrefslogtreecommitdiff
path: root/viewer-bff/public/index.html
diff options
context:
space:
mode:
authorertopogo <erwin.t.pombett@gmail.com>2026-03-13 00:33:28 +0100
committerertopogo <erwin.t.pombett@gmail.com>2026-03-13 00:33:28 +0100
commitb34873f98052ac5fb4bf6731a25730075796d764 (patch)
tree0b27ef2996894287aaf382b43956d6cf45352e94 /viewer-bff/public/index.html
Initial commit medias platformHEADmain
Diffstat (limited to 'viewer-bff/public/index.html')
-rw-r--r--viewer-bff/public/index.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/viewer-bff/public/index.html b/viewer-bff/public/index.html
new file mode 100644
index 0000000..8112bfa
--- /dev/null
+++ b/viewer-bff/public/index.html
@@ -0,0 +1,43 @@
+<!doctype html>
+<html lang="fr">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Viewer Medias (POC)</title>
+ <link rel="stylesheet" href="/styles.css" />
+ </head>
+ <body>
+ <main class="container">
+ <h1>Viewer medias securise (POC)</h1>
+
+ <section class="panel">
+ <h2>1) Token utilisateur</h2>
+ <textarea
+ id="tokenInput"
+ placeholder="Coller ici le JWT (Bearer token)"
+ rows="5"
+ ></textarea>
+ <button id="loadPermissionsBtn">Charger permissions</button>
+ <pre id="permissionsOutput">Aucune permission chargee.</pre>
+ </section>
+
+ <section class="panel">
+ <h2>2) Cles objet a visualiser</h2>
+ <p class="hint">
+ Une cle par ligne, exemple: <code>photos/equipeA/2026/03/img001.jpg</code>
+ </p>
+ <textarea id="objectKeysInput" rows="8"></textarea>
+ <div class="actions">
+ <button id="buildGalleryBtn">Construire la galerie</button>
+ </div>
+ </section>
+
+ <section class="panel">
+ <h2>3) Galerie</h2>
+ <div id="gallery" class="gallery"></div>
+ </section>
+ </main>
+
+ <script src="/app.js"></script>
+ </body>
+</html>