From 7ea16d65ce97d9547157659cde338941e61fdf92 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 28 May 2026 13:41:56 +0800 Subject: [PATCH] fix: add language switch and window dock buttons to shell top bar Restored from old top.ui: - i18n/language.ui: language switcher - Svg app-dock: show_windows_panel for minimized windows --- wwwroot/index.ui | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 82b13c2..e06e91d 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -83,6 +83,30 @@ } ] }, + { + "widgettype": "urlwidget", + "options": { + "url": "{{entire_url('i18n/language.ui')}}" + } + }, + { + "widgettype": "Svg", + "options": { + "css": "clickable", + "rate": 2, + "tip": "显示所有已最小化的窗口", + "url": "{{entire_url('/bricks/imgs/app-dock.svg')}}" + }, + "binds": [ + { + "wid": "self", + "event": "click", + "actiontype": "script", + "target": "app", + "script": "bricks.app.show_windows_panel(event)" + } + ] + }, { "widgettype": "urlwidget", "options": {