1
0
mirror of synced 2024-12-20 02:15:56 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/CardDeleteConfirmDialog.razor
2022-09-12 00:33:58 +08:00

23 lines
722 B
Plaintext

@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>