diff --git a/.gitignore b/.gitignore index f385e3dad..62c99e06c 100644 --- a/.gitignore +++ b/.gitignore @@ -224,7 +224,6 @@ bootstrap-custom.min.css bootstrap-custom.css **/Master/static **/Master/dev_env -/WebfrontCore/Views/Plugins/* /WebfrontCore/wwwroot/**/dds /WebfrontCore/wwwroot/images/radar/* diff --git a/WebfrontCore/Views/Plugins/LiveRadar/Radar/Index.cshtml b/WebfrontCore/Views/Plugins/LiveRadar/Radar/Index.cshtml new file mode 100644 index 000000000..7ad6a1eee --- /dev/null +++ b/WebfrontCore/Views/Plugins/LiveRadar/Radar/Index.cshtml @@ -0,0 +1,69 @@ +@using WebfrontCore.ViewModels +@model IEnumerable + + + +
+
+

Live Radar

+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+ + + @{ + var menuItems = new SideContextMenuItems + { + MenuTitle = "Game", Items = Model.Select(server => new SideContextMenuItem + { + IsLink = true, + // ReSharper disable Mvc.ActionNotResolved + // ReSharper disable Mvc.ControllerNotResolved + Reference = Url.Action("Index", "Radar", new { serverId = server.Endpoint }), + Title = server.Name.StripColors(), + IsActive = ViewBag.SelectedServerId == server.Endpoint + }).ToList() + }; + } + + + + + + +
+ +@section scripts { + + + + + +}