mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-24 06:47: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>
40 lines
1.7 KiB
Text
40 lines
1.7 KiB
Text
@model UsersViewModel.UserViewModel
|
|
@{
|
|
ViewData.SetActivePage(ServerNavPages.Users, Model.Email);
|
|
}
|
|
|
|
<form method="post">
|
|
<div class="sticky-header">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item">
|
|
<a asp-action="ListUsers">Users</a>
|
|
</li>
|
|
<li class="breadcrumb-item active" aria-current="page">User</li>
|
|
</ol>
|
|
<h2>@ViewData["Title"]</h2>
|
|
</nav>
|
|
<button name="command" type="submit" class="btn btn-primary" value="Save" id="SaveUser">Save</button>
|
|
</div>
|
|
<partial name="_StatusMessage" />
|
|
<div class="form-check">
|
|
<input asp-for="IsAdmin" type="checkbox" class="form-check-input" />
|
|
<label asp-for="IsAdmin" class="form-check-label">User is admin</label>
|
|
</div>
|
|
@if (Model.Approved.HasValue)
|
|
{
|
|
<div class="form-check">
|
|
<input id="Approved" name="Approved" type="checkbox" value="true" class="form-check-input" @(Model.Approved.Value ? "checked" : "") />
|
|
<label for="Approved" class="form-check-label">User is approved</label>
|
|
</div>
|
|
<input name="Approved" type="hidden" value="false">
|
|
}
|
|
@if (Model.EmailConfirmed.HasValue)
|
|
{
|
|
<div class="form-check">
|
|
<input id="EmailConfirmed" name="EmailConfirmed" value="true" type="checkbox" class="form-check-input" @(Model.EmailConfirmed.Value ? "checked" : "") />
|
|
<label for="EmailConfirmed" class="form-check-label">Email address is confirmed</label>
|
|
</div>
|
|
<input name="EmailConfirmed" type="hidden" value="false">
|
|
}
|
|
</form>
|