oqtane.framework/Oqtane.Client/Themes/Controls/Login.razor

16 lines
490 B
Plaintext

@namespace Oqtane.Themes.Controls
@inherits LoginBase
<span class="app-login">
<AuthorizeView>
<Authorizing>
<text>...</text>
</Authorizing>
<Authorized>
<button type="button" class="btn btn-primary" @onclick="LogoutUser">Logout</button>
</Authorized>
<NotAuthorized>
<button type="button" class="btn btn-primary" @onclick="LoginUser">Login</button>
</NotAuthorized>
</AuthorizeView>
</span>