main
Last change
on this file was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 2 months ago |
init commit Elena
|
-
Property mode
set to
100644
|
File size:
2.3 KB
|
Rev | Line | |
---|
[2aea0fd] | 1 | @page
|
---|
| 2 | @model LoginModel
|
---|
| 3 |
|
---|
| 4 | @{
|
---|
| 5 | ViewData["Title"] = "Log in";
|
---|
| 6 | }
|
---|
| 7 |
|
---|
| 8 | <h1>@ViewData["Title"]</h1>
|
---|
| 9 | <div class="row">
|
---|
| 10 | <div class="col-md-4">
|
---|
| 11 | <section>
|
---|
| 12 | <form id="account" method="post">
|
---|
| 13 | <h2>Use a local account to log in.</h2>
|
---|
| 14 | <hr />
|
---|
| 15 | <div asp-validation-summary="ModelOnly" class="text-danger" role="alert"></div>
|
---|
| 16 | <div class="form-floating mb-3">
|
---|
| 17 | <input asp-for="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="name@example.com" />
|
---|
| 18 | <label asp-for="Input.Email" class="form-label">Email</label>
|
---|
| 19 | <span asp-validation-for="Input.Email" class="text-danger"></span>
|
---|
| 20 | </div>
|
---|
| 21 | <div class="form-floating mb-3">
|
---|
| 22 | <input asp-for="Input.Password" class="form-control" autocomplete="current-password" aria-required="true" placeholder="password" />
|
---|
| 23 | <label asp-for="Input.Password" class="form-label">Password</label>
|
---|
| 24 | <span asp-validation-for="Input.Password" class="text-danger"></span>
|
---|
| 25 | </div>
|
---|
| 26 | <div class="checkbox mb-3">
|
---|
| 27 | <label asp-for="Input.RememberMe" class="form-label">
|
---|
| 28 | <input class="form-check-input" asp-for="Input.RememberMe" />
|
---|
| 29 | @Html.DisplayNameFor(m => m.Input.RememberMe)
|
---|
| 30 | </label>
|
---|
| 31 | </div>
|
---|
| 32 | <div>
|
---|
| 33 | <button id="login-submit" type="submit" class="w-100 btn btn-lg btn-primary">Log in</button>
|
---|
| 34 | </div>
|
---|
| 35 | <div>
|
---|
| 36 | <p>
|
---|
| 37 | <a id="forgot-password" asp-page="./ForgotPassword">Forgot your password?</a>
|
---|
| 38 | </p>
|
---|
| 39 | <p>
|
---|
| 40 | <a asp-page="./Register" asp-route-returnUrl="@Model.ReturnUrl">Register as a new user</a>
|
---|
| 41 | </p>
|
---|
| 42 | <p>
|
---|
| 43 | <a id="resend-confirmation" asp-page="./ResendEmailConfirmation">Resend email confirmation</a>
|
---|
| 44 | </p>
|
---|
| 45 | </div>
|
---|
| 46 | </form>
|
---|
| 47 | </section>
|
---|
| 48 | </div>
|
---|
| 49 | </div>
|
---|
| 50 |
|
---|
| 51 | @section Scripts {
|
---|
| 52 | <partial name="_ValidationScriptsPartial" />
|
---|
| 53 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.