fix: remove hardcoded dark theme colors from index.ui

This commit is contained in:
yumoqing 2026-05-28 16:14:04 +08:00
parent 6155ea176b
commit 4f1357e855

View File

@ -1,45 +1,95 @@
{ {
"widgettype": "TabPanel", "widgettype": "VBox",
"options": { "options": {
"tab_wide": "auto",
"interval": "15px",
"height": "100%",
"width": "100%", "width": "100%",
"tab_pos": "top", "height": "100%",
"items": [ "padding": "0"
{
"name": "add", },
"label": "添加文件", "subwidgets": [
"refresh": true, {
"content": { "widgettype": "HBox",
"widgettype": "urlwidget", "options": {
"options": { "width": "100%",
"url": "{{entire_url('add.ui')}}" "alignItems": "center",
} "marginBottom": "24px"
}
}, },
{ "subwidgets": [
"name": "query", {
"label": "查询知识库", "widgettype": "Title2",
"refresh": true,
"content": {
"widgettype": "urlwidget",
"options": { "options": {
"url": "{{entire_url('query.ui')}}" "text": "知识库管理",
"fontWeight": "700"
}
},
{
"widgettype": "Filler"
},
{
"widgettype": "Text",
"options": {
"text": "向量知识库的文档管理、检索与测试",
"fontSize": "14px"
} }
} }
}, ]
{ },
"name": "delete", {
"label": "删除文件", "widgettype": "TabPanel",
"refresh": true, "options": {
"content": { "tab_wide": "auto",
"widgettype": "urlwidget", "interval": "15px",
"options": { "height": "calc(100% - 50px)",
"url": "{{entire_url('delete.ui')}}" "width": "100%",
"tab_pos": "top",
"items": [
{
"name": "add",
"label": "添加文件",
"refresh": true,
"content": {
"widgettype": "urlwidget",
"options": {
"url": "{{entire_url('/rag/add.ui')}}"
}
}
},
{
"name": "query",
"label": "查询知识库",
"refresh": true,
"content": {
"widgettype": "urlwidget",
"options": {
"url": "{{entire_url('/rag/query.ui')}}"
}
}
},
{
"name": "delete",
"label": "删除文件",
"refresh": true,
"content": {
"widgettype": "urlwidget",
"options": {
"url": "{{entire_url('/rag/delete.ui')}}"
}
}
},
{
"name": "programs",
"label": "知识库程序",
"refresh": true,
"content": {
"widgettype": "urlwidget",
"options": {
"url": "{{entire_url('/rag/programs.ui')}}"
}
}
} }
} ]
} }
] }
} ]
} }