diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-07-26 17:22:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 09:22:39 +0000 |
commit | c598741f01f9ccf32d0c4bdd905f4dc58f7af806 (patch) | |
tree | 9ba5ec390112aa5dd8f2194cc761e5b06e2d7f3d /web_src | |
parent | bc73e6a85c04d4f63b77dea9f1deac5b21d3678c (diff) | |
download | gitea-c598741f01f9ccf32d0c4bdd905f4dc58f7af806.tar.gz gitea-c598741f01f9ccf32d0c4bdd905f4dc58f7af806.zip |
Display deprecated warning in admin panel pages as well as in the log file (#26094) (#26154)
backport #26094
Temporily resolve #25915
Related #25994
This PR includes #26007 's changes but have a UI to prompt administrator
about the deprecated settings as well as the log or console warning.
Then users will have enough time to notice the problem and don't have
surprise like before.
<img width="1293" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/c33355f0-1ea7-4fb3-ad43-cd23cd15391d">
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/admin.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/web_src/css/admin.css b/web_src/css/admin.css index 7e50b7f63d..1423b651dd 100644 --- a/web_src/css/admin.css +++ b/web_src/css/admin.css @@ -1,3 +1,26 @@ +.admin-container { + margin-top: 15px; + display: flex !important; + gap: 16px; +} + +.admin-nav { + width: 240px; +} + +.admin-main { + flex: 1; +} + +@media (max-width: 767.98px) { + .admin-container { + flex-direction: column; + } + .admin-nav { + width: auto; + } +} + .admin.hooks .list > .item:not(:first-child) { border-top: 1px solid var(--color-secondary); padding: 0.25rem 1rem; |