From 1df76b6ac340f3918b8bda7a4c84e4e82c83bd3d Mon Sep 17 00:00:00 2001 From: RaidMax Date: Wed, 20 Apr 2022 13:14:17 -0500 Subject: [PATCH] add missing live radar view to source control --- .gitignore | 1 - .../Plugins/LiveRadar/Radar/Index.cshtml | 69 +++++++++++++++++++ 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 WebfrontCore/Views/Plugins/LiveRadar/Radar/Index.cshtml 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 { + + + + + +}