Pavel Vesely 8dd2677b8f Menu component refactoring
Login component refactoring
2020-04-27 10:05:13 +02:00

15 lines
411 B
Plaintext

@namespace Oqtane.Themes.Controls
@inherits LoginBase
<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>