108 lines
4.6 KiB
Handlebars
108 lines
4.6 KiB
Handlebars
{{#main-content}}
|
|
<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>
|
|
{{sortable-th name='employeeId' text='工号'}}
|
|
{{sortable-th name='account' text='账户'}}
|
|
{{sortable-th name='mobile' class="hidden-480" text='手机号'}}
|
|
<th>
|
|
姓名
|
|
</th>
|
|
{{sortable-th name='enName' text='英文名'}}
|
|
<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>
|
|
{{it.account}}
|
|
</td>
|
|
<td class="hidden-480">
|
|
{{it.mobile}}
|
|
</td>
|
|
<td>
|
|
{{it.name}}
|
|
</td>
|
|
<td>
|
|
{{it.enName}}
|
|
</td>
|
|
<td>
|
|
{{status-cell model=it field='admin' enabledText='是' disabledText='否'}}
|
|
</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}}
|
|
</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>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{pagination-bar}}
|
|
</div>
|
|
</div>
|
|
{{/main-content}}
|