Updated admin page to be more streamlined and added the beginning of the blogging features

This commit is contained in:
Vincent Allen
2025-10-21 13:32:39 -04:00
parent 0e24ce2073
commit b34449808f
224 changed files with 27064 additions and 396 deletions

View File

@@ -0,0 +1,39 @@
@namespace OpenArchival.Blazor.AdminPages
@layout AdminControlPanelLayout
@page "/admin/archiveadmin"
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Authorization
@using MudBlazor
@using static Microsoft.AspNetCore.Components.Web.RenderMode
@rendermode InteractiveServer
@*@attribute [Authorize(Roles = "Admin")]*@
<MudTabs
ApplyEffectsToContainer="true"
PanelClass=""
Centered=true>
<MudTabPanel Text="Categories">
<ViewAddCategoriesComponent></ViewAddCategoriesComponent>
</MudTabPanel>
<MudTabPanel Text="Add Grouping">
<AddArchiveGroupingComponent
GroupingPublished="Helpers.OnGroupingPublished"
ForwardLink="@null"
ClearOnPublish=true/>
</MudTabPanel>
<MudTabPanel Text="Manage Groupings">
<ArchiveGroupingsTable/>
</MudTabPanel>
</MudTabs>
@inject ArtifactEntrySharedHelpers Helpers;
@inject IDialogService DialogService;
@code {
}