- Remove bgcolor/color/border hardcoded dark theme values from index.ui - Use css:'card' class instead of inline bgcolor for navigation cards - Remove conflicting bgcolor:#def0f0 from show_llms/show_llms_by_providers/show_same_catelog_llm - Let system theme (bricks.css/shell_theme.css) handle styling
167 lines
5.7 KiB
XML
167 lines
5.7 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"padding": "0"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "HBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"alignItems": "center",
|
|
"padding": "16px 24px",
|
|
"marginBottom": "0"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Title2",
|
|
"options": {
|
|
"text": "LLM 模型管理",
|
|
"fontWeight": "700"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Filler"
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "模型配置、目录分类与调用监控",
|
|
"fontSize": "14px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "ResponsableBox",
|
|
"options": {
|
|
"gap": "12px",
|
|
"minWidth": "200px",
|
|
"padding": "0 24px 16px 24px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"css": "card",
|
|
"padding": "16px 24px",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.llmage_content",
|
|
"options": {
|
|
"url": "{{entire_url('/llmage/llmcatelog_list.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Title5",
|
|
"options": {
|
|
"text": "模型类型管理",
|
|
"fontWeight": "600"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "管理模型的分类目录和类型定义",
|
|
"fontSize": "12px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"css": "card",
|
|
"padding": "16px 24px",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.llmage_content",
|
|
"options": {
|
|
"url": "{{entire_url('/llmage/llm')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Title5",
|
|
"options": {
|
|
"text": "模型配置",
|
|
"fontWeight": "600"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "管理 LLM 模型的API配置与供应商映射",
|
|
"fontSize": "12px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"css": "card",
|
|
"padding": "16px 24px",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.llmage_content",
|
|
"options": {
|
|
"url": "{{entire_url('/llmage/failed_accounting.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Title5",
|
|
"options": {
|
|
"text": "记账失败记录",
|
|
"fontWeight": "600"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"text": "查看和检索调用计费失败记录",
|
|
"fontSize": "12px"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"id": "llmage_content",
|
|
"css": "filler",
|
|
"options": {
|
|
"width": "100%",
|
|
"padding": "0 24px",
|
|
"overflowY": "auto"
|
|
}
|
|
}
|
|
]
|
|
}
|