<div class="card">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a href="sysConfig/add.html" target="navTab" rel="sysConfig/add"><i class="icon-plus-sign-alt icon-large"></i><@t.page 'config.add'/></a></li>
        </ul>
    </div>
<@sys.authorized roleIds=admin.roles urls='sysConfigData/edit'><#assign authorizedMap=map/></@sys.authorized>
<@sys.configList advanced=true>
    <table class="table" width="100%" layoutH>
        <thead>
            <tr>
                <th width="200"><@t.page 'code'/></th>
                <th><@t.page 'description'/></th>
                <th width="300"><@t.page 'operate'/></th>
            </tr>
        </thead>
        <tbody>
            <#list list as a>
            <tr>
                <td>${(a.code)!} ${a.customed?then('','['+t.pageMessage('config.system_item')+']')}</td>
                <td>${(a.description)!}</td>
                <td class="wrap">
                    <a href="sysConfig/add.html?code=${a.code?url}" class="edit btnText blue" target="navTab" rel="sysConfig/edit"><i class="icon-edit"></i><@t.page 'config.edit'/></a>
                    <a href="sysConfigData/edit.html?code=${a.code?url}" class="edit btnText" target="navTab" rel="sysConfigData/edit"><@t.page 'config_data.edit'/></a>
                <#if a.customed>
                    <a href="sysConfig/delete?code=${a.code?url}&navTabId=sysConfig/list&_csrf=<@tools.csrfToken admin=true/>" class="btnText warn" title="<@t.page 'confirm.delete'/>" target="ajaxTodo"><@t.page 'config.delete'/></a>
                </#if>
                </td>
            </tr>
            </#list>
        </tbody>
    </table>
</@sys.configList>
</div>