ssb: Double down on a loading indicator.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 21m29s

This commit is contained in:
Cory McWilliams 2024-12-24 12:45:25 -05:00
parent 68f6c90ea4
commit 500f172561
2 changed files with 7 additions and 10 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&e997wZKsisgdoMKDf52LAk4Vzzdhbp9M25eC68AoReE=.sha256" "previous": "&rhBtzGjBcBKINc5qlyopW95SMiPPEP/0GQRDjH6Hsz0=.sha256"
} }

View File

@ -543,15 +543,12 @@ class TfElement extends LitElement {
)} )}
</div> </div>
`; `;
let contents = !this.loaded let contents = !this.loaded || this.loading
? this.loading ? html`<div
? html`<div class="w3-display-middle w3-panel w3-theme-l5 w3-card-4 w3-padding-large w3-round-xlarge w3-xlarge"
class="w3-panel w3-theme-l5 w3-card-4 w3-padding-large w3-round-xlarge" >
> <span class="w3-spin" style="display: inline-block">🦀</span> Loading...
Loading... </div>`
</div>
${this.render_tab()}`
: html`<div>Select or create an identity.</div>`
: this.render_tab(); : this.render_tab();
return html` return html`
<div <div