Mercurial > dive4elements > gnv-client
comparison gnv/src/main/webapp/WEB-INF/jsp/wmslayout.jsp @ 982:cd9414538f10
Added possibility to switch to FullScreen-Mode of the MapClient.
gnv/trunk@1161 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 07 Jun 2010 09:54:47 +0000 |
parents | 5779220ebb80 |
children | 28a0628b11b0 |
comparison
equal
deleted
inserted
replaced
981:10bee74ab915 | 982:cd9414538f10 |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%> | 3 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModel"%> |
4 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> | 4 <%@page import="de.intevation.gnv.action.sessionmodel.SessionModelFactory"%> |
5 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> | 5 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> |
6 <% | |
7 String serverPath = (String) request.getAttribute("mapserver"); | |
8 String mapfilePath = (String) request.getAttribute("mapfile"); | |
9 String layerName = (String) request.getAttribute("layer"); | |
10 String timeToLive = (String) request.getAttribute("ttl"); | |
11 SessionModel sm = SessionModelFactory.getInstance().getSessionModel(request); | |
12 %> | |
13 <html xmlns="http://www.w3.org/1999/xhtml"> | 6 <html xmlns="http://www.w3.org/1999/xhtml"> |
14 <head> | 7 <jsp:include page="/WEB-INF/jsp/includes/wms_header_inc.jsp" /> |
15 <title> | |
16 <bean:message key="gnviewer.app.title"/> | |
17 </title> | |
18 <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
19 <meta http-equiv="Content-Script-Type" content="text/javascript"/> | |
20 <meta http-equiv="Content-Style-Type" content="text/css"/> | |
21 <meta http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:01 GMT"/> | |
22 <meta http-equiv="pragma" content="no-cache"/> | |
23 <meta http-equiv="cache-control" content="no-cache"/> | |
24 <meta name="robots" content="noindex"/> | |
25 | |
26 <link rel="stylesheet" type="text/css" href="scripts/ext/ext-2.3.0/resources/css/ext-all.css"></link> | |
27 <link rel="stylesheet" type="text/css" href="scripts/geoext/geoext-0.6/resources/css/geoext-all.css"></link> | |
28 <link rel="stylesheet" type="text/css" href="scripts/openlayers/OpenLayers-2.9/theme/default/style.css"></link> | |
29 <link rel="stylesheet" type="text/css" href="styles/gnv.css"/> | |
30 <link rel="stylesheet" type="text/css" href="styles/ol_style.css"/> | |
31 | |
32 <script type="text/javascript" src="scripts/ext/ext-2.3.0/adapter/ext/ext-base.js"></script> | |
33 <script type="text/javascript" src="scripts/ext/ext-2.3.0/ext-all.js"></script> | |
34 <script type="text/javascript" src="scripts/openlayers/OpenLayers-2.9/OpenLayers.js"></script> | |
35 <script type="text/javascript" src="scripts/geoext/geoext-0.6/script/GeoExt.js"></script> | |
36 <script type="text/javascript" src="scripts/olutils.js"></script> | |
37 <script type="text/javascript" src="<%=response.encodeURL("scripts/layers.jsp?uid="+System.currentTimeMillis())%>"></script> | |
38 <script type="text/javascript" src="<%=response.encodeURL("scripts/viewport.jsp?uid="+System.currentTimeMillis())%>"></script> | |
39 | |
40 <!-- save necessary variables here --> | |
41 <script type="text/javascript"> | |
42 var options, layer, extent, map, mapPanel, infoControls; | |
43 var controls,layers, mouseLoc, grid; | |
44 var infoActive = false; | |
45 </script> | |
46 </head> | |
47 | |
48 <body id="gnviewerbody"> | 8 <body id="gnviewerbody"> |
49 <div id="overlay"></div> | 9 <div id="overlay"></div> |
50 <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute;visibility:hidden;"> | 10 <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute;visibility:hidden;"> |
51 <div id="overlayContent"> | 11 <div id="overlayContent"> |
52 <p> | 12 <p> |