NBloodServerSupervisor/WebInterface/Views/CustomMaps/Index.cshtml
CommonLoon102 3af4c9dfc7
add option to play custom maps on private servers (#9)
* 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
2020-01-29 15:32:23 +00:00

21 lines
574 B
Plaintext

@model List<string>
@{
ViewData["Title"] = "Custom Maps";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1>List of available custom maps</h1>
<p>You can play these custom maps even on the public servers.
If you want to play on your own map which is not listed here,
you can request a new private server and upload your map which will be
only available for that match, and the map won't appear in the below list.
</p>
<ul>
@foreach (var map in Model)
{
<li><a href="@Url.Link("DownloadCustomMap", new { map = map })">@map</a></li>
}
</ul>