Properly organize mod panel related pages

This commit is contained in:
jvyden 2022-08-14 17:02:18 -04:00
commit 5b1342c29d
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
10 changed files with 10 additions and 13 deletions

View file

@ -0,0 +1,32 @@
@page "/moderation/newCase"
@using LBPUnion.ProjectLighthouse.Administration
@model LBPUnion.ProjectLighthouse.Servers.Website.Pages.Moderation.NewCasePage
@{
Layout = "Layouts/BaseLayout";
Model.Title = $"New {Model.Type.ToString()} Case";
}
<form method="post">
@Html.AntiForgeryToken()
<input type="hidden" name="type" value="@((int)Model.Type)"/>
<input type="hidden" name="affectedId" value="@Model.AffectedId"/>
<div class="ui left labeled input">
<label for="reason" class="ui blue label">Reason: </label>
<input type="text" name="reason" id="reason"/>
</div><br/><br/>
<div class="ui left labeled input">
<label for="mod-notes" class="ui blue label">Mod Notes: </label>
<input type="text" name="modNotes" id="mod-notes"/>
</div><br/><br/>
<div class="ui left labeled input">
<label for="expires" class="ui blue label">Expires: </label>
<input type="datetime-local" name="expires" id="expires"/>
</div><br/><br/>
<br/><input type="submit" value="Create case" class="ui red button"/>
</form>