root / trunk / web / index.jsp @ 12
History | View | Annotate | Download (2.03 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 Service</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="dojox.layout.ContentPane" title="API Key" href="apikey.jsp"></div> |
27 |
<div dojoType="dijit.layout.ContentPane" title="Log" href="log.json" closable="true"></div> |
28 |
</div> |
29 |
|
30 |
</div> |
31 |
<div id="footer">© 2010 LIDAR</div> |
32 |
<!--<script type="text/javascript" src="js/mootools-1.2.4-core-nc.js"></script>--> |
33 |
<script type="text/javascript" src="dojo/dojo/dojo.js" djConfig="isDebug: true, parseOnLoad: true"></script> |
34 |
<script type="text/javascript" src="dojo/dijit/dijit.js"></script> |
35 |
<script type="text/javascript" src="dojo/dijit/dijit-all.js"></script> |
36 |
<script type="text/javascript"> |
37 |
dojo.require('dojox.layout.ContentPane'); |
38 |
</script> |
39 |
<script type="text/javascript" src="js/main.js"></script> |
40 |
</body> |
41 |
</html> |