feat: add /status order lookup page linked from request form
This commit is contained in:
parent
5e26650b90
commit
2ac99fde8b
6 changed files with 226 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ A Flask web app for a convention booth where visitors request a custom AI-genera
|
|||
|
||||
- **Request form** (`/request`) — visitors enter name, email, hobbies, notable facts, preferred style/genre, vocal gender preference, and extra requests. A branded banner image is shown. The email field is validated to reduce delivery problems. If the operator marks the booth as closed, this page shows a closed banner and message instead.
|
||||
- **Closed page** (`/request`) — when the booth is marked closed from `/admin/settings`, visitors see the closed banner and a friendly "goblin engineers are on a break" message.
|
||||
- **Order status lookup** (`/status`) — customers enter their email to see all their requests, current status, and the private player link once songs are uploaded.
|
||||
- **Confirmation page** (`/thanks/<id>`) — shows the request number after submission.
|
||||
- **FAQ page** (`/faq`) — answers common customer questions.
|
||||
- **Private player page** (`/play/<token>`) — customer receives an email with a unique link. They can stream Version A and Version B, pick one (or both), or request a limited number of revisions.
|
||||
|
|
@ -63,6 +64,7 @@ pending → prompt_ready → songs_uploaded → awaiting_payment → paid → de
|
|||
| `templates/closed.html` | Message shown on `/request` when the booth is marked closed. |
|
||||
| `templates/request.html` | Customer request form. |
|
||||
| `templates/thanks.html` | Post-submission confirmation. |
|
||||
| `templates/status.html` | Customer order status lookup. |
|
||||
| `templates/faq.html` | Customer FAQ page. |
|
||||
| `templates/player.html` | Customer audio player, approval, and revision form. |
|
||||
| `templates/admin/login.html` | Admin login page. |
|
||||
|
|
|
|||
Reference in a new issue