| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- @page
- @model RegisterModel
- @{
- ViewData["Title"] = "회원가입";
- }
- <div id="registForm" class="row row-cols-1 justify-content-center align-items-center min-vh-100">
- <div class="col col-12 col-sm-7 col-md-5 col-lg-5 col-xl-3">
- <section class="border rounded p-3">
- <h4>@ViewData["Title"]</h4>
- <form id="registerForm" asp-route-returnUrl="@Model.ReturnUrl" method="post" accept-charset="utf-8" autocomplete="off">
- <small>가입 후 이메일 인증이 필요하며 관리자의 <br/>최종 승인 후 접속이 가능합니다.</small>
- <hr />
- <div asp-validation-summary="ModelOnly" class="text-danger" role="alert"></div>
- <div class="form-floating mb-3">
- <input asp-for="Input.Email" class="form-control" autocomplete="username" aria-required="true" placeholder="name@example.com" />
- <label asp-for="Input.Email">Email</label>
- <span asp-validation-for="Input.Email" class="text-danger"></span>
- </div>
- <div class="form-floating mb-3">
- <input asp-for="Input.Password" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" />
- <label asp-for="Input.Password">Password</label>
- <span asp-validation-for="Input.Password" class="text-danger"></span>
- </div>
- <div class="form-floating mb-3">
- <input asp-for="Input.ConfirmPassword" class="form-control" autocomplete="new-password" aria-required="true" placeholder="password" />
- <label asp-for="Input.ConfirmPassword">Confirm Password</label>
- <span asp-validation-for="Input.ConfirmPassword" class="text-danger"></span>
- </div>
- <button id="registerSubmit" type="submit" class="w-100 btn btn-primary">회원가입</button>
- <p class="pt-3 text-center">
- <a asp-page="./Login" asp-route-returnUrl="@Model.ReturnUrl">< 취소하기</a>
- </p>
- </form>
- </section>
- </div>
- <div class="col">
- <div class="text-center ps-3 pe-3">
- <hr />
- <small>ⓒ PLAYR. All Rights Reserved</small>
- </div>
- @*
- <section>
- <h3>Use another service to register.</h3>
- <hr />
- @{
- if ((Model.ExternalLogins?.Count ?? 0) == 0)
- {
- <div>
- <p>
- There are no external authentication services configured. See this <a href="https://go.microsoft.com/fwlink/?LinkID=532715">article
- about setting up this ASP.NET application to support logging in via external services</a>.
- </p>
- </div>
- }
- else
- {
- <form id="external-account" asp-page="./ExternalLogin" asp-route-returnUrl="@Model.ReturnUrl" method="post" class="form-horizontal">
- <div>
- <p>
- @foreach (var provider in Model.ExternalLogins!)
- {
- <button type="submit" class="btn btn-primary" name="provider" value="@provider.Name" title="Log in using your @provider.DisplayName account">@provider.DisplayName</button>
- }
- </p>
- </div>
- </form>
- }
- }
- </section>
- *@
- </div>
- </div>
- @section Scripts {
- <partial name="_ValidationScriptsPartial" />
- }
- @section Styles {
- <link rel="stylesheet" href="~/css/account.css" asp-append-version="true" />
- }
|