BuildFeed/Areas/admin/Views/users/admins.cshtml

45 lines
1.0 KiB
Plaintext
Raw Normal View History

2014-12-16 22:43:26 +08:00
@model IEnumerable<System.Web.Security.MembershipUser>
@{
ViewBag.Title = "View administrators | BuildFeed";
2014-12-16 22:43:26 +08:00
}
<h2>View administrators</h2>
2014-12-16 22:43:26 +08:00
<ul>
<li>@Html.ActionLink("Manage users", "index")</li>
<li>@Html.ActionLink("Return to admin panel", "index", "base")</li>
2014-12-16 22:43:26 +08:00
</ul>
<table class="table table-striped table-bordered table-admin">
<thead>
2014-12-16 22:43:26 +08:00
<tr>
<th>
Username
</th>
<th>
Email Address
</th>
2014-12-16 22:43:26 +08:00
<td>
Last Login Time
2014-12-16 22:43:26 +08:00
</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>
2014-12-16 22:43:26 +08:00
</table>