feat: The posts are now sorted
fix: modmenu now checks for the permission, you now have to be 18yo to access the boards, images now get deleted when deleting threads / posts, fixed grammar error in the register page, other fixed which i forget
This commit is contained in:
parent
f0fbb11824
commit
dcc7634f5e
13 changed files with 219 additions and 88 deletions
|
@ -3,7 +3,7 @@
|
|||
@inject AuthenticationStateProvider authStateProvider
|
||||
@inject NavigationManager navManager
|
||||
|
||||
<AuthorizeView>
|
||||
<AuthorizeView Roles="Admin,Mod">
|
||||
<Authorized>
|
||||
<h3>ModMenu</h3>
|
||||
<span>Welcome @mail to the mod menu</span>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
@page "/sys/reports"
|
||||
@using ImageBoardServerApp.Data.Repository
|
||||
<AuthorizeView>
|
||||
<AuthorizeView Roles="Admin,Mod">
|
||||
<Authorized>
|
||||
<h3>Reports</h3>
|
||||
@foreach (var r in reports)
|
||||
{
|
||||
<Report report="r"/>
|
||||
<ReportEntry report="r"/>
|
||||
<hr/>
|
||||
}
|
||||
</Authorized>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@page "/sys/users"
|
||||
@using ImageBoardServerApp.Data.Repository
|
||||
<AuthorizeView>
|
||||
<AuthorizeView Roles="Admin">
|
||||
<Authorized>
|
||||
<h3>Users</h3>
|
||||
@foreach (var u in users)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue