1
0
mirror of synced 2024-11-29 08:54:27 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/AccessCodeDeleteConfirmDialog.razor

23 lines
696 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 user?
</MudText>
</TitleContent>
<DialogContent>
<MudText>
Do you really want to delete the access code @AccessCode?
This process cannot be undone!
</MudText>
</DialogContent>
<DialogActions>
<MudButton OnClick="Cancel">CANCEL</MudButton>
<MudButton Color="Color.Error" OnClick="DeleteAccessCode">
<MudText>DELETE</MudText>
</MudButton>
</DialogActions>
</MudDialog>