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