diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-06-16 22:55:44 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-06-16 22:55:44 -0500 |
| commit | 603fa41a483138e5782098d588f0fdc6eb9bcb1d (patch) | |
| tree | 0214058e3040aef32648cf4db63ab9bd25a5fa8e /public/index.html | |
| parent | 7f88f436e0b5398ad79b4c130834d95d622d62be (diff) | |
| download | immich-frame-603fa41a483138e5782098d588f0fdc6eb9bcb1d.tar.xz immich-frame-603fa41a483138e5782098d588f0fdc6eb9bcb1d.zip | |
add basic settings page
Diffstat (limited to 'public/index.html')
| -rw-r--r-- | public/index.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/public/index.html b/public/index.html index 1af1745..a91266f 100644 --- a/public/index.html +++ b/public/index.html @@ -52,6 +52,47 @@ </template> </div> <div id="settings" class="hidden!"> + <form class="flex flex-col gap-4 m-auto max-w-3xl"> + <fieldset> + <h2> + <svg class="size-6 inline"><use href="#sprite-camera"></use></svg> + Immich Server + </h2> + <label>Immich URL</label> + <input name="immich_url" type="text" /> + <label>Immich API Key</label> + <input name="immich_api_key" type="text" /> + </fieldset> + <fieldset> + <h2> + <svg class="size-6 inline"><use href="#sprite-photo_frame"></use></svg> + Display + </h2> + <label>Image Duration</label> + <input name="image_duration" type="text" pattern="[.0-9]*" /> + <label>Transition Duration</label> + <input name="transition_duration" type="text" pattern="[.0-9]*" /> + <label>Max Framerate</label> + <input name="max_framerate" type="text" pattern="[.0-9]*" /> + <label>Auto Transition</label> + <input name="auto_transition" type="checkbox" /> + <label>Display Size</label> + <select name="display_size"> + <option value="thumbnail">Thumbnail (~15 kB)</option> + <option value="preview">Standard (~150 kB)</option> + <option value="fullsize">Fullsize (5+ MB)</option> + </select> + </fieldset> + <fieldset> + <h2> + <svg class="size-6 inline"><use href="#sprite-cached"></use></svg> + Caching + </h2> + <label>Max Cached Assets</label> + <input name="max_cache_assets" type="text" pattern="[0-9]*" /> + </fieldset> + <input type="submit" value="Save" /> + </form> </div> </main> <footer class="w-full"> |
