0123283fda
* Adds a bunch of loose strings to the `Localizer` * Format Access Codes for readability * Label fixes * Other misc. UI fixes
21 lines
774 B
Plaintext
21 lines
774 B
Plaintext
@inject HttpClient Client
|
|
@inject ISnackbar Snackbar
|
|
|
|
<MudDialog>
|
|
<TitleContent>
|
|
<div class="d-flex align-items-center gap-2">
|
|
<MudIcon Icon="@Icons.Material.Filled.LockReset" Size="Size.Medium" />
|
|
<MudText Typo="Typo.h6">@Localizer["Reset Password"]</MudText>
|
|
</div>
|
|
</TitleContent>
|
|
<DialogContent>
|
|
<MudText Class="mb-2">@Localizer["reset_password_confirm_dialog_1"]</MudText>
|
|
<MudText>@Localizer["reset_password_confirm_dialog_2"]</MudText>
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="Cancel">@Localizer["Cancel"]</MudButton>
|
|
<MudButton Color="Color.Error" OnClick="ResetPassword">
|
|
@Localizer["Reset"]
|
|
</MudButton>
|
|
</DialogActions>
|
|
</MudDialog> |