Zhiqim Manager(知启蒙管理台)是知启蒙框架中最核心的基础组件,大部分后台组件和产品都依赖该组件。因为管理台提供了核心的系统配置、菜单、操作员、部门、角色等权限功能,以及6种皮肤样式可供选择

森中灵 最后提交于4月前 修复切换frame模式时未情况includeUrl
themeIndex.zml1KB
${zhiqim_manager_breadcrumb("首页主题")}
${zhiqim_manager_content()}

<script>
function doUpdate(theme)
{
    var ajax = new Z.Ajax();
    ajax.setClassName("org.zhiqim.manager.action.ThemeIndexAction");
    ajax.setMethodName("update");
    ajax.addParam("theme", theme);
    ajax.setFailureAlert();
    ajax.setSuccessReload();
    ajax.execute();
}
</script>

<#-- 导航 -->
<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+"/avatar.htm", true)}
    ${zhiqim_manager_tabnav("系统配置", "/"+zhiqim_manager+"/config.htm", true)}
    ${zhiqim_manager_tabnav("系统缓存", "/"+zhiqim_manager+"/cache.htm", true)}
    ${zhiqim_manager_tabnav("系统参数", "/"+zhiqim_manager+"/param.htm", true)}
    ${zhiqim_manager_tabnav("操作员参数", "/"+zhiqim_manager+"/paramOperator.htm", true)}
    <li class="z-active">首页主题</li>
    ${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>

<div class="z-float-left z-pd10 z-bg-white z-w100p" style="border-top:2px solid #1299ec">
<table class="z-table">
<#for theme : themeList>
<#if theme_index % 2 == 0>
<tr class="z-h300">
</#if>
    <td width="50%" align="center">
        <img src="#{theme[1]}" height="160"><br><br>
        <#if ZmrAdminRule.check(request)>
        <button class="z-button z-large ${themeIndex == theme[0]?zmr_color_class:""}" onclick="doUpdate('#{theme[0]}');">选择该主题</button>
        </#if>
    </td>
<#if theme_index % 2 == 1>
</tr>
</#if>
</#for>
<#if themeList.size() % 2 ==1>
    <td width="50%" align="center">&nbsp;</td>
</tr>
</#if>
</table>
</div>
${zhiqim_manager_content_end()}