mirror of
https://github.com/CommonLoon102/NBloodServerSupervisor.git
synced 2024-12-23 11:12:47 +01:00
3af4c9dfc7
* add option to play custom maps on private servers * don't show every exception to the end-user * hash the IPs * add description about the purpose of the public custom map list * add punctuation to error messages
39 lines
1006 B
Plaintext
39 lines
1006 B
Plaintext
@model PrivateViewModel
|
|
@{
|
|
ViewData["Title"] = "Request Private Server";
|
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
|
}
|
|
|
|
<h1>@ViewData["Title"]</h1>
|
|
<div class="bordered" style="padding:4px">
|
|
<form enctype="multipart/form-data" method="post">
|
|
<dl>
|
|
<dt>
|
|
<label asp-for="ModName"></label>
|
|
</dt>
|
|
<dd>
|
|
<select asp-for="ModName" asp-items="Model.ModNames"></select>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>
|
|
<label asp-for="Players"></label>
|
|
</dt>
|
|
<dd>
|
|
<input type="number" min="2" max="7" asp-for="Players" />
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>
|
|
<label asp-for="FormFile"></label>
|
|
</dt>
|
|
<dd>
|
|
<input asp-for="FormFile" type="file" accept=".map">
|
|
</dd>
|
|
</dl>
|
|
<button asp-route="RequestPrivateServer">Request</button>
|
|
</form>
|
|
</div>
|