Mercurial > dive4elements > gnv-client
view gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 707:cb1bae26e7ae
Adapted MapServer path in the gui with http request parameters for calling GetCapabilites (issue237).
gnv/trunk@976 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 23 Apr 2010 13:22:12 +0000 |
parents | d2582f75b144 |
children | 5f29bfeb61bd |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> <bean:message key="gnviewer.app.title"/> </title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Script-Type" content="text/javascript"/> <meta http-equiv="Content-Style-Type" content="text/css"/> <meta http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:01 GMT"/> <meta http-equiv="pragma" content="no-cache"/> <meta http-equiv="cache-control" content="no-cache"/> <meta name="robots" content="noindex"/> <link href="styles/default.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="scripts/gnviewer.js"></script> <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script> <script type="text/javascript"> jQuery.noConflict(); function copy_demo_wkt_line() { document.getElementById('mesh_linestring').value = "LINESTRING (" + "0.4911 56.2489, " + "10.4464 58.1608, " + "12.2321 56.4127, " + "13.1250 54.8832, " + "15.4018 54.5008, " + "19.6875 56.4127, " + "20.6250 59.0349, " + "28.1250 60.2640)"; } function copy_demo_wkt_polygon() { document.getElementById('mesh_polygon').value = "POLYGON ((" + "-1.5763 58.3616, " + " 0.7526 53.8428, " + " 4.2686 53.1972, " + " 7.9217 54.1441, " + " 7.6020 56.2959, " + "11.5747 57.2857, " + "10.4788 58.4908, " + " 4.2686 58.8996, " + " 0.0219 58.5768, " + "-1.5763 58.3616))"; } function toggleBinType(toDeactivate) { var ele = document.getElementById(toDeactivate); if (ele != null) { ele.checked = false; } } function toggle(element) { var ele = document.getElementById(element); var vis = ele.style.visibility; if (vis != "visible") { ele.style.visibility = "visible"; } else { ele.style.visibility = "hidden"; } } /** * Calculate the content's height (content = window -header - footer). */ function initHeight() { var winHeight = window.innerHeight; var headerHeight = jQuery("headerElement").innerHeight(); var footerHeight = jQuery("footerElement").innerHeight(); var height = winHeight - headerHeight - footerHeight; jQuery("contentElement").innerHeight(height); jQuery(window).resize(initHeight); } </script> </head> <body id="gnviewerbody" onload="initHeight();"> <div id="overlay"></div> <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute"> <div id="overlayContent"> <p> <bean:message key="gnviewer.productselection.overlay.title"/> <p class="reload"> <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>"> <bean:message key="application.reload"/> </a> </p> </p> </div> </div> <div id="page"> <div id="headerElement"> <jsp:include page="header.jsp" /> </div> <div id="contentElement" class="contentElement"> <jsp:include page="index.jsp" /> </div> <br> <div id="footerElement"> <jsp:include page="footer.jsp" /> </div> </div> </body> </html>