51 lines
2.4 KiB
Plaintext
51 lines
2.4 KiB
Plaintext
<div class="body_content receive_tool_menu">
|
|
@*<div class="header_search">
|
|
<img class="header_image_button" src="../Browser_Local/img/header_image11_1.png" />
|
|
<input type="text" class="expand" ng-model="searchText" />
|
|
</div>*@
|
|
@*<form class="form-inline header_search" style="float: right">
|
|
<input class="form-control mr-sm-2" type="search" ng-model="searchText"
|
|
placeholder="@Resource.StaticLabelGlobal_Search" aria-label="Search">
|
|
</form>*@
|
|
</div>
|
|
|
|
<div class="body_content"
|
|
ng-model="currentPage"
|
|
ng-init="currentPage = 1">
|
|
<div class="table-responsive">
|
|
<div class="table_overflow">
|
|
<table class="table">
|
|
<!-- Table header -->
|
|
<thead>
|
|
<tr class="table-active" style="text-align:center">
|
|
<th>@Resource.UserAccountName</th>
|
|
<th>@Resource.StaticLabelGlobal_Name</th>
|
|
<th>@Resource.StaticLabelUserPhoneNumber</th>
|
|
<th>@Resource.StaticLabelUserEmail</th>
|
|
<th>@Resource.SurveyJob</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<!-- Table row -->
|
|
<tbody>
|
|
<tr ng-repeat="user in userList | filter : searchText | orderBy : predicate : reverse | smarterLimitTo : 10 : (currentPage - 1) * 10">
|
|
<td ng-bind="user.UserName"></td>
|
|
<td ng-bind="user.Name"></td>
|
|
<td ng-bind="user.PhoneNumber"></td>
|
|
<td ng-bind="user.Email"></td>
|
|
<td ng-bind="user.Job"></td>
|
|
<td>
|
|
<img style="cursor: pointer;"
|
|
ng-init="editIcon = 'edit'"
|
|
ng-src="@ViewBag.baseUrl/Browser_Local/img/{{ editIcon }}.png"
|
|
ng-click="editUser(user)"
|
|
ng-mouseenter="editIcon = 'edit_active'"
|
|
ng-mouseleave="editIcon = 'edit'" />
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<page passed-total-page="Math.ceil((userList | filter : searchText).length / 10)" passed-current-page="currentPage"></page> |