feat: add booth open/closed toggle on settings page
This commit is contained in:
parent
c39265ab42
commit
5e26650b90
6 changed files with 96 additions and 6 deletions
|
|
@ -35,6 +35,7 @@ Flask app that lets convention attendees request custom AI-generated theme songs
|
|||
| `templates/admin/dashboard.html` | Queue table + filters + auto-refresh + topbar Reset System button. |
|
||||
| `templates/admin/settings.html` | SMTP config, MP3 metadata defaults, DB backup/restore, health check, reset. |
|
||||
| `templates/faq.html` | Customer FAQ page. |
|
||||
| `templates/closed.html` | Message shown on `/request` when the booth is marked closed. |
|
||||
| `docker-compose.yml` | No `env_file`; variables come from Portainer. |
|
||||
|
||||
## Status meanings
|
||||
|
|
@ -80,7 +81,8 @@ Most can be overridden at runtime from `/admin/settings` and stored in `booth_se
|
|||
- The dashboard uses `basename()` as a function, not a Jinja filter.
|
||||
- Reset System deletes DB rows **and** all files under `UPLOAD_FOLDER`, then resets `sqlite_sequence`.
|
||||
- Runtime settings are stored in the persistent uploads volume (`booth_settings.json`).
|
||||
- Container cannot read host paths; all static assets used at runtime (logo, banner, favicons) must be in the repo or a mounted volume.
|
||||
- The `booth_open` setting controls whether `/request` shows the form or the closed banner.
|
||||
- Container cannot read host paths; all static assets used at runtime (logo, banner, favicons, closed banner) must be in the repo or a mounted volume.
|
||||
|
||||
## How to redeploy
|
||||
|
||||
|
|
|
|||
Reference in a new issue