fix: remove hardcoded dark theme colors from index.ui
This commit is contained in:
parent
6155ea176b
commit
4f1357e855
@ -1,9 +1,46 @@
|
||||
{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"height": "100%",
|
||||
"padding": "0"
|
||||
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "HBox",
|
||||
"options": {
|
||||
"width": "100%",
|
||||
"alignItems": "center",
|
||||
"marginBottom": "24px"
|
||||
},
|
||||
"subwidgets": [
|
||||
{
|
||||
"widgettype": "Title2",
|
||||
"options": {
|
||||
"text": "知识库管理",
|
||||
"fontWeight": "700"
|
||||
}
|
||||
},
|
||||
{
|
||||
"widgettype": "Filler"
|
||||
},
|
||||
{
|
||||
"widgettype": "Text",
|
||||
"options": {
|
||||
"text": "向量知识库的文档管理、检索与测试",
|
||||
"fontSize": "14px"
|
||||
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"widgettype": "TabPanel",
|
||||
"options": {
|
||||
"tab_wide": "auto",
|
||||
"interval": "15px",
|
||||
"height": "100%",
|
||||
"height": "calc(100% - 50px)",
|
||||
"width": "100%",
|
||||
"tab_pos": "top",
|
||||
"items": [
|
||||
@ -14,7 +51,7 @@
|
||||
"content": {
|
||||
"widgettype": "urlwidget",
|
||||
"options": {
|
||||
"url": "{{entire_url('add.ui')}}"
|
||||
"url": "{{entire_url('/rag/add.ui')}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -25,7 +62,7 @@
|
||||
"content": {
|
||||
"widgettype": "urlwidget",
|
||||
"options": {
|
||||
"url": "{{entire_url('query.ui')}}"
|
||||
"url": "{{entire_url('/rag/query.ui')}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -36,10 +73,23 @@
|
||||
"content": {
|
||||
"widgettype": "urlwidget",
|
||||
"options": {
|
||||
"url": "{{entire_url('delete.ui')}}"
|
||||
"url": "{{entire_url('/rag/delete.ui')}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "programs",
|
||||
"label": "知识库程序",
|
||||
"refresh": true,
|
||||
"content": {
|
||||
"widgettype": "urlwidget",
|
||||
"options": {
|
||||
"url": "{{entire_url('/rag/programs.ui')}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user