default.jsp 2.72 KB
Newer Older
afe's avatar
afe committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
<%@ page contentType="text/html;charset=UTF-8"%>
<%-- <%@ page import="com.hp.cmsz.commons.utils.PropertiesUtil,com.hp.cmsz.commons.utils.OSinfo,com.hp.cmsz.commons.utils.EPlatform" %> --%>
<%@ taglib prefix="sitemesh"
	uri="http://www.opensymphony.com/sitemesh/decorator"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%--  <%
   EPlatform osname = OSinfo.getOSname();
   if (osname.toString().startsWith("Windows")) {%>
     <c:set var="biserver_config" value='<%= "http://localhost:8080/pentaho/ViewAction?&solution=CMSZ&userid=joe&password=password&" %>' scope="application"/>
   <%} else {%>
     <c:set var="biserver_config" value='<%= "http://" + PropertiesUtil.readValue("/home/pentaho/conf" + System.getProperty("file.separator") + "application.properties", "linux_server_ip") + ":8080/pentaho/ViewAction?&solution=CMSZ&userid=joe&password=password&" %>' scope="application"/>
  <%}
%> 
 --%>
 <c:set var="biserver_config" value='<%= request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/pentaho/ViewAction?&solution=CMSZ&userid=joe&password=password&" %>' scope="application"/>

<!DOCTYPE html>
<html>
<head>
<title>CmszMonitorAnalysis<sitemesh:title />
</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
   
<script type="text/javascript" src="${ctx}/static/js/jquery-1.7.2.js"></script>
<script type="text/javascript" src="${ctx}/static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/static/js/waypoints.js"></script>
<script type="text/javascript" src="${ctx}/static/js/waypoints-sticky.js"></script>
<script type="text/javascript" src="${ctx}/static/js/site.js"></script> 
<script type="text/javascript" src="${ctx}/static/js/json2.js"></script> 
<script src="${ctx}/static/artDialog-5.0.4/jquery.artDialog.min.js"></script>
<script src="${ctx}/static/artDialog-5.0.4/artDialog.plugins.min.js"></script>
<script type="text/javascript"	src="${ctx}/static/My97DatePicker/WdatePicker.js"></script>

<link rel="stylesheet" media="screen" href="${ctx}/static/css/bootstrap.css"/>
<link rel="stylesheet" media="screen" href="${ctx}/static/css/styles.css"/>
<link href="${ctx}/static/artDialog-5.0.4/skins/default.css" rel="stylesheet" />
<sitemesh:head />
</head>

<body>
	<div class="container_default">
		<%@ include file="/WEB-INF/layouts/header.jsp"%>
		<div id="content">
			<sitemesh:body />
		</div>
		<%@ include file="/WEB-INF/layouts/footer.jsp"%>
	</div>
<script type="text/javascript" src="${ctx}/static/js/commonutils.js"></script> 
</body>
         
</html>