Components\Pages\ResourceOverview.razor.cs (20)
754private readonly Dictionary<OverviewCard, int> _spans;
755private readonly Dictionary<OverviewCard, int> _mediumSpans;
757private OverviewCardLayout(Dictionary<OverviewCard, int> spans, Dictionary<OverviewCard, int> mediumSpans)
763public static OverviewCardLayout Create(IReadOnlyList<(OverviewCard Card, int Span)> cards)
770public string Style(OverviewCard card)
777private static int GetHeight(OverviewCard card) => card switch
779OverviewCard.Status or OverviewCard.Endpoints or OverviewCard.Metrics => 260,
780OverviewCard.Console or OverviewCard.Logs => 300,
781OverviewCard.Traces or OverviewCard.Relationships => 300,
782OverviewCard.Properties or OverviewCard.Environment => 340,
786private static Dictionary<OverviewCard, int> Pack(IReadOnlyList<(OverviewCard Card, int Span)> cards)
788var result = new Dictionary<OverviewCard, int>();
789var row = new List<(OverviewCard Card, int Span)>();