Skip to content

Commit

Permalink
Add page titles for admin pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed Jun 15, 2024
1 parent 86a9fc3 commit 5a98233
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ReplayBrowser/Pages/Account/Admin.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
@using Microsoft.AspNetCore.Components.Authorization
@using ReplayBrowser.Data.Models.Account
@using ReplayBrowser.Services
@using Microsoft.AspNetCore.Components.Web
@inject AuthenticationStateProvider AuthenticationStateProvider
@inject AccountService AccountService
@attribute [Authorize]

<PageTitle>Admin</PageTitle>

<h3>Listing all accounts:</h3>
@if (_isNotAdmin)
{
Expand Down
3 changes: 3 additions & 0 deletions ReplayBrowser/Pages/Account/Logs.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
@using Microsoft.AspNetCore.Components.Authorization
@using ReplayBrowser.Data
@using ReplayBrowser.Services
@using Microsoft.AspNetCore.Components.Web
@inject AuthenticationStateProvider AuthenticationStateProvider
@inject AccountService AccountService
@inject NavigationManager NavigationManager
@attribute [Authorize]

<PageTitle>Logs</PageTitle>

<h3>Logs</h3>
<div class="search-bar">
<div class="d-flex ms-auto">
Expand Down

0 comments on commit 5a98233

Please sign in to comment.