-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finished the last of the most common template pages.
- Loading branch information
1 parent
1d546a8
commit 42a416d
Showing
8 changed files
with
42 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,24 +14,24 @@ | |
|
||
<PageTitle>Forgot your password?</PageTitle> | ||
|
||
<h1>Forgot your password?</h1> | ||
<h2>Enter your email.</h2> | ||
<MudDivider /> | ||
<div class="row"> | ||
<div class="col-md-4"> | ||
<EditForm Model="Input" FormName="forgot-password" OnValidSubmit="OnValidSubmitAsync" method="post"> | ||
<DataAnnotationsValidator /> | ||
<ValidationSummary class="text-danger" role="alert" /> | ||
<MudText Typo="Typo.h3" GutterBottom="true">Forgot your password?</MudText> | ||
|
||
<div class="form-floating mb-3"> | ||
<InputText @bind-Value="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="[email protected]" /> | ||
<label for="email" class="form-label">Email</label> | ||
<ValidationMessage For="() => Input.Email" class="text-danger" /> | ||
</div> | ||
<button type="submit" class="w-100 btn btn-lg btn-primary">Reset password</button> | ||
</EditForm> | ||
</div> | ||
</div> | ||
<MudText Typo="Typo.body1" GutterBottom="true">Enter your email.</MudText> | ||
|
||
<EditForm Model="Input" FormName="forgot-password" OnValidSubmit="OnValidSubmitAsync" method="post"> | ||
<DataAnnotationsValidator /> | ||
|
||
<MudGrid> | ||
<MudItem md="12"> | ||
<MudStaticTextField For="@(() => Input.Email)" @bind-Value="Input.Email" | ||
Label="Email" Placeholder="[email protected]" | ||
UserAttributes="@(new() { { "autocomplete", "username" }, { "aria-required", "true" } } )" /> | ||
</MudItem> | ||
<MudItem md="12"> | ||
<MudStaticButton Variant="Variant.Filled" Color="Color.Primary" FullWidth="true" FormAction="FormAction.Submit">Reset password</MudStaticButton> | ||
</MudItem> | ||
</MudGrid> | ||
</EditForm> | ||
|
||
@code { | ||
[SupplyParameterFromForm] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,24 +14,26 @@ | |
|
||
<PageTitle>Resend email confirmation</PageTitle> | ||
|
||
<h1>Resend email confirmation</h1> | ||
<h2>Enter your email.</h2> | ||
<MudDivider /> | ||
<MudText Typo="Typo.h3" GutterBottom="true">Resend email confirmation</MudText> | ||
|
||
<MudText Typo="Typo.body1" GutterBottom="true">Enter your email.</MudText> | ||
|
||
<StatusMessage Message="@message" /> | ||
<div class="row"> | ||
<div class="col-md-4"> | ||
<EditForm Model="Input" FormName="resend-email-confirmation" OnValidSubmit="OnValidSubmitAsync" method="post"> | ||
<DataAnnotationsValidator /> | ||
<ValidationSummary class="text-danger" role="alert" /> | ||
<div class="form-floating mb-3"> | ||
<InputText @bind-Value="Input.Email" class="form-control" aria-required="true" placeholder="[email protected]" /> | ||
<label for="email" class="form-label">Email</label> | ||
<ValidationMessage For="() => Input.Email" class="text-danger" /> | ||
</div> | ||
<button type="submit" class="w-100 btn btn-lg btn-primary">Resend</button> | ||
</EditForm> | ||
</div> | ||
</div> | ||
|
||
<EditForm Model="Input" FormName="resend-email-confirmation" OnValidSubmit="OnValidSubmitAsync" method="post"> | ||
<DataAnnotationsValidator /> | ||
|
||
<MudGrid> | ||
<MudItem md="12"> | ||
<MudStaticTextField For="@(() => Input.Email)" @bind-Value="Input.Email" | ||
Label="Email" Placeholder="[email protected]" | ||
UserAttributes="@(new() { { "autocomplete", "true" }, { "aria-required", "true" } } )" /> | ||
</MudItem> | ||
<MudItem md="12"> | ||
<MudStaticButton Variant="Variant.Filled" Color="Color.Primary" FullWidth="true" FormAction="FormAction.Submit">Resend</MudStaticButton> | ||
</MudItem> | ||
</MudGrid> | ||
</EditForm> | ||
|
||
@code { | ||
private string? message; | ||
|