Add admin calendar management page for event occurrences

This commit introduces a new Admin.razor page for managing event occurrences within the calendar feature. The page includes functionality to display statistics about event occurrences, such as total counts and potential duplicates, and allows administrators to delete occurrences by specifying a date range. This enhancement improves the administrative capabilities of the calendar feature, providing a dedicated interface for data management.
This commit is contained in:
2026-01-09 11:22:13 -05:00
parent 440893c84d
commit 99880e78c7
2 changed files with 236 additions and 0 deletions
@@ -11,6 +11,9 @@
<PageHeader Title="Event Calendar" Description="View competition schedules and event occurrences" Icon="@AppIcons.EventCalendar">
<ActionButtons>
<MudButton StartIcon="@Icons.Material.Filled.ImportExport" Href="calendar/event-occurrences/import" Variant="Variant.Filled" Color="Color.Primary">Import</MudButton>
<AuthorizeView Roles="@AuthRoles.Administrator">
<MudButton StartIcon="@Icons.Material.Filled.AdminPanelSettings" Href="calendar/admin" Variant="Variant.Outlined" Color="Color.Default">Admin</MudButton>
</AuthorizeView>
</ActionButtons>
</PageHeader>