32 lines
970 B
Plaintext
32 lines
970 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["Are you sure you want to delete this access code?"]
|
|
</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> |