diff --git a/wwwroot/index.ui b/wwwroot/index.ui index e7bec99..1416a1c 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -33,164 +33,154 @@ ] }, { - "widgettype": "VScrollPanel", + "widgettype": "VBox", "options": { - "css": "filler" + "css": "filler", + "spacing": 16 }, "subwidgets": [ { - "widgettype": "VBox", + "widgettype": "ResponsableBox", "options": { - "spacing": 24 + "gap": "16px", + "minWidth": "250px" }, "subwidgets": [ { - "widgettype": "ResponsableBox", + "widgettype": "VBox", "options": { - "gap": "16px", - "minWidth": "250px" + "css": "card", + "cwidth": 23, + "padding": "16px", + "cursor": "pointer", + "borderRadius": "8px" }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "app.llmage_content", + "options": { + "url": "{{entire_url('/llmage/llmcatelog_list.ui')}}" + }, + "mode": "replace" + } + ], "subwidgets": [ { - "widgettype": "VBox", + "widgettype": "Svg", "options": { - "css": "card", - - "cwidth": 23, - "padding": "16px", - "cursor": "pointer", - "borderRadius": "8px" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "app.llmage_content", - "options": { - "url": "{{entire_url('/llmage/llmcatelog_list.ui')}}" - }, - "mode": "replace" - } - ], - "subwidgets": [ - { - "widgettype": "Svg", - "options": { - "svg": "", - "width": "28px", - "height": "28px" - } - }, - { - "widgettype": "Title4", - "options": { - "text": "模型类型管理", - "marginTop": "8px" - } - }, - { - "widgettype": "Text", - "options": { - "text": "管理模型的分类和类型", - "cfontsize": 1.2 - } - } - ] + "svg": "", + "width": "28px", + "height": "28px" + } }, { - "widgettype": "VBox", + "widgettype": "Title4", "options": { - "css": "card", - - "cwidth": 23, - "padding": "16px", - "cursor": "pointer", - "borderRadius": "8px" - }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "app.llmage_content", - "options": { - "url": "{{entire_url('/llmage/llm')}}" - }, - "mode": "replace" - } - ], - "subwidgets": [ - { - "widgettype": "Svg", - "options": { - "svg": "", - "width": "28px", - "height": "28px" - } - }, - { - "widgettype": "Title4", - "options": { - "text": "模型管理", - "marginTop": "8px" - } - }, - { - "widgettype": "Text", - "options": { - "text": "管理 LLM 模型配置", - "cfontsize": 1.2 - } - } - ] + "text": "模型类型管理", + "marginTop": "8px" + } }, { - "widgettype": "VBox", + "widgettype": "Text", "options": { - "css": "card", - - "cwidth": 23, - "padding": "16px", - "cursor": "pointer", - "borderRadius": "8px" + "text": "管理模型的分类和类型", + "cfontsize": 1.2 + } + } + ] + }, + { + "widgettype": "VBox", + "options": { + "css": "card", + "cwidth": 23, + "padding": "16px", + "cursor": "pointer", + "borderRadius": "8px" + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "app.llmage_content", + "options": { + "url": "{{entire_url('/llmage/llm')}}" }, - "binds": [ - { - "wid": "self", - "event": "click", - "actiontype": "urlwidget", - "target": "app.llmage_content", - "options": { - "url": "{{entire_url('/llmage/failed_accounting.ui')}}" - }, - "mode": "replace" - } - ], - "subwidgets": [ - { - "widgettype": "Svg", - "options": { - "svg": "", - "width": "28px", - "height": "28px" - } - }, - { - "widgettype": "Title4", - "options": { - "text": "记账失败记录", - "marginTop": "8px" - } - }, - { - "widgettype": "Text", - "options": { - "text": "查看和检索记账失败的记录", - "cfontsize": 1.2 - } - } - ] + "mode": "replace" + } + ], + "subwidgets": [ + { + "widgettype": "Svg", + "options": { + "svg": "", + "width": "28px", + "height": "28px" + } + }, + { + "widgettype": "Title4", + "options": { + "text": "模型管理", + "marginTop": "8px" + } + }, + { + "widgettype": "Text", + "options": { + "text": "管理 LLM 模型配置", + "cfontsize": 1.2 + } + } + ] + }, + { + "widgettype": "VBox", + "options": { + "css": "card", + "cwidth": 23, + "padding": "16px", + "cursor": "pointer", + "borderRadius": "8px" + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "urlwidget", + "target": "app.llmage_content", + "options": { + "url": "{{entire_url('/llmage/failed_accounting.ui')}}" + }, + "mode": "replace" + } + ], + "subwidgets": [ + { + "widgettype": "Svg", + "options": { + "svg": "", + "width": "28px", + "height": "28px" + } + }, + { + "widgettype": "Title4", + "options": { + "text": "记账失败记录", + "marginTop": "8px" + } + }, + { + "widgettype": "Text", + "options": { + "text": "查看和检索记账失败的记录", + "cfontsize": 1.2 + } } ] } @@ -198,7 +188,11 @@ }, { "widgettype": "VBox", - "id": "llmage_content" + "id": "llmage_content", + "options": { + "css": "filler", + "height": "100%" + } } ] }