2017-09-15 18:15:17 +02:00
|
|
|
@model UsersViewModel
|
|
|
|
@{
|
2018-04-19 22:42:12 +02:00
|
|
|
ViewData.SetActivePageAndTitle(ServerNavPages.Users);
|
2017-09-15 18:15:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
<h4>@ViewData["Title"]</h4>
|
2018-05-08 10:57:53 +02:00
|
|
|
<partial name="_StatusMessage" for="StatusMessage" />
|
2017-09-15 18:15:17 +02:00
|
|
|
|
|
|
|
|
2018-04-08 07:06:47 +02:00
|
|
|
<table class="table table-sm table-responsive-md">
|
2018-04-06 06:20:12 +02:00
|
|
|
<thead>
|
2017-10-27 10:53:04 +02:00
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Email</th>
|
2017-12-04 06:39:02 +01:00
|
|
|
<th>Actions</th>
|
2017-10-27 10:53:04 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2018-04-06 06:20:12 +02:00
|
|
|
@foreach (var user in Model.Users)
|
2017-10-27 10:53:04 +02:00
|
|
|
{
|
|
|
|
<tr>
|
|
|
|
<td>@user.Name</td>
|
|
|
|
<td>@user.Email</td>
|
2018-03-22 11:55:14 +01:00
|
|
|
<td><a asp-action="User" asp-route-userId="@user.Id">Modify</a> <span> - </span> <a asp-action="DeleteUser" asp-route-userId="@user.Id">Remove</a></td>
|
|
|
|
</tr>
|
|
|
|
}
|
2017-10-27 10:53:04 +02:00
|
|
|
</tbody>
|
|
|
|
</table>
|