2018-06-03 22:26:41 +08:00

26 lines
1.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/IncludeBegin.jsp"%>
<link rel="stylesheet" href="<%=sWebRootPath%>/Frame/page/resources/css/tabs.css">
<link rel="stylesheet" type="text/css" href="<%=sWebRootPath%><%=sSkinPath%>/css/tabs.css">
<script type='text/javascript' src='<%=sWebRootPath%>/Frame/resources/js/tabstrip-1.0.js'></script>
<div style="padding:1% 0.5%;border:0px solid #F00;position:absolute; height:100%;width: 100%;over-flow:hidden" id="ControlCenter">
</div>
<%@ include file="/IncludeEnd.jsp"%>
<script type="text/javascript">
setWindowTitle("控制台信息");
$(document).ready(function(){
var tabCompent = new TabStrip("T001","控制台","tab","#ControlCenter");
tabCompent.setSelectedItem("0010"); //默认选中项的编号
//tabCompent.setIsCache(true); //是否缓存,如果设置为false则添加的元素即使设置了缓存也不会有效
tabCompent.setCanClose(false); //是否有关闭按钮,如果设置为false则添加的元素即使设置了关闭按钮也不会显示
//添加一项参数说明ID(必需唯一),名称,解发脚本,是否缓存,是否有可关闭
tabCompent.addDataItem('0010',"运行参数","AsControl.OpenView('/Frame/page/debug/monitor/RunConfig.jsp','','TabContentFrame')",true,true);
tabCompent.addDataItem('0020',"缓存控制台","AsControl.OpenView('/Frame/page/debug/monitor/CacheConsole.jsp','','TabContentFrame')",true,true);
tabCompent.addDataItem('0030',"系统环境","AsControl.OpenView('/Frame/page/debug/monitor/SystemEnv.jsp','','TabContentFrame')",true,true);
tabCompent.addDataItem('0040',"系统属性","AsControl.OpenView('/Frame/page/debug/monitor/SystemProperties.jsp','','TabContentFrame')",true,true);
tabCompent.addDataItem('0050',"日志管理","AsControl.OpenView('/Frame/page/debug/monitor/AppLogFileList.jsp','','TabContentFrame')",false,true);
//如果使用addDataItem,则必需调用init()函数
tabCompent.initTab();
});
</script>