Updating game data to mid season patch and made card gallery nicer
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
@page "/my-decks"
|
||||
@rendermode InteractiveServer
|
||||
@using Cloud.Models
|
||||
@using Microsoft.EntityFrameworkCore
|
||||
@rendermode InteractiveServer
|
||||
@inject AppDbContext Db
|
||||
@inject NavigationManager Nav
|
||||
|
||||
@@ -100,11 +99,15 @@
|
||||
<div class="modal-backdrop" @onclick="CancelDelete"></div>
|
||||
<div class="confirm-modal">
|
||||
<h5>Delete Deck</h5>
|
||||
<p>Delete <strong>@(string.IsNullOrEmpty(deckToDelete.Name) ? "Untitled Deck" : deckToDelete.Name)</strong>? This cannot be undone.</p>
|
||||
<p>Delete <strong>@(string.IsNullOrEmpty(deckToDelete.Name) ? "Untitled Deck" : deckToDelete.Name)</strong>?
|
||||
This cannot be undone.</p>
|
||||
<div class="d-flex gap-2 justify-content-end">
|
||||
<button class="btn btn-outline-secondary" @onclick="CancelDelete">Cancel</button>
|
||||
<button class="btn btn-danger" @onclick="DeleteDeck" disabled="@deleting">
|
||||
@if (deleting) { <span class="spinner-border spinner-border-sm me-1"></span> }
|
||||
@if (deleting)
|
||||
{
|
||||
<span class="spinner-border spinner-border-sm me-1"></span>
|
||||
}
|
||||
Delete
|
||||
</button>
|
||||
</div>
|
||||
@@ -179,4 +182,5 @@
|
||||
await LoadDecks();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user