root / trunk / web / index.jsp @ 9
History | View | Annotate | Download (1.82 KB)
| 1 |
<%@page contentType="text/html" pageEncoding="UTF-8"%> |
|---|---|
| 2 |
<% |
| 3 |
if(session.getAttribute("authenticated") == null ||
|
| 4 |
Boolean.parseBoolean(session.getAttribute("authenticated").toString()) == false){
|
| 5 |
response.sendRedirect("login.jsp");
|
| 6 |
} |
| 7 |
%> |
| 8 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 9 |
"http://www.w3.org/TR/html4/loose.dtd"> |
| 10 |
<html> |
| 11 |
<head> |
| 12 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 13 |
<title>LIDAR Web Console</title> |
| 14 |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.1/build/reset-fonts-grids/reset-fonts-grids.css"/> |
| 15 |
<link rel="stylesheet" type="text/css" href="css/style.css"/> |
| 16 |
<link rel="stylesheet" type="text/css" href="dojo/dijit/themes/claro/claro.css"/> |
| 17 |
</head> |
| 18 |
<body class="claro"> |
| 19 |
<div id="wrap"> |
| 20 |
<h1>LIDAR Web Console</h1> |
| 21 |
<hr/> |
| 22 |
|
| 23 |
<div dojoType="dijit.layout.TabContainer" style="width: 100%;" doLayout="false"> |
| 24 |
<div dojoType="dijit.layout.ContentPane" title="Info" href="info.jsp" selected="true" closable="true"></div> |
| 25 |
<div dojoType="dijit.layout.ContentPane" title="Status" href="status.jsp"></div> |
| 26 |
<div dojoType="dijit.layout.ContentPane" title="Log" href="log.json" closable="true"></div> |
| 27 |
</div> |
| 28 |
|
| 29 |
</div> |
| 30 |
<div id="footer">© 2010 LIDAR</div> |
| 31 |
<!--<script type="text/javascript" src="js/mootools-1.2.4-core-nc.js"></script>--> |
| 32 |
<script type="text/javascript" src="dojo/dojo/dojo.js" djConfig="isDebug: true, parseOnLoad: true"></script> |
| 33 |
<script type="text/javascript" src="dojo/dijit/dijit.js"></script> |
| 34 |
<script type="text/javascript" src="dojo/dijit/dijit-all.js"></script> |
| 35 |
<script type="text/javascript" src="js/main.js"></script> |
| 36 |
</body> |
| 37 |
</html> |