Clean up "Authorizing" message on page load
This commit is contained in:
parent
c1387fc8ea
commit
8a5e54d17c
3 changed files with 17 additions and 1 deletions
|
|
@ -4,6 +4,12 @@
|
|||
<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
|
||||
<Found Context="routeData">
|
||||
<AuthorizeRouteView RouteData="@routeData">
|
||||
<Authorizing>
|
||||
<div class="text-center authorizingContainer">
|
||||
<div class="loading loading-lg"></div>
|
||||
Authorizing...
|
||||
</div>
|
||||
</Authorizing>
|
||||
<NotAuthorized>
|
||||
@if (!context.User.Identity?.IsAuthenticated ?? false)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -47,6 +47,14 @@
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.authorizingContainer {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
#sidebar {
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue