Add user search
This commit is contained in:
@@ -10,9 +10,15 @@
|
||||
|
||||
<h2 id="user-title">@ViewBag.Title</h2>
|
||||
|
||||
<div class="btn-toolbar pull-right">
|
||||
@using (Html.BeginForm("DetailsFullName", "User", FormMethod.Get, new {@class = "navbar-search form-inline" }))
|
||||
{
|
||||
<input type="text" name="EmployeeName" id="EmployeeName" class="search-query" placeholder="Search">
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="btn-toolbar pull-left">
|
||||
@Html.ActionLink("Add new User", "Create", null, new{@class="btn"})
|
||||
|
||||
</div>
|
||||
|
||||
<div id="users-online">Users online now: <span class="badge badge-info">@Membership.GetNumberOfUsersOnline()</span></div>
|
||||
@@ -44,6 +50,10 @@
|
||||
<span class='label label-warning'>No Role</span>
|
||||
}
|
||||
</text>),
|
||||
grid.Column("LastActivityDate", "Last Activity", format:
|
||||
@<text>
|
||||
@Html.Partial("_LastActivity", (DateTime)item.LastActivityDate)
|
||||
</text>),
|
||||
grid.Column(format:
|
||||
@<div class='btn-group'>
|
||||
@*Html.ActionLink("Edit", "Edit", new { id = item.UserId }, new { @class = "btn btn-mini" })*@
|
||||
|
||||
Reference in New Issue
Block a user