Skip to content

Commit

Permalink
Optimized loading
Browse files Browse the repository at this point in the history
  • Loading branch information
michielpost committed Sep 23, 2024
1 parent 93e8f6c commit 2aa53b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
6 changes: 4 additions & 2 deletions src/aoWebWallet/Pages/Wallets.razor
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@
}
else
{
<MudText Typo="Typo.h6">Loading wallets...</MudText>
<MudPaper Elevation="2" Class="pa-4">
<MudText Typo="Typo.h6">Loading wallets...</MudText>

<DataLoaderProgress DataLoader="BindingContext.WalletList.DataLoader" Title="wallets" />
<DataLoaderProgress DataLoader="BindingContext.WalletList.DataLoader" Title="wallets" />
</MudPaper>
}

</MudStack>
Expand Down
11 changes: 2 additions & 9 deletions src/aoWebWallet/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,14 @@

<body>
<div id="app">
<div class="all-together-loading" Style="width:100%; display:flex; flex-direction:column; justify-content:center; align-items: center; height: 100vh">
<!-- <div class="all-together-loading" Style="width:100%; display:flex; flex-direction:column; justify-content:center; align-items: center; height: 100vh">
<div Style="width:100%; display:flex; flex-direction:column; justify-content:center; align-items: center; height: 100vh">
<div class="background-xs">
<img src="images/ths.svg" Alt="AoWW" class="ww-image-start-xs" />
</div>
<h4 style="color:white;opacity: 0.55; margin-top:20px;">loading...</h4>
<!--<div class="circle-text">
<svg class="loading-progress">
<circle r="40%" cx="50%" cy="50%" />
<circle r="40%" cx="50%" cy="50%" />
</svg>
</div>
<div class="loading-progress-text"></div>-->
</div>
</div>
</div> -->
</div>

<div id="blazor-error-ui">
Expand Down

0 comments on commit 2aa53b6

Please sign in to comment.