diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-03-28 15:47:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-28 15:47:18 -0400 |
| commit | 6b2ae30baef6cdc1796a5ec5495c11686aaca50e (patch) | |
| tree | c6018fe6bba91bb861538a2b6e9b77a5c35283ab /web/index.templ | |
| parent | 937f1dd330294801411b78ab497073f36ebedd47 (diff) | |
| download | anubis-6b2ae30baef6cdc1796a5ec5495c11686aaca50e.tar.xz anubis-6b2ae30baef6cdc1796a5ec5495c11686aaca50e.zip | |
web/js: show more errors when some probable error cases happen (#151)
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.templ | 7 |
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> |
