From 5a5ab8ef5ac5fbdb893707933f06ff6bcd8e834a Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Sat, 29 Apr 2023 19:35:59 +0800 Subject: [PATCH] Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) Since 2015/2016, there is a global pollution: ".ui.left" / ".ui.right". Fomantic UI doesn't work this way, it just conflicts with many Fomantic definitions. This PR starts the cleaning work of such techinical debts. And, the "label list" page has been quite messy for long time, for example, why "li" appears in "div" ...... And fix #24296
![image](https://user-images.githubusercontent.com/2114189/235051281-54c5374c-b5fd-4b5f-9aa2-02d4bb2d9112.png) ![image](https://user-images.githubusercontent.com/2114189/235055703-2ba042e0-4db7-4e63-8646-02f390d496b5.png) ![image](https://user-images.githubusercontent.com/2114189/235056310-4f6ffdc2-5758-4927-8fb8-314d9fb72a6b.png) ![image](https://user-images.githubusercontent.com/2114189/235058400-dab1c9ec-3325-4671-8345-aee6b0b68042.png) ![image](https://user-images.githubusercontent.com/2114189/235058424-85509532-b9bc-43ad-b00f-a87184c60f22.png)
--- templates/admin/dashboard.tmpl | 22 ++-- templates/base/footer_content.tmpl | 6 +- templates/base/head.tmpl | 2 +- templates/org/team/members.tmpl | 4 +- templates/org/team/repositories.tmpl | 4 +- templates/repo/cite/cite_modal.tmpl | 2 +- templates/repo/diff/conversation.tmpl | 4 +- templates/repo/header.tmpl | 20 ++- templates/repo/issue/labels/label_list.tmpl | 123 +++++++++--------- templates/repo/issue/list.tmpl | 2 +- templates/user/dashboard/navbar.tmpl | 2 +- web_src/css/base.css | 59 ++------- .../combomarkdowneditor.css} | 0 web_src/css/helpers.css | 8 +- web_src/css/home.css | 21 ++- web_src/css/index.css | 5 +- web_src/css/repository.css | 2 +- web_src/css/repository/issue-label.css | 44 +++++++ .../release-tag.css} | 0 19 files changed, 168 insertions(+), 162 deletions(-) rename web_src/css/{editor-markdown.css => editor/combomarkdowneditor.css} (100%) create mode 100644 web_src/css/repository/issue-label.css rename web_src/css/{repository-release-tag.css => repository/release-tag.css} (100%) diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index 678445137..91a84aebf 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -23,51 +23,51 @@ {{.locale.Tr "admin.dashboard.delete_inactive_accounts"}} - + {{.locale.Tr "admin.dashboard.delete_repo_archives"}} - + {{.locale.Tr "admin.dashboard.delete_missing_repos"}} - + {{.locale.Tr "admin.dashboard.git_gc_repos"}} - + {{if and (not .SSH.Disabled) (not .SSH.StartBuiltinServer)}} {{.locale.Tr "admin.dashboard.resync_all_sshkeys"}}
{{.locale.Tr "admin.dashboard.resync_all_sshkeys.desc"}} - + {{.locale.Tr "admin.dashboard.resync_all_sshprincipals"}}
{{.locale.Tr "admin.dashboard.resync_all_sshprincipals.desc"}} - + {{end}} {{.locale.Tr "admin.dashboard.resync_all_hooks"}} - + {{.locale.Tr "admin.dashboard.reinit_missing_repos"}} - + {{.locale.Tr "admin.dashboard.sync_external_users"}} - + {{.locale.Tr "admin.dashboard.repo_health_check"}} - + {{.locale.Tr "admin.dashboard.delete_generated_repository_avatars"}} - + diff --git a/templates/base/footer_content.tmpl b/templates/base/footer_content.tmpl index 17c75c687..f52727448 100644 --- a/templates/base/footer_content.tmpl +++ b/templates/base/footer_content.tmpl @@ -1,5 +1,5 @@ -