BuildFeed/Areas/admin/Views/users/admins.cshtml
2015-01-04 22:14:43 +00:00

45 lines
1.0 KiB
Plaintext

@model IEnumerable<System.Web.Security.MembershipUser>
@{
ViewBag.Title = "View administrators | BuildFeed";
}
<h2>View administrators</h2>
<ul>
<li>@Html.ActionLink("Manage users", "index")</li>
<li>@Html.ActionLink("Return to admin panel", "index", "base")</li>
</ul>
<table class="table table-striped table-bordered table-admin">
<thead>
<tr>
<th>
Username
</th>
<th>
Email Address
</th>
<td>
Last Login Time
</td>
</tr>
</thead>
<tbody>
@foreach (MembershipUser mu in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => mu.UserName)
</td>
<td>
@Html.DisplayFor(modelItem => mu.Email)
</td>
<td>
@Html.DisplayFor(modelItem => mu.LastLoginDate)
</td>
</tr>
}
</tbody>
</table>