add server game group collapse to advanced stats
This commit is contained in:
parent
388434133b
commit
d0911b7b8a
@ -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…
Reference in New Issue
Block a user