diff --git a/Server/src/SOR.Admin/Components/Layout/NavMenu.razor b/Server/src/SOR.Admin/Components/Layout/NavMenu.razor index 8db0c3d..7bad1a8 100644 --- a/Server/src/SOR.Admin/Components/Layout/NavMenu.razor +++ b/Server/src/SOR.Admin/Components/Layout/NavMenu.razor @@ -20,9 +20,21 @@
Loading…
+} +else +{ +No slots defined yet.
+ } + else + { +| Rarity | Count | |
|---|---|---|
| + + | ++ + | ++ + | +
Loading…
+} +else if (_packs.Count == 0) +{ +| Name | +Origin Points | +USD | +Available | +Status | ++ |
|---|---|---|---|---|---|
|
+
+ @if (!string.IsNullOrEmpty(pack.ImageCdnUrl))
+ {
+
+ |
+ @pack.OriginPointPrice.ToString("N0") OP | +@(pack.UsdPrice.HasValue ? $"${pack.UsdPrice:F2}" : "—") | +@FormatWindow(pack.AvailableFrom, pack.AvailableUntil) | ++ @if (pack.IsActive && IsCurrentlyAvailable(pack)) + { + Live + } + else if (pack.IsActive) + { + Active / Not in Window + } + else + { + Inactive + } + | ++ + Edit + + | +
Loading…
+} +else +{ +| Card | Qty | |
|---|---|---|
| @e.CardName | ++ + | ++ + | +
Loading…
+} +else if (_decks.Count == 0) +{ +| Name | +ArchSpirit | +Cards | +Origin Points | +USD | +Available | +Status | ++ |
|---|---|---|---|---|---|---|---|
|
+
+ @if (!string.IsNullOrEmpty(deck.ImageCdnUrl))
+ {
+
+ |
+ @(deck.ArchSpiritName ?? "—") | +@deck.Cards.Count | +@deck.OriginPointPrice.ToString("N0") OP | +@(deck.UsdPrice.HasValue ? $"${deck.UsdPrice:F2}" : "—") | +@FormatWindow(deck.AvailableFrom, deck.AvailableUntil) | ++ @if (deck.IsActive && IsCurrentlyAvailable(deck)) + { + Live + } + else if (deck.IsActive) + { + Active / Not in Window + } + else + { + Inactive + } + | ++ + Edit + + | +