template.html 8.42 KB
Newer Older
Thitichaipun Wutthisak 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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--
charset below is utf-8 to assist tools reading this file. The value will be replaced with the system encoding
before returning to client. Do not modify the line below.
-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

	<title>{system}</title>
    <link href="/pentaho-style/styles-new.css" rel="stylesheet" type="text/css" />
		<link href="/pentaho/adhoc/styles/common.css" rel="stylesheet" type="text/css" />
	
	
	<!-- link rel="stylesheet" type="text/css" href="/pentaho-style/active/default.css" / -->
	<link rel="shortcut icon" href="/pentaho-style/favicon.ico" />
	<link rel="stylesheet" type="text/css" href="/pentaho-style/menus/transmenu.css"/>
	<script language="javascript" src="/pentaho-style/menus/transmenu.js"></script>
	<script language="javascript">
		var backgroundAlert = "{background-alert}";
		var gRepositoryName = "{repository-name}";
	</script>
 
	<script src="/pentaho/js/ajaxslt0.7/xmltoken.js" type="text/javascript"></script>
	<script src="/pentaho/js/ajaxslt0.7/util.js" type="text/javascript"></script>	
	<script src="/pentaho/js/ajaxslt0.7/misc.js" type="text/javascript"></script>
	<script src="/pentaho/js/ajaxslt0.7/dom.js" type="text/javascript"></script>
	<script src="/pentaho/js/ajaxslt0.7/xpath.js" type="text/javascript"></script>

	<script src="/pentaho/js/pentaho-ajax.js" type="text/javascript"></script>
	<script src="/pentaho/js/utils.js" type="text/javascript"></script>
	<script type="text/javascript">
		djConfig = { isDebug: false};
	</script>

	<script src="/pentaho/js/dojo.js" type="text/javascript"></script>
	
	<script type="text/javascript">
		dojo.registerModulePath("adhoc", "/pentaho/adhoc/js");
	</script>
	
	<script language="javascript" src="/pentaho-style/pentaho.js"></script>
	
  <script src="/pentaho/adhoc/js/common/ui/messages/Messages.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/util/StringUtils.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/util/Status.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/util/Debug.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/util/XmlUtil.js" type="text/javascript"></script>
  
  
  <script src="/pentaho/adhoc/js/common/ui/UIUtil.js" type="text/javascript"></script>
	<script type="text/javascript">
		UIUtil.setImageFolderPath( "/pentaho/adhoc/images/" );
	</script>
  <script src="/pentaho/adhoc/js/common/ui/HTMLCtrl.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/Logger.js" type="text/javascript"></script>
	<script src="/pentaho/adhoc/js/common/ui/TabCtrl.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/ListCtrl.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/Dialog.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/SimpleDialog.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/AclEditorDialog.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/AclEditorCtrl.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/ButtonCtrl.js" type="text/javascript"></script>
  
  <script src="/pentaho/adhoc/js/common/controller/AclEditorController.js" type="text/javascript"></script>
  <script src="/pentaho/adhoc/js/common/ui/MessageCtrl.js" type="text/javascript"></script>
  
  <script src="/pentaho/adhoc/js/common/server/WebServiceProxy.js" type="text/javascript"></script>
	
	<script language="javascript" src="/pentaho/js/options.js"></script>
	{header-content}
</head>

<body class="body" dir="{text-direction}" {body-tag} >

<div class="banner"></div>
		<div id="menu">
			<a id="home-menu" href="Home">{home}</a>
			<a id="navigate-menu" href="#">{navigate}</a>
			<a id="admin-menu" href="Admin">{admin}</a>
			<a id="logout-menu" href="Logout">{logout}</a>
			<a id="about-menu" href="#">{about}</a>
		</div>
		<div id="backgroundalert" style="display:none;position:absolute;top:3px;left:103px;height:30px;width:200px;z-index:100">
			<span style="font-size:1em">
				<a href="UserContent" style="font-size:1em;color:white">
					{new-content}
				</a>
			</span>
		</div>

	<script language="javascript">

		function docLoaded() {
			try {
				if( backgroundAlert == 'true' ) {
					document.getElementById( 'backgroundalert' ).style.display='block';
				}
			} catch (e) {alert(e)}
		}

 		document.onload=docLoaded();

		isAdmin = "{isAdmin}";
		isLoggedIn = "{isLoggedIn}";

	// set up drop downs anywhere in the body of the page. I think the bottom of the page is better..
	// but you can experiment with effect on loadtime.
	if (TransMenu.isSupported()) {

		var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);

		var menu1 = ms.addMenu(document.getElementById("home-menu"));

		var menu2 = ms.addMenu(document.getElementById("navigate-menu"));
		menu2.addItem("New Report", "javascript:popPage('adhoc/waqr.html')");
		menu2.addItem("New Analysis View", "javascript:popPage('NewAnalysisView')");
		menu2.addItem("{solutions}", "Navigate");
		menu2.addItem("{file-cache}", "UserContent");
		menu2.addItem("{portal}", "/portal/portal/pentaho/default");

		var menu3 = ms.addMenu(document.getElementById("admin-menu"));

		var menu5 = ms.addMenu(document.getElementById("logout-menu"));

		var menu4 = ms.addMenu(document.getElementById("about-menu"));
		menu4.addItem("{pentaho.org}", "javascript:popPage('http://www.pentaho.org')");
		menu4.addItem("{demos}", "javascript:popPage('http://www.pentaho.com/products/demos/')");
		menu4.addItem("{downloads}", "javascript:popPage('http://www.pentaho.org/download')");
		menu4.addItem("{forums}", "javascript:popPage('http://www.pentaho.org/forums')");
		menu4.addItem("{about}", "javascript:modalWin('About')");

		TransMenu.renderAll();
	}
	</script>

{content}
{footer}
<noscript>

<td valign="top" style="fpadding: 0px 0px 0px 15px; font-size: .85em;text-align:left"><table align="center" border="0" cellpadding="0" cellspacing="0">
      <tr>
         <td><img border="0" src="/pentaho-style/images/fly-top-left1.png"/></td>
         <td style="background-image: url(/pentaho-style/images/fly-top1.png);background-repeat: repeat-x;"></td>
         <td><img border="0" src="/pentaho-style/images/fly-top-right1.png"/></td>
      </tr>

      <tr style="background-color: #e5e5e5;">
         <td style="background-image: url(/pentaho-style/images/fly-left1.png);background-repeat: repeat-y;"></td>
         <td style="padding:0px" valign="top">

            <table id="WarningTable" style="padding: 0px 5px 5px 5px;">
               <tr>
                  <td colspan="2" style="font-size:1.6em" class="content_header_line">
				  Warning !!!
				  </td>

               </tr>
				<tr>
                 <td colspan="2"style="font-size:1em" class="content_header">Your browser doesn't support JavaScript or you have disabled JavaScript. 
	  Javascript should be enabled <br/> with this site. For example, the
	  dropdown menu will not properly function without Javascript.</td>

               </tr>
             </table>
         </td>
         <td style="background-image: url(/pentaho-style/images/fly-right1.png);background-repeat: repeat-y;"></td>
      </tr>
      <tr>
         <td><img border="0" src="/pentaho-style/images/fly-bot-left1.png"/></td>
         <td><img src="/pentaho-style/images/fly-bot1.png" height="25" width="100%"/></td>
         <td><img border="0" src="/pentaho-style/images/fly-bot-right1.png"/></td>
      </tr>
   </table>
</td>
		</noscript>
		
		<!-- ACL - share dialog -->
		<div id="modalMaskId" class="modalMask" style='display:none'>
			<div id="aclDialog.dialogId" class="aclDialog" style='display:none;top:100px;left:200px;'>
				<table border="0" cellspacing="0" cellpadding="0" class="aclDialogTable">
					<tr>
						<td class="aclDialogHeader">
							<div id="dialog.titleBarId" class="aclDialogTitleBar" onmouseover="this.onmousedown=Dialog.dragIsDown;"
								ondragstart="return false;" onselectstart="return false;">
							</div>
						</td>
					</tr>
					<tr class='aclDialogClientRow'>
						<td><div id='dialog.clientDiv' class='aclDialogClientDiv'/></td>
					</tr>
					<tr class='aclDialogBntRow'>
						<td><div id='dialog.btnDiv' class='aclDialogBtnDiv'/></td>
					</tr>
				</table>
			</div>
		</div>
		
</body>
</html>