comparison gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 710:5f29bfeb61bd

Improved the design and layout of the user interface. gnv/trunk@980 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Sun, 25 Apr 2010 21:05:44 +0000
parents d2582f75b144
children cfea6dacd52a
comparison
equal deleted inserted replaced
709:68d0fba6f23e 710:5f29bfeb61bd
11 <meta http-equiv="Content-Style-Type" content="text/css"/> 11 <meta http-equiv="Content-Style-Type" content="text/css"/>
12 <meta http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:01 GMT"/> 12 <meta http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:01 GMT"/>
13 <meta http-equiv="pragma" content="no-cache"/> 13 <meta http-equiv="pragma" content="no-cache"/>
14 <meta http-equiv="cache-control" content="no-cache"/> 14 <meta http-equiv="cache-control" content="no-cache"/>
15 <meta name="robots" content="noindex"/> 15 <meta name="robots" content="noindex"/>
16 <link href="styles/default.css" rel="stylesheet" type="text/css"/> 16 <link href="styles/gnv.css" rel="stylesheet" type="text/css"/>
17 <script type="text/javascript" src="scripts/gnviewer.js"></script> 17 <script type="text/javascript" src="scripts/gnviewer.js"></script>
18 <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script>
19 <script type="text/javascript"> 18 <script type="text/javascript">
20 jQuery.noConflict();
21 function copy_demo_wkt_line() { 19 function copy_demo_wkt_line() {
22 document.getElementById('mesh_linestring').value = 20 document.getElementById('mesh_linestring').value =
23 "LINESTRING (" + 21 "LINESTRING (" +
24 "0.4911 56.2489, " + 22 "0.4911 56.2489, " +
25 "10.4464 58.1608, " + 23 "10.4464 58.1608, " +
62 else { 60 else {
63 ele.style.visibility = "hidden"; 61 ele.style.visibility = "hidden";
64 } 62 }
65 } 63 }
66 64
67 /**
68 * Calculate the content's height (content = window -header - footer).
69 */
70 function initHeight() {
71 var winHeight = window.innerHeight;
72 var headerHeight = jQuery("headerElement").innerHeight();
73 var footerHeight = jQuery("footerElement").innerHeight();
74 var height = winHeight - headerHeight - footerHeight;
75 jQuery("contentElement").innerHeight(height);
76 jQuery(window).resize(initHeight);
77 }
78 </script> 65 </script>
79 </head> 66 </head>
80 67
81 <body id="gnviewerbody" onload="initHeight();"> 68 <body id="gnviewerbody">
82 <div id="overlay"></div> 69 <div id="overlay"></div>
83 <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute"> 70 <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute;visibility:hidden;">
84 <div id="overlayContent"> 71 <div id="overlayContent">
85 <p> 72 <p>
86 <bean:message key="gnviewer.productselection.overlay.title"/> 73 <bean:message key="gnviewer.productselection.overlay.title"/>
87 <p class="reload"> 74 <p class="reload">
88 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>"> 75 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
97 <jsp:include page="header.jsp" /> 84 <jsp:include page="header.jsp" />
98 </div> 85 </div>
99 <div id="contentElement" class="contentElement"> 86 <div id="contentElement" class="contentElement">
100 <jsp:include page="index.jsp" /> 87 <jsp:include page="index.jsp" />
101 </div> 88 </div>
102 <br>
103 <div id="footerElement"> 89 <div id="footerElement">
104 <jsp:include page="footer.jsp" /> 90 <jsp:include page="footer.jsp" />
105 </div> 91 </div>
106 </div> 92 </div>
107 </body> 93 </body>

http://dive4elements.wald.intevation.org