1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

finish implementation of per server top stats page

This commit is contained in:
RaidMax
2019-02-27 20:13:15 -06:00
parent 1182b98336
commit 5d3fd30003
8 changed files with 38 additions and 20 deletions

View File

@ -18,7 +18,7 @@ namespace IW4MAdmin.Plugins.Stats.Web.Controllers
{
ViewBag.Title = Utilities.CurrentLocalization.LocalizationIndex.Set["WEBFRONT_STATS_INDEX_TITLE"];
ViewBag.Description = Utilities.CurrentLocalization.LocalizationIndex.Set["WEBFRONT_STATS_INDEX_DESC"];
ViewBag.Servers = Manager.GetServers().Select(_server => new ServerInfo() { Name = _server.Hostname, ID = _server.GetHashCode() });
ViewBag.Servers = Manager.GetServers().Select(_server => new ServerInfo() { Name = _server.Hostname, ID = _server.EndPoint });
return View("Index");
}