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>
This commit is contained in:
2026-06-04 19:31:27 +08:00
parent 9ad66c2dc6
commit fa2efe4298
14 changed files with 419 additions and 46 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{{ define "admin/nav/footer.html" }}
<div class="layui-footer">
Copyright © 2023 YumeMichi
Copyright © 2023-2026 YumeMichi
</div>
{{ end }}