home page: align horizontally centered (#5)

This commit is contained in:
CommonLoon102 2020-01-27 14:43:11 +00:00 committed by GitHub
parent 96ae1a29b2
commit 4f96ad89db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@
ListServers = @<div> ListServers = @<div>
@foreach (var server in Model.Servers.Where(s => s.Mod == item).OrderBy(s => s.MaximumPlayers)) @foreach (var server in Model.Servers.Where(s => s.Mod == item).OrderBy(s => s.MaximumPlayers))
{ {
<div style="border:2px solid cornflowerblue;"> <div style="border:2px solid cornflowerblue;padding-left:1em">
<p style="font-weight:bold">Players: @(server.CurrentPlayers - 1)/@(server.MaximumPlayers - 1)</p> <p style="font-weight:bold">Players: @(server.CurrentPlayers - 1)/@(server.MaximumPlayers - 1)</p>
<div> <div>
@if (server.IsStarted) @if (server.IsStarted)
@ -50,106 +50,116 @@
background-color: black; background-color: black;
color: whitesmoke; color: whitesmoke;
} }
.warning { .warning {
border: dashed 4px red; border: dashed 4px red;
font-weight: bold; font-weight: bold;
} }
.bolder { .bolder {
font-weight: bolder; font-weight: bolder;
} }
.main {
margin: auto;
max-width: 900px;
padding: 10px;
}
</style> </style>
</head> </head>
<body style="background-color: cornsilk"> <body style="background-color: cornsilk">
<h1>The client EXE</h1> <div class="main">
<p>Use this exe to connect: <a href="https://lerppu.net/wannabethesis/nblood/20200113-2073/">https://lerppu.net/wannabethesis/nblood/20200113-2073/</a></p> <h1>The client EXE</h1>
<p>Use this exe to connect: <a href="https://lerppu.net/wannabethesis/nblood/20200113-2073/">https://lerppu.net/wannabethesis/nblood/20200113-2073/</a></p>
<p><span class="bolder" style="font-size:larger">@Model.ManHoursPlayed</span> man-hours played since @Model.RunningSinceUtc</p> <p><span class="bolder" style="font-size:larger">@Model.ManHoursPlayed</span> man-hours played since @Model.RunningSinceUtc</p>
<h2>@b 1.21</h2> <h2>@b 1.21</h2>
<details> <details>
<summary>Show @b <span class="bolder">version 1.21</span> servers</summary> <summary>Show @b <span class="bolder">version 1.21</span> servers</summary>
<p>The below files must be in your Blood directory.</p> <p>The below files must be in your Blood directory:</p>
<ul> <ul>
<li>BLOOD.INI</li> <li>BLOOD.INI</li>
<li>BLOOD.RFF</li> <li>BLOOD.RFF</li>
<li>GUI.RFF</li> <li>GUI.RFF</li>
<li>SOUNDS.RFF</li> <li>SOUNDS.RFF</li>
<li>SURFACE.DAT</li> <li>SURFACE.DAT</li>
<li>TILES000.ART-TILES017.ART</li> <li>TILES000.ART-TILES017.ART</li>
<li>VOXEL.DAT</li> <li>VOXEL.DAT</li>
</ul> </ul>
@ListServers(@b) @ListServers(@b)
</details> </details>
<br /> <br />
<h2>@cp</h2> <h2>@cp</h2>
<details> <details>
<summary>Show @cp servers</summary> <summary>Show @cp servers</summary>
<p>The below files must be in your Blood directory.</p> <p>The below files must be in your Blood directory:</p>
<ul> <ul>
<li>CP01-CP09.MAP</li> <li>CP01-CP09.MAP</li>
<li>CPART07.AR_ (Fresh Supply owners need to copy tiles007.ART from <span class="code">\addons\Cryptic Passage</span> and rename it</li> <li>CPART07.AR_ (Fresh Supply owners need to copy tiles007.ART from <span class="code">\addons\Cryptic Passage</span> and rename it</li>
<li>CPART15.AR_ (Fresh Supply owners need to copy tiles015.ART from <span class="code">\addons\Cryptic Passage</span> and rename it</li> <li>CPART15.AR_ (Fresh Supply owners need to copy tiles015.ART from <span class="code">\addons\Cryptic Passage</span> and rename it</li>
<li>CPBB01.MAP-CPBB04.MAP</li> <li>CPBB01.MAP-CPBB04.MAP</li>
<li>CPSL.MAP</li> <li>CPSL.MAP</li>
<li>CRYPTIC.INI</li> <li>CRYPTIC.INI</li>
</ul> </ul>
<p class="warning">Don't forget to send back the ferry every time at the end of the last map, otherwise you cannot go back if the boss kills you!</p> <p class="warning">Don't forget to send back the ferry every time at the end of the last map, otherwise you cannot go back if the boss kills you!</p>
@ListServers(@cp) @ListServers(@cp)
</details> </details>
<br /> <br />
<h2>@dw 1.6.10</h2> <h2>@dw 1.6.10</h2>
<details> <details>
<summary>Show @dw <span class="bolder">version 1.6.10</span> servers</summary> <summary>Show @dw <span class="bolder">version 1.6.10</span> servers</summary>
<p>The below files must be in your Blood directory.</p> <p>The below files must be in your Blood directory:</p>
<ul> <ul>
<li>dw.ini</li> <li>dw.ini</li>
<li>DWBB1.MAP-DWBB3.MAP</li> <li>DWBB1.MAP-DWBB3.MAP</li>
<li>DWE1M1.MAP-DWE1M12.MAP</li> <li>DWE1M1.MAP-DWE1M12.MAP</li>
<li>DWE2M1.MAP-DWE2M12.MAP</li> <li>DWE2M1.MAP-DWE2M12.MAP</li>
<li>DWE3M1.MAP-DWE3M12.MAP</li> <li>DWE3M1.MAP-DWE3M12.MAP</li>
</ul> </ul>
@ListServers(@dw) @ListServers(@dw)
</details> </details>
<br /> <br />
<h2>@twoira 1.0.1</h2> <h2>@twoira 1.0.1</h2>
<details> <details>
<summary>Show @twoira <span class="bolder">version 1.0.1</span> servers</summary> <summary>Show @twoira <span class="bolder">version 1.0.1</span> servers</summary>
<p>@twoira </p> <p>@twoira </p>
<p>The below folder (TWOIRA) must be in your Blood directory, and inside that the other additional files.</p> <p>The below folder (TWOIRA) must be in your Blood directory, and inside that the other additional files:</p>
<ul> <ul>
<li>TWOIRA</li> <li>TWOIRA</li>
<li> <li>
<ul> <ul>
<li>IRA01.MAP</li> <li>IRA01.MAP</li>
<li>IRA02_A.MAP</li> <li>IRA02_A.MAP</li>
<li>IRA02_B.MAP</li> <li>IRA02_B.MAP</li>
<li>IRA03.MAP</li> <li>IRA03.MAP</li>
<li>IRA04.MAP</li> <li>IRA04.MAP</li>
<li>IRA05.MAP</li> <li>IRA05.MAP</li>
<li>IRA06.MAP</li> <li>IRA06.MAP</li>
<li>IRA07.MAP</li> <li>IRA07.MAP</li>
<li>IRA08.MAP</li> <li>IRA08.MAP</li>
<li>SURFACE.DAT</li> <li>SURFACE.DAT</li>
<li>TILES18.ART</li> <li>TILES18.ART</li>
<li>twoira.ini</li> <li>twoira.ini</li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ListServers(twoira) @ListServers(twoira)
</details> </details>
<h2>@fo 1.3</h2> <h2>@fo 1.3</h2>
<details> <details>
<summary>Show @fo <span class="bolder">version 1.3</span> servers</summary> <summary>Show @fo <span class="bolder">version 1.3</span> servers</summary>
<p>The below files must be in your Blood directory.</p> <p>The below files must be in your Blood directory:</p>
<ul> <ul>
<li>fo.INI</li> <li>fo.INI</li>
<li>fo1m1.MAP-fo1m8.MAP</li> <li>fo1m1.MAP-fo1m8.MAP</li>
</ul> </ul>
<p class="warning">Not tested in co-op! But I hope it works! :)</p> <p class="warning">Not tested in co-op! But I hope it works! :)</p>
@ListServers(@fo) @ListServers(@fo)
</details> </details>
<br /> <br />
<hr /> <hr />
<p>Do you think this page is ugly? You are right! If you want to make it better, PRs are welcomed (but please, don't use any JavaScript, thanks): <a href="https://github.com/CommonLoon102/NBloodServerSupervisor">https://github.com/CommonLoon102/NBloodServerSupervisor</a></p> <p>Do you think this page is ugly? You are right! If you want to make it better, PRs are welcomed (but please, don't use any JavaScript, thanks): <a href="https://github.com/CommonLoon102/NBloodServerSupervisor">https://github.com/CommonLoon102/NBloodServerSupervisor</a></p>
</div>
</body> </body>
</html> </html>