Browse Source

Fix Index page formatting for "all"

master
Gregory Rudolph 3 years ago
parent
commit
31bcba74d1
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      Pages/Index.cshtml
  2. 2
      Pages/Index.cshtml.cs

2
Pages/Index.cshtml

@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
</div>
<div class="list-group-item list-group-item-action bg-light">
<a href="/vendor/WotDN.tgz">Download Windows Client Here</a><br>
<a href="/vendor/WotDN.app">Download macOS Client Here</a><br>
<a href="/vendor/WotDN-macOS.tgz">Download macOS Client Here</a><br>
</div>
<br>
</div>

2
Pages/Index.cshtml.cs

@ -75,6 +75,8 @@ namespace NightmareCoreWeb2.Pages @@ -75,6 +75,8 @@ namespace NightmareCoreWeb2.Pages
{
if (name.Equals("all", StringComparison.OrdinalIgnoreCase))
{
ViewData["Title"] = "All Characters";
string sql = "select username,name,level,race,class from characters.characters join auth.account on characters.characters.account = auth.account.id";
QuerySQL(sql);
return;

Loading…
Cancel
Save