Zhiqim Admin(简版的管理台)是从知启蒙管理台分离出来,保留系统参数表、系统菜单表、操作员、操作日志,去除组织、部门、角色等复杂权限功能,仅保留操作员独立权限功能。系统设计时保留ZmrSessionUser和ZmrOperator类,方便以后升级到知启蒙管理台。

森中灵 最后提交于2月前 修复cache显示错误,增加移动不带条件方法,增加操作日志不带说明方法
cache.zml2KB
${zhiqim_manager_breadcrumb("系统缓存")}
${zhiqim_manager_content()}
${request.getValidateSubmitScript()}

<#-- 导航 -->
<div class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
<nav>
<ul class="z-mg-r10">
    ${zhiqim_manager_tabnav("系统菜单", "/"+zhiqim_manager+"/menu.htm", true)}
    ${zhiqim_manager_tabnav("系统配置", "/"+zhiqim_manager+"/config.htm", true)}
    <li class="z-active">系统缓存</li>
    ${zhiqim_manager_tabnav("系统参数", "/"+zhiqim_manager+"/param.htm", true)}
    ${zhiqim_manager_tabnav("首页主题", "/"+zhiqim_manager+"/themeIndex.htm", true)}
    ${zhiqim_manager_tabnav("主页主题", "/"+zhiqim_manager+"/themeMain.htm", true)}
    ${zhiqim_manager_tabnav("密钥对", "/"+zhiqim_manager+"/keys.htm", true)}
    ${zhiqim_manager_tabnav("进程信息", "/"+zhiqim_manager+"/process.htm", true)}
</ul>
</nav>
</div>

<#-- 列表 -->
<#for server : list>
<#if server.getCacheMap().isEmpty()>
<#continue/>
</#if>
<table class="z-table z-bordered z-pd10 <#if group_index gt 0>z-mg-t10</#if> z-bg-white">
${zhiqim_manager_tr_title("系统缓存["+server.getId()+"]列表")}
<tr class="z-h40" bgcolor="${zmr_thead_bgcolor}">  
    <td width="20%">表名</td>
    <td width="*">对象</td>
    <td width="330">定时器</td>
    <td width="15%" class="z-text-center">操作</td>
</tr>
</table>
<#for item : server.getCacheMap().keySet()>
<form method="post" onsubmit="return false;" data-role="z-call-frame">
<input name="id" type="hidden" value="${server.getId()}">
<input name="className" type="hidden" value="${item.getName()}">
<table class="z-table z-bordered zi-bd-t-none z-h60-tr z-pd10 z-lh150p" bgcolor="${zhiqim_manager_tr_bg(item_index)}">
<tr>
    <td width="20%" class="zi-samp">#{server.table().getTable(item).getTable()}</td>
    <td width="*" class="zi-samp">#{item.getName()}</td>
    <td width="330" class="zi-samp">#{server.getCacheMap().get(item).toString()}</td>
    <td width="15%" class="z-text-center"><button type="submit" class="z-button" onclick="submitForm(this.form);">刷新缓存</button></td>
</tr>
</table>
</form>
</#for>
</#for>
${zhiqim_manager_content_end()}