1
0
mirror of synced 2024-11-24 23:10:17 +01:00
TaikoLocalServer/TaikoWebUI/Pages/Dialogs/AccessCodeDeleteConfirmDialog.razor
shiibe 0123283fda UI clean up
* Adds a bunch of loose strings to the `Localizer`

* Format Access Codes for readability

* Label fixes

* Other misc. UI fixes
2024-03-08 11:13:56 -05:00

32 lines
1.0 KiB
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["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>