16 lines
400 B
Plaintext
16 lines
400 B
Plaintext
@page "/admin"
|
|
@using OpenArchival.Blazor.AdminPages.Shared
|
|
@using OpenArchival.DataAccess
|
|
@using Microsoft.AspNetCore.Authorization
|
|
|
|
@layout AdminControlPanelLayout
|
|
|
|
@attribute [Authorize(Roles =$"{UserRoles.Admin}, {UserRoles.Writer}")]
|
|
<h3>Admin Home</h3>
|
|
|
|
<p>Welcome to the admin panel of your website! Choose an option on the left hand side bar to configure this application.</p>
|
|
|
|
@code {
|
|
|
|
}
|