<@sys.roleList pageIndex=pageNum pageSize=numPerPage>
<form class="pagerForm" autocomplete="off" onsubmit="return navTabSearch(this);" method="post">
        <#include "../include_page/parameters.html"/>
</form>
<div class="card">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a href="sysRole/add.html" target="navTab" rel="sysRole/add"><i class="icon-plus-sign-alt icon-large"></i><@t.page 'role.add'/></a></li>
        </ul>
    </div>
    <table class="table" width="100%" layoutH>
        <thead>
            <tr>
                <th width="30"><@t.page 'id'/></th>
                <th><@t.page 'name'/></th>
                <th><@t.page 'module.own_all_right'/></th>
                <th><@t.page 'module.show_all_module'/></th>
                <th><@t.page 'operate'/></th>
            </tr>
        </thead>
        <tbody>
            <#list page.list as a>
            <tr>
                <td>${a.id!}</td>
                <td class="exclude-translate">${(a.name)!}</td>
                <td>${a.ownsAllRight?then(t.pageMessage('yes'),'')}</td>
                <td>${a.showAllModule?then(t.pageMessage('yes'),'')}</td>
                <td>
                    <a href="sysRole/add.html?id=${a.id}" class="edit btnText blue" target="navTab" rel="sysRole/edit"><i class="icon-edit"></i><@t.page 'role.edit'/></a>
                    <a href="sysRole/delete?id=${a.id}&_csrf=<@tools.csrfToken admin=true/>" class="btnText warn" title="<@t.page 'confirm.delete'/>" target="ajaxTodo"><i class="icon-trash"></i><@t.page 'button.delete'/></a>
                </td>
            </tr>
            </#list>
        </tbody>
    </table>
    <#include "../include_page/page.html"/>
</div>
</@sys.roleList>