Components\Pages\ResourceOverview.razor.cs (20)
808private readonly Dictionary<OverviewCard, int> _spans;
809private readonly Dictionary<OverviewCard, int> _mediumSpans;
811private OverviewCardLayout(Dictionary<OverviewCard, int> spans, Dictionary<OverviewCard, int> mediumSpans)
817public static OverviewCardLayout Create(IReadOnlyList<(OverviewCard Card, int Span)> cards)
824public string Style(OverviewCard card)
831private static int GetHeight(OverviewCard card) => card switch
833OverviewCard.Status or OverviewCard.Endpoints or OverviewCard.Metrics => 260,
834OverviewCard.Console or OverviewCard.Logs => 300,
835OverviewCard.Traces or OverviewCard.Relationships => 300,
836OverviewCard.Properties or OverviewCard.Environment => 340,
840private static Dictionary<OverviewCard, int> Pack(IReadOnlyList<(OverviewCard Card, int Span)> cards)
842var result = new Dictionary<OverviewCard, int>();
843var row = new List<(OverviewCard Card, int Span)>();