@layout("/common/_container.html"){

##### 角色管理

<#NameCon id="roleName" name="角色名称" />
<#button name="搜索" icon="fa-search" clickFun="Role.search()"/>
@if(shiro.hasPermission("/role/add")){ <#button name="添加" icon="fa-plus" clickFun="Role.openAddRole()" /> @} @if(shiro.hasPermission("/role/edit")){ <#button name="修改" icon="fa-edit" clickFun="Role.openChangeRole()" space="true"/> @} @if(shiro.hasPermission("/role/remove")){ <#button name="删除" icon="fa-remove" clickFun="Role.delRole()" space="true"/> @} @if(shiro.hasPermission("/role/setAuthority")){ <#button name="权限配置" icon="fa-user-secret" clickFun="Role.assign()" space="true"/> @}
<#table id="roleTable"/>
@}