ProjectLighthouse/ProjectLighthouse.Servers.Website/Pages/Moderation/NewCasePage.cshtml
Josh f6a7fe6283
User settings, level settings, language and timezone selection and more. (#471)
* Initial work for user settings page

* Finish user setting and slot setting pages

* Don't show slot upload date on home page and fix team pick redirection

* Fix upload image button alignment on mobile

* Fix image upload on iPhone

* Remove unused css and add selected button color

* Fix login email check and bump ChromeDriver to 105

* Remove duplicated code and allow users to leave fields empty

* Add unpublish button on level settings and move settings button position

* Don't show edit button on mini card

* Self review bug fixes and users can no longer use an in-use email
2022-09-17 14:02:46 -05:00

31 lines
No EOL
1 KiB
Text

@page "/moderation/newCase"
@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>