1
0
mirror of synced 2024-12-19 01:46:09 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/CardDeleteConfirmDialog.razor

23 lines
722 B
Plaintext
Raw Normal View History

2023-09-09 14:58:20 +02:00
@inject HttpClient Client
@inject ISnackbar Snackbar
<MudDialog>
<TitleContent>
<MudText Typo="Typo.h6">
<MudIcon Icon="@Icons.Material.Filled.DeleteForever" Class="mr-3 mb-n1"/>
Delete card?
</MudText>
</TitleContent>
<DialogContent>
<MudText>
Do you really want to delete the card?
All the related data will also be deleted and this process cannot be undone!
</MudText>
</DialogContent>
<DialogActions>
<MudButton OnClick="Cancel">Cancel</MudButton>
<MudButton Color="Color.Error" OnClick="DeleteCard">
<MudText>Delete Card</MudText>
</MudButton>
</DialogActions>
</MudDialog>