0123283fda
* Adds a bunch of loose strings to the `Localizer` * Format Access Codes for readability * Label fixes * Other misc. UI fixes
32 lines
1.0 KiB
Plaintext
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> |