23 lines
736 B
Plaintext
23 lines
736 B
Plaintext
@inject NavigationManager Navigation
|
|
@layout MainLayout;
|
|
<link href="css/Components/NotAuthorizedHandler.css" rel="stylesheet"/>
|
|
|
|
<div class="not-authorized-container">
|
|
<h1>Access Denied</h1>
|
|
<p>You do not have permission to view this page. This might be due to one of several reasons:</p>
|
|
<ul>
|
|
<li>You are not logged in. <a href="/login">Login</a> to continue.</li>
|
|
<li>You do not have the necessary permissions to access this resource.</li>
|
|
</ul>
|
|
<p>If you think this is a mistake, please contact your administrator.</p>
|
|
<button class="btn btn-primary" @onclick="GoHome">Return to Home Page</button>
|
|
</div>
|
|
|
|
@code {
|
|
|
|
void GoHome()
|
|
{
|
|
Navigation.NavigateTo("/", true);
|
|
}
|
|
|
|
} |