diff options
author | Yarden Shoham <git@yardenshoham.com> | 2024-04-27 16:05:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 13:05:06 +0000 |
commit | 51c28d96838a743d2ba4fd679d92e8e15b536a19 (patch) | |
tree | d84f8a08a62f888ce0301c0a6bbd644ca9a98d14 | |
parent | d3cdef88ad4784c19afcf24fbf62fccb03f456ba (diff) | |
download | gitea-51c28d96838a743d2ba4fd679d92e8e15b536a19.tar.gz gitea-51c28d96838a743d2ba4fd679d92e8e15b536a19.zip |
Don't show loading indicators when refreshing the system status (#30712)
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
-rw-r--r-- | templates/admin/dashboard.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index 589fc5048a..3445433d53 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -76,7 +76,8 @@ {{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 hx-get="{{$.Link}}/system_status" hx-swap="morph:innerHTML" hx-trigger="every 5s" hx-indicator=".divider" 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" class="ui attached table segment"> {{template "admin/system_status" .}} </div> </div> |