finalizare 1.0
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@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);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
@inject NavigationManager Navigation
|
||||
@layout MainLayout;
|
||||
<link href="css/Components/PageNotFoundHandler.css" rel="stylesheet"/>
|
||||
|
||||
<div class="page-not-found-container">
|
||||
<h1>Page Not Found</h1>
|
||||
<p>The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.</p>
|
||||
<ul>
|
||||
<li>Check the URL for typos.</li>
|
||||
<li>Return to the <a href="/">Homepage</a>.</li>
|
||||
</ul>
|
||||
<button class="btn btn-primary" @onclick="GoHome">Return to Home Page</button>
|
||||
</div>
|
||||
|
||||
@code {
|
||||
|
||||
void GoHome()
|
||||
{
|
||||
Navigation.NavigateTo("/", true);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user