113 lines
4.6 KiB
Handlebars
113 lines
4.6 KiB
Handlebars
{{#main-content}}
|
|
{{!--{{#breadcrumbs-bar}}
|
|
<li class="active">用户列表</li>
|
|
{{/breadcrumbs-bar}}--}}
|
|
|
|
<div class="widget-box transparent">
|
|
{{#grid-header}}
|
|
<li>
|
|
{{#link-to 'user.create'}}
|
|
新建用户
|
|
{{/link-to}}
|
|
</li>
|
|
{{/grid-header}}
|
|
|
|
<div class="widget-body">
|
|
<!-- #section:custom/scrollbar -->
|
|
<div class="widget-main no-padding">
|
|
<table class="table table-striped table-bordered table-hover dataTable">
|
|
<thead class="thin-border-bottom">
|
|
<tr>
|
|
<th class="sorting_asc">
|
|
工号
|
|
</th>
|
|
<th class="hidden-480 sorting" {{action (route-action 'sort' 'mobile')}}>
|
|
手机号
|
|
</th>
|
|
<th>
|
|
姓名
|
|
</th>
|
|
<th class="hidden-480 sorting_desc">
|
|
<i class="ace-icon fa fa-sticky-note-o bigger-110 hidden-480"></i>
|
|
备注
|
|
</th>
|
|
<th>
|
|
<i class="ace-icon fa fa-exchange bigger-110 hidden-480"></i>
|
|
状态
|
|
</th>
|
|
<th>
|
|
<i class="ace-icon fa fa-cogs bigger-110 hidden-480"></i>
|
|
管理
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{{#each model.data as |it|}}
|
|
<tr>
|
|
<td>
|
|
{{it.employeeId}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{it.mobile}}
|
|
</td>
|
|
<td>
|
|
{{it.name}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{editable-cell model=it field='note'}}
|
|
</td>
|
|
<td>
|
|
{{status-cell model=it}}
|
|
</td>
|
|
<td>
|
|
|
|
<div class="hidden-sm hidden-xs btn-group">
|
|
{{status-toggle-button model=it}}
|
|
{{#link-to 'user.edit' it.id class='btn btn-xs btn-info' title='编辑'}}
|
|
<i class="ace-icon fa fa-pencil bigger-120"></i>
|
|
{{/link-to}}
|
|
{{op-detail it.id}}
|
|
</div>
|
|
|
|
<div class="hidden-md hidden-lg">
|
|
<div class="inline pos-rel">
|
|
|
|
<button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown" data-position="auto">
|
|
<i class="ace-icon fa fa-cog icon-only bigger-110"></i>
|
|
</button>
|
|
|
|
<ul class="dropdown-menu dropdown-only-icon dropdown-yellow dropdown-menu-right dropdown-caret dropdown-close">
|
|
<li>
|
|
{{status-toggle-button model=it iconOnly=true}}
|
|
</li>
|
|
|
|
<li>
|
|
{{#link-to 'user.edit' it.id class='tooltip-info' data-rel='tooltip' title='编辑'}}
|
|
<span class="blue">
|
|
<i class="ace-icon fa fa-pencil-square-o bigger-120"></i>
|
|
</span>
|
|
{{/link-to}}
|
|
</li>
|
|
|
|
<li>
|
|
<a href="#" class="tooltip-error" data-rel="tooltip" title="Delete">
|
|
<span class="red">
|
|
<i class="ace-icon fa fa-trash-o bigger-120"></i>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{pagination-bar}}
|
|
</div>
|
|
</div>
|
|
{{/main-content}}
|