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.
This commit is contained in:
parent
937f1dd330
commit
6b2ae30bae
7 changed files with 103 additions and 38 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue