mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
cbf8b23385
* Add XXL breakpoint * Unify setup guide display * Adapt desktop breakpoints in views * Fix POS code display * Fix syntax in home view * store settings + constrain update * account settings Co-authored-by: dstrukt <gfxdsign@gmail.com> Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
55 lines
2.2 KiB
Plaintext
55 lines
2.2 KiB
Plaintext
@model BTCPayServer.Controllers.RegisterFromAdminViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Users, "Create account");
|
|
}
|
|
|
|
<h3 class="mb-4">@ViewData["Title"]</h3>
|
|
|
|
<div class="row">
|
|
<div class="col-xl-6 col-xxl-constrain">
|
|
<form method="post" asp-action="CreateUser">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
|
|
<div class="form-group">
|
|
<label asp-for="Email" class="form-label"></label>
|
|
<input asp-for="Email" required="required" class="form-control"/>
|
|
<span asp-validation-for="Email" class="text-danger"></span>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label asp-for="Password" class="form-label"></label>
|
|
<input asp-for="Password" class="form-control"/>
|
|
<span asp-validation-for="Password" class="text-danger"></span>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label asp-for="ConfirmPassword" class="form-label"></label>
|
|
<input asp-for="ConfirmPassword" class="form-control"/>
|
|
<span asp-validation-for="ConfirmPassword" class="text-danger"></span>
|
|
</div>
|
|
|
|
@if (ViewData["AllowIsAdmin"] is true)
|
|
{
|
|
<div class="form-group form-check">
|
|
<input asp-for="IsAdmin" type="checkbox" class="form-check-input"/>
|
|
<label asp-for="IsAdmin" class="form-check-label"></label>
|
|
<span asp-validation-for="IsAdmin" class="text-danger"></span>
|
|
</div>
|
|
}
|
|
|
|
|
|
@if (ViewData["AllowRequestEmailConfirmation"] is true)
|
|
{
|
|
<div class="form-group form-check">
|
|
<input asp-for="EmailConfirmed" type="checkbox" class="form-check-input"/>
|
|
<label asp-for="EmailConfirmed" class="form-check-label"></label>
|
|
<span asp-validation-for="EmailConfirmed" class="text-danger"></span>
|
|
</div>
|
|
}
|
|
|
|
<button id="Save" type="submit" class="btn btn-primary mt-2" name="command" value="Save">Create account</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|