[frontend/components] Fix moderation settings on mobile
This commit is contained in:
parent
ce20f04e04
commit
04af2e2fb6
1 changed files with 8 additions and 1 deletions
|
@ -4,14 +4,21 @@
|
||||||
@using Microsoft.AspNetCore.Authorization
|
@using Microsoft.AspNetCore.Authorization
|
||||||
@using Microsoft.AspNetCore.Components.Sections
|
@using Microsoft.AspNetCore.Components.Sections
|
||||||
@using Microsoft.Extensions.Localization
|
@using Microsoft.Extensions.Localization
|
||||||
|
@using Iceshrimp.Frontend.Components
|
||||||
@attribute [Authorize(Roles = "moderator")]
|
@attribute [Authorize(Roles = "moderator")]
|
||||||
@layout ModerationLayout
|
|
||||||
@inject IStringLocalizer<Localization> Loc;
|
@inject IStringLocalizer<Localization> Loc;
|
||||||
|
|
||||||
<SectionContent SectionName="top-bar">
|
<SectionContent SectionName="top-bar">
|
||||||
<Icon Name="Icons.Shield"></Icon>
|
<Icon Name="Icons.Shield"></Icon>
|
||||||
@Loc["Moderation"]
|
@Loc["Moderation"]
|
||||||
</SectionContent>
|
</SectionContent>
|
||||||
|
<div class="layout">
|
||||||
|
<div class="sidebar">
|
||||||
|
<ModerationMenu/>
|
||||||
|
</div>
|
||||||
|
<div class="body">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue