1
0
mirror of synced 2025-01-08 19:31:38 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/AccessCodeDeleteConfirmDialog.razor

32 lines
1.0 KiB
Plaintext
Raw Normal View History

@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["Are you sure you want to delete this access code?"]
</MudText>
<MudText>
<code>
<pre>
@String.Format("{0:0000 0000 0000 0000 0000}", (Int64.Parse(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>