- Add load_hermes_web_cli function to fix ImportError - Update data_url paths to use /hermes-web-cli/... instead of /api/... - Add missing renew.dspy file with complete business logic - Update all .ui files with correct endpoint references - Ensure module is fully functional for Sage integration
56 lines
1.3 KiB
XML
56 lines
1.3 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "Hermes Services Manager",
|
|
"fontSize": "24px",
|
|
"fontWeight": "bold"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "DataViewer",
|
|
"options": {
|
|
"data_url": "/hermes-web-cli/services",
|
|
"page_rows": 20,
|
|
"row_options": {
|
|
"fields": [
|
|
{
|
|
"name": "name",
|
|
"label": "服务名称",
|
|
"uitype": "str"
|
|
},
|
|
{
|
|
"name": "service_url",
|
|
"label": "服务地址",
|
|
"uitype": "str"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"label": "状态",
|
|
"uitype": "str"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"label": "创建时间",
|
|
"uitype": "date"
|
|
}
|
|
]
|
|
},
|
|
"editable": {
|
|
"add_icon": "fa fa-plus",
|
|
"update_icon": "fa fa-edit",
|
|
"delete_icon": "fa fa-trash",
|
|
"new_data_url": "/hermes-web-cli/services",
|
|
"update_data_url": "/hermes-web-cli/services/{id}",
|
|
"delete_data_url": "/hermes-web-cli/services/{id}"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |