94 lines
4.2 KiB
Plaintext
94 lines
4.2 KiB
Plaintext
|
|
<div id="grid">
|
||
|
|
<div class="grid_toolbar">
|
||
|
|
<table style="width:100%;">
|
||
|
|
<tr>
|
||
|
|
<td style="width:100%;">
|
||
|
|
<button type="button" id="btn1" ui-config="style:'button_submit'">添加
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btn2" ui-config="style:'button_danger'">删除
|
||
|
|
</button>
|
||
|
|
<span class="sep"></span>
|
||
|
|
<button type="button" id="btnAuth" ui-config="fontIcon: {
|
||
|
|
left: {icon: 'fa-wrench', color: '#000', size: 16},
|
||
|
|
right: {icon: 'fa-caret-down', color: '#000', size: 16}
|
||
|
|
}">授权
|
||
|
|
</button>
|
||
|
|
<span class="sep"></span>
|
||
|
|
<button type="button" id="btnReset" ui-config="
|
||
|
|
fontIcon: {left: {icon: 'fa-retweet', color: '#000', size: 16}}">密码重置
|
||
|
|
</button>
|
||
|
|
<button type="button" id="btnMore" ui-config="fontIcon: {
|
||
|
|
left: {icon: 'fa-navicon (alias)', color: '#000', size: 16},
|
||
|
|
right: {icon: 'fa-caret-down', color: '#000', size: 16}
|
||
|
|
}">更多操作
|
||
|
|
</button>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<input id="searchbox" type="text">
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<table class="grid_data">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<td style="width: 20px;"><input class="grid_selector" type="checkbox" id="cbAll"/></td>
|
||
|
|
<td style="width: 28px;">头像</td>
|
||
|
|
<td style="width: 44px;">操作</td>
|
||
|
|
<td style="width: 28px;">序号</td>
|
||
|
|
<td sortfield="loginname">登录账户</td>
|
||
|
|
<td sortfield="username">用户姓名</td>
|
||
|
|
<td sortfield="sex">性别</td>
|
||
|
|
<td>所属组织</td>
|
||
|
|
<td sortfield="username">用户状态</td>
|
||
|
|
<td sortfield="username">用户类型</td>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr class="row{{i%2}}">
|
||
|
|
<td><input class="grid_selector" type="checkbox" id="cb{{i}}"/></td>
|
||
|
|
<td class="tdCenter">{{value |avatarsFilter}}</td>
|
||
|
|
<td>
|
||
|
|
<a class="icon icon_rowedit" title="编辑" href="javascript:void(0);"
|
||
|
|
onclick="editRow('{{value.id}}');"></a>
|
||
|
|
<span class="sep"></span>
|
||
|
|
<a class="icon icon_rowdelete" title="删除" href="javascript:void(0);"
|
||
|
|
onclick="deleteRow(['{{value.id}}']);"></a></td>
|
||
|
|
<td>{{i+1}}</td>
|
||
|
|
<td><a title="查看" href="javascript:void(0);"
|
||
|
|
onclick="viewRow('{{value.id}}','{{value.loginname}}');">{{value.loginname}}</a></td>
|
||
|
|
<td>{{value.username}}</td>
|
||
|
|
<td>{{value.sex |sexFilter}}</td>
|
||
|
|
<td>{{value.orgs |orgFilter}}</td>
|
||
|
|
<td>{{value.status |statusFilter}}</td>
|
||
|
|
<td>{{value.usertype |usertypeFilter}}</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
<div class="grid_pagination"></div>
|
||
|
|
</div>
|
||
|
|
<div id="auth_menu" style="display: none;">
|
||
|
|
<ul>
|
||
|
|
<li ui-config="id:1,icon:'cog',fontIcon:{icon: 'fa-puzzle-piece', color: '#000', size: 16},url:'#'">设置功能权限
|
||
|
|
</li>
|
||
|
|
<#if hasRoleService>
|
||
|
|
<li ui-config="id:2,icon:'cog',fontIcon:{icon: 'fa-user', color: '#000', size: 16},url:'#'">设置用户角色
|
||
|
|
</li>
|
||
|
|
</#if>
|
||
|
|
<li ui-config="id:3,icon:'cog',fontIcon:{icon: 'fa-search', color: '#000', size: 16},url:'#'">权限预览
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
<div id="more_menu" style="display: none;">
|
||
|
|
<ul>
|
||
|
|
<li ui-config="id:1,icon:'cog',fontIcon:{icon: 'fa-lock', color: '#000', size: 20},url:'#'">用户锁定
|
||
|
|
</li>
|
||
|
|
<li ui-config="id:2,icon:'cog',fontIcon:{icon: 'fa-stop', color: '#a90329', size: 16},url:'#'">用户停用
|
||
|
|
</li>
|
||
|
|
<li ui-config="id:3,icon:'cog',fontIcon:{icon: 'fa-unlock', color: '#000', size: 16},url:'#'">用户解锁/启用
|
||
|
|
</li>
|
||
|
|
<li ui-config="id:4,icon:'cog',fontIcon:{icon: 'fa-list', color: '#000', size: 16},url:'#'">批量修改所属组织
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
<input id="asset_path" type="hidden" value="${asset_path}" />
|