diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 65cd76f..b514c9c 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -32,92 +32,11 @@ }, "subwidgets": [ { - "widgettype": "Text", + "widgettype": "widgettype", "options": { - "text": "RAG Server", - "css": "menu-title" + "url": "{{entire_url('menu.ui')}}" } }, - { - "widgettype": "Button", - "options": { - "label": "知识库", - "bgcolor": "transparent", - "color": "#ccc" - }, - "binds": [ - { - "wid": "self", - "event": "tap", - "actiontype": "urlwidget", - "target": "app.rag_main_content", - "mode": "replace", - "options": { - "url": "{{entire_url('/knowledge_bases_list/index.ui')}}" - } - } - ] - }, - { - "widgettype": "Button", - "options": { - "label": "文档管理", - "bgcolor": "transparent", - "color": "#ccc" - }, - "binds": [ - { - "wid": "self", - "event": "tap", - "actiontype": "urlwidget", - "target": "app.rag_main_content", - "mode": "replace", - "options": { - "url": "{{entire_url('/documents_list/index.ui')}}" - } - } - ] - }, - { - "widgettype": "Button", - "options": { - "label": "引擎配置", - "bgcolor": "transparent", - "color": "#ccc" - }, - "binds": [ - { - "wid": "self", - "event": "tap", - "actiontype": "urlwidget", - "target": "app.rag_main_content", - "mode": "replace", - "options": { - "url": "{{entire_url('/engine_configs_list/index.ui')}}" - } - } - ] - }, - { - "widgettype": "Button", - "options": { - "label": "订阅管理", - "bgcolor": "transparent", - "color": "#ccc" - }, - "binds": [ - { - "wid": "self", - "event": "tap", - "actiontype": "urlwidget", - "target": "app.rag_main_content", - "mode": "replace", - "options": { - "url": "{{entire_url('/subscriptions_list/index.ui')}}" - } - } - ] - } ] }, {