]> source.dussan.org Git - gitea.git/commitdiff
Fix double border in system status table (#31363) (#31401)
authorGiteabot <teabot@gitea.io>
Mon, 17 Jun 2024 22:29:43 +0000 (06:29 +0800)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2024 22:29:43 +0000 (06:29 +0800)
Backport #31363 by silverwind

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
templates/admin/dashboard.tmpl

index 3445433d53eefe6a81958a1031d849664f60baf3..2f9875f0d9a1c28debe1c6f12e8afa4b3bac513b 100644 (file)
                        {{ctx.Locale.Tr "admin.dashboard.system_status"}}
                </h4>
                {{/* TODO: make these stats work in multi-server deployments, likely needs per-server stats in DB */}}
-               <div class="no-loading-indicator tw-hidden"></div>
-               <div hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".no-loading-indicator" class="ui attached table segment">
-                       {{template "admin/system_status" .}}
+               <div class="ui attached table segment">
+                       <div class="no-loading-indicator tw-hidden"></div>
+                       <div hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".no-loading-indicator">
+                               {{template "admin/system_status" .}}
+                       </div>
                </div>
        </div>
 {{template "admin/layout_footer" .}}