1
0
mirror of synced 2024-12-22 03:15:55 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/UserDeleteConfirmDialog.razor
2024-08-14 15:48:32 +01:00

23 lines
700 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" />
(MarkupString)
(string)@Localizer["Delete User"]
</MudText>
</TitleContent>
<DialogContent>
<MudText>
@Localizer["Delete User Confirm"]
</MudText>
</DialogContent>
<DialogActions>
<MudButton OnClick="Cancel">@Localizer["Cancel"]</MudButton>
<MudButton Color="Color.Error" OnClick="DeleteUser">
<MudText>@Localizer["Delete"]</MudText>
</MudButton>
</DialogActions>
</MudDialog>