mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
* updated styles on user server page * moved files out of bootstrap.css * removed old css classes from initial commit * move css changes to site.css * add missing }
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
@model UsersViewModel
|
|
@{
|
|
ViewData.SetActivePageAndTitle(ServerNavPages.Users);
|
|
}
|
|
|
|
<partial name="_StatusMessage" for="StatusMessage" />
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<h4>@ViewData["Title"]</h4>
|
|
</div>
|
|
<div class="col text-right">
|
|
<a
|
|
asp-controller="Account"
|
|
asp-action="Register"
|
|
asp-route-returnUrl="@Context.Request.GetCurrentPath()"
|
|
asp-route-logon="false"
|
|
class="btn btn-primary"
|
|
role="button">
|
|
<span class="fa fa-plus"></span> Add User
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="users">
|
|
<table class="table table-sm table-responsive-md">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Email</th>
|
|
<th>Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var user in Model.Users)
|
|
{
|
|
<tr>
|
|
<td>@user.Name</td>
|
|
<td>@user.Email</td>
|
|
<td><a asp-action="User" asp-route-userId="@user.Id">Edit</a> <span> - </span> <a asp-action="DeleteUser" asp-route-userId="@user.Id">Remove</a></td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|