hermes-web-cli/wwwroot/settings.ui
yumoqing 526151b901 feat(hermes-web-cli): redesign index.ui with complete user interaction features
- Replace service-only management interface with full AI agent dashboard
- Implement modern dark theme UI using UI/UX Pro Max design principles
- Add comprehensive navigation with sidebar and main content area
- Create complete page suite: new_session, sessions, services, session_chat, settings
- Integrate all user interaction functions into unified interface
- Follow bricks-framework best practices and production-ready standards
2026-04-21 17:16:13 +08:00

71 lines
1.7 KiB
XML

{
"widgettype": "VBox",
"options": {
"width": "100%",
"height": "100%",
"style": {
"padding": "20px"
}
},
"subwidgets": [
{
"widgettype": "Text",
"options": {
"text": "Settings",
"fontSize": "24px",
"fontWeight": "bold",
"style": {
"marginBottom": "24px",
"color": "#F8FAFC"
}
}
},
{
"widgettype": "Form",
"options": {
"title": "Hermes Web CLI Configuration",
"description": "Configure your Hermes Web CLI preferences and default settings.",
"fields": [
{
"name": "default_service",
"label": "Default Service",
"uitype": "select",
"options_url": "/hermes-web-cli/services/list"
},
{
"name": "auto_save_sessions",
"label": "Auto-save Sessions",
"uitype": "check",
"default": true
},
{
"name": "max_session_history",
"label": "Max Session History Days",
"uitype": "int",
"default": 30
},
{
"name": "theme",
"label": "Theme",
"uitype": "select",
"options": [
{"value": "dark", "text": "Dark"},
{"value": "light", "text": "Light"}
],
"default": "dark"
}
],
"submit_url": "/hermes-web-cli/settings",
"method": "POST"
},
"binds": [
{
"wid": "self",
"event": "submited",
"actiontype": "script",
"script": "bricks.show_resp_message_or_error(event.params);"
}
]
}
]
}