2024-07-25 15:23:28 +09:00
|
|
|
@model BTCPayServer.Models.ManageViewModels.SetPasswordViewModel
|
2017-09-13 15:47:34 +09:00
|
|
|
@{
|
2024-06-19 15:23:10 +02:00
|
|
|
ViewData.SetActivePage(ManageNavPages.ChangePassword, "Set your password");
|
2017-09-13 15:47:34 +09:00
|
|
|
}
|
|
|
|
|
2024-06-19 15:23:10 +02:00
|
|
|
<form method="post">
|
|
|
|
<div class="sticky-header">
|
2024-07-25 22:46:02 +09:00
|
|
|
<h2 text-translate="true">@ViewData["Title"]</h2>
|
2024-07-25 15:23:28 +09:00
|
|
|
<button id="page-primary" type="submit" class="btn btn-primary">Set Password</button>
|
2024-06-19 15:23:10 +02:00
|
|
|
</div>
|
|
|
|
<partial name="_StatusMessage" />
|
2021-04-08 15:32:42 +02:00
|
|
|
|
2024-10-17 15:51:40 +02:00
|
|
|
<p class="text-info" text-translate="true">
|
2024-06-19 15:23:10 +02:00
|
|
|
You do not have a local username/password for this site. Add a local
|
|
|
|
account so you can log in without an external login.
|
|
|
|
</p>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
@if (!ViewContext.ModelState.IsValid)
|
|
|
|
{
|
|
|
|
<div asp-validation-summary="All"></div>
|
|
|
|
}
|
2017-09-13 15:47:34 +09:00
|
|
|
<div class="form-group">
|
2021-05-19 04:39:27 +02:00
|
|
|
<label asp-for="NewPassword" class="form-label"></label>
|
2017-09-13 15:47:34 +09:00
|
|
|
<input asp-for="NewPassword" class="form-control" />
|
|
|
|
<span asp-validation-for="NewPassword" class="text-danger"></span>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2021-05-19 04:39:27 +02:00
|
|
|
<label asp-for="ConfirmPassword" class="form-label"></label>
|
2017-09-13 15:47:34 +09:00
|
|
|
<input asp-for="ConfirmPassword" class="form-control" />
|
|
|
|
<span asp-validation-for="ConfirmPassword" class="text-danger"></span>
|
|
|
|
</div>
|
2024-06-19 15:23:10 +02:00
|
|
|
</div>
|
2017-09-13 15:47:34 +09:00
|
|
|
</div>
|
2024-06-19 15:23:10 +02:00
|
|
|
</form>
|
2017-09-13 15:47:34 +09:00
|
|
|
|
2021-05-19 04:39:27 +02:00
|
|
|
@section PageFootContent {
|
2021-04-08 15:32:42 +02:00
|
|
|
<partial name="_ValidationScriptsPartial" />
|
2017-09-13 15:47:34 +09:00
|
|
|
}
|