aboutsummaryrefslogtreecommitdiff
path: root/web/index.templ
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-03-28 15:33:04 -0400
committerXe Iaso <me@xeiaso.net>2025-03-28 15:42:40 -0400
commitc30b35bc65d21e3a47d2c531056f634ceb60c4f8 (patch)
treec6018fe6bba91bb861538a2b6e9b77a5c35283ab /web/index.templ
parent937f1dd330294801411b78ab497073f36ebedd47 (diff)
downloadanubis-Xe/show-more-errors.tar.xz
anubis-Xe/show-more-errors.zip
web/js: show more errors when some probable error cases happenXe/show-more-errors
Closes #150 This should hopefully make Anubis more self-describing when errors do happen so users can self-service.
Diffstat (limited to 'web/index.templ')
-rw-r--r--web/index.templ7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/index.templ b/web/index.templ
index ca6086c..8aa626c 100644
--- a/web/index.templ
+++ b/web/index.templ
@@ -128,6 +128,11 @@ templ base(title string, body templ.Component) {
left: 12.28719px;
}
+ .mx-auto {
+ margin-left: auto;
+ margin-right: auto;
+ }
+
@keyframes lds-roller {
0% {
transform: rotate(0deg);
@@ -176,7 +181,7 @@ templ index() {
/>
<p id="status">Loading...</p>
<script async type="module" src={ "/.within.website/x/cmd/anubis/static/js/main.mjs?cacheBuster=" + anubis.Version }></script>
- <div id="spinner" class="lds-roller">
+ <div id="spinner" class="lds-roller mx-auto" style="display:none;">
<div></div>
<div></div>
<div></div>