Fix Index page formatting for "all"

This commit is contained in:
2021-08-31 19:02:02 -04:00
parent 871e9d017d
commit 31bcba74d1
2 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,7 @@
</div> </div>
<div class="list-group-item list-group-item-action bg-light"> <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.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> </div>
<br> <br>
</div> </div>

View File

@ -75,6 +75,8 @@ namespace NightmareCoreWeb2.Pages
{ {
if (name.Equals("all", StringComparison.OrdinalIgnoreCase)) 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"; string sql = "select username,name,level,race,class from characters.characters join auth.account on characters.characters.account = auth.account.id";
QuerySQL(sql); QuerySQL(sql);
return; return;