mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 14:50:50 +01:00
* UI: Move section navigation to sidebar * Scroll active nav link into view * Move CTAs to top right * Server Settings: Make Policies first page * Responsive table fixes * Spacing fixes * Add breadcrumb samples * store settings fixes * payment request fixes * updates pull payment title * adds invoice detail fix * updates server settings breadcrumbs + copy fix * Don't open Server Settings on Plugins page * Add breadcrumbs to pull payment views * adds breadcrumbs to account * server and store breadcrumb fixes * fixes access tokens * Fix payment processor breadcrumbs * fixes webhook 404 * Final touches * Fix test * Add breadcrumb for email rules page * Design system updates --------- Co-authored-by: dstrukt <gfxdsign@gmail.com>
39 lines
1.4 KiB
Text
39 lines
1.4 KiB
Text
@model BTCPayServer.Models.ManageViewModels.SetPasswordViewModel
|
|
@{
|
|
ViewData.SetActivePage(ManageNavPages.ChangePassword, "Set your password");
|
|
}
|
|
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<h2>@ViewData["Title"]</h2>
|
|
<button type="submit" class="btn btn-primary">Set Password</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<p class="text-info">
|
|
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>
|
|
}
|
|
<div class="form-group">
|
|
<label asp-for="NewPassword" class="form-label"></label>
|
|
<input asp-for="NewPassword" class="form-control" />
|
|
<span asp-validation-for="NewPassword" 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>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
@section PageFootContent {
|
|
<partial name="_ValidationScriptsPartial" />
|
|
}
|