Commit Graph
17 Commits
Author SHA1 Message Date
YumeMichi 6264523c76 webui: Add accessory management
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-13 11:04:18 +08:00
YumeMichi acd9be627e Minor cleanup and fixes
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-05 06:53:48 +08:00
YumeMichi 947da92a66 webui: Add user birthday settings
- Store birth month and day in user_pref with default 10/18
- Migrate existing user_pref rows to fill missing birthday fields
- Expose birthday editing in the webui profile page
- Replace hardcoded birthday values in user info, top info, and product list responses
- Fix birthday month/day field alignment in the profile form

Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-05 05:48:36 +08:00
YumeMichi ec2c5a6dac webui: Fix upload page script syntax error
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-05 00:34:34 +08:00
YumeMichi 1b0116539f webui: Add profile reset defaults
- Add a reset action for profile values in the admin page
- Restore reset values to the auto-created user defaults instead of the bootstrap user
- Remind users to re-login after saving or resetting profile changes

Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-04 19:31:48 +08:00
YumeMichi 2e2b6259b5 webui: Improve responsive admin layout
- Add mobile drawer behavior for the admin sidebar
- Make admin forms adapt better on small screens
- Keep the login dialog width within the viewport while preserving desktop-style alignment

Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-04 19:31:40 +08:00
YumeMichi b1049d804a webui: Move admin copyright to login page
- Remove admin footer from backend pages to avoid content overlap
- Show copyright text at the bottom-left of the login page instead
- Simplify admin content area layout after dropping footer

Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-04 19:31:36 +08:00
YumeMichi fa2efe4298 webui: Make some user preferences configurable
This extends 09f0237560.

- Extend user_pref with configurable profile fields and automatic migration defaults
- Move user info responses to read from user_pref instead of hardcoded values
- Add admin profile page for editing UI values after login

Signed-off-by: Sean Du <do4suki@gmail.com>
2026-06-04 19:31:27 +08:00
YumeMichi 3926aef60c Switch webui card import to textarea input
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-04-29 11:55:18 +08:00
YumeMichi 1e52fd04af Normalize phone input and default user phone
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-04-28 20:08:21 +08:00
YumeMichi 1500821f3e Add maintenance page
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-02-01 13:55:52 +08:00
YumeMichi c77241a883 Overhaul [1/n]
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-01-29 02:42:28 +08:00
YumeMichi adf2a72630 Reorganize directory structures
Signed-off-by: Sean Du <do4suki@gmail.com>
2025-08-05 20:06:35 +08:00
YumeMichi 9603234e29 sif: Import cards from csv file
This way is more easy

Signed-off-by: Yuan Si <do4suki@gmail.com>
2024-02-01 15:41:53 +08:00
YumeMichi f8477490a0 Support uploading units
Signed-off-by: Yuan Si <do4suki@gmail.com>
2023-04-30 08:48:12 +08:00
YumeMichi e55b2ce7cd A simple admin ui without any functionalities
Signed-off-by: Yuan Si <do4suki@gmail.com>
2023-04-26 08:50:16 +08:00
YumeMichi 75856025b4 Move template files to specific folder
Signed-off-by: Yuan Si <do4suki@gmail.com>
2023-04-26 01:52:05 +08:00