mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 06:08:20 -05:00
add server game group collapse to advanced stats
This commit is contained in:
parent
d05bcde8e8
commit
0ca3be01d7
@ -385,7 +385,9 @@
|
|||||||
IsLink = true,
|
IsLink = true,
|
||||||
Reference = Url.Action("Advanced", "ClientStatistics", new { serverId = server.Endpoint }),
|
Reference = Url.Action("Advanced", "ClientStatistics", new { serverId = server.Endpoint }),
|
||||||
Title = server.Name.StripColors(),
|
Title = server.Name.StripColors(),
|
||||||
IsActive = Model.ServerEndpoint == server.Endpoint
|
IsActive = Model.ServerEndpoint == server.Endpoint,
|
||||||
|
IsCollapse = true,
|
||||||
|
Meta = server.Game.ToString()
|
||||||
}).Prepend(new SideContextMenuItem
|
}).Prepend(new SideContextMenuItem
|
||||||
{
|
{
|
||||||
IsLink = true,
|
IsLink = true,
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
@foreach (var group in groupedItems)
|
@foreach (var group in groupedItems)
|
||||||
{
|
{
|
||||||
<details class="collapse-panel mt-10 mb-10" @(index == 0 ? "open" : "")>
|
<details class="collapse-panel mt-0 pb-10 pt-10 pl-20 border-left" @(index == 0 ? "open" : "")>
|
||||||
<summary class="collapse-header">
|
<summary class="collapse-header">
|
||||||
@ViewBag.Localization[$"GAME_{group.Key}"]
|
@ViewBag.Localization[$"GAME_{group.Key}"]
|
||||||
</summary>
|
</summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user