1
0
mirror of synced 2024-12-21 02:45:54 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/AccessCodeDeleteConfirmDialog.razor
2024-06-05 02:07:33 +01:00

32 lines
947 B
Plaintext

@inject HttpClient Client
@inject ISnackbar Snackbar
<MudDialog>
<TitleContent>
<div class="d-flex align-items-center gap-2">
<MudIcon Icon="@Icons.Material.Filled.Delete" Size="Size.Medium" />
<MudText Typo="Typo.h6">@Localizer["Delete User"]</MudText>
</div>
</TitleContent>
<DialogContent>
<MudText Typo="Typo.body1" Class="mb-1">
@Localizer["Access Code Delete Confirm"]
</MudText>
<MudText>
<code>
<pre>
@AccessCode
</pre>
</code>
</MudText>
</DialogContent>
<DialogActions>
<MudButton OnClick="Cancel">
@Localizer["Cancel"]
</MudButton>
<MudButton Color="Color.Error" OnClick="DeleteAccessCode" Icon="@Icons.Material.Filled.Delete">
@Localizer["Delete"]
</MudButton>
</DialogActions>
</MudDialog>