annotate gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 704:ae946acba005

Set Path to Tomcat Standard Logging gnv/trunk@949 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Hans Plum <hans.plum@intevation.de>
date Mon, 19 Apr 2010 15:36:11 +0000
parents d2582f75b144
children 5f29bfeb61bd
rev   line source
14
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
3 <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
408
b5733f9f386b Design improvements: Moved chart option panel and export actions beneath the parameterization panel on the left side. Do not render a useless 'draw' button after reaching the final state.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 399
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml">
14
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
5 <head>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
6 <title>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
7 <bean:message key="gnviewer.app.title"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
8 </title>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
9 <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
10 <meta http-equiv="Content-Script-Type" content="text/javascript"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
11 <meta http-equiv="Content-Style-Type" content="text/css"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
12 <meta http-equiv="Expires" content="Mon, 01 Jan 1990 00:00:01 GMT"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
13 <meta http-equiv="pragma" content="no-cache"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
14 <meta http-equiv="cache-control" content="no-cache"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
15 <meta name="robots" content="noindex"/>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
16 <link href="styles/default.css" rel="stylesheet" type="text/css"/>
27
573655a161d7 Please-Wait Dialog from old Project reactivated.
Tim Englich <tim.englich@intevation.de>
parents: 16
diff changeset
17 <script type="text/javascript" src="scripts/gnviewer.js"></script>
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
18 <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script>
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
19 <script type="text/javascript">
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
20 jQuery.noConflict();
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
21 function copy_demo_wkt_line() {
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
22 document.getElementById('mesh_linestring').value =
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
23 "LINESTRING (" +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
24 "0.4911 56.2489, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
25 "10.4464 58.1608, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
26 "12.2321 56.4127, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
27 "13.1250 54.8832, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
28 "15.4018 54.5008, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
29 "19.6875 56.4127, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
30 "20.6250 59.0349, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
31 "28.1250 60.2640)";
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
32 }
392
1b8fd2635ce4 Added wkt polygon to test the "Horizontalschnitt"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 291
diff changeset
33 function copy_demo_wkt_polygon() {
393
d812c5b62eb4 Fixes fake wkt polygon input.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 392
diff changeset
34 document.getElementById('mesh_polygon').value =
392
1b8fd2635ce4 Added wkt polygon to test the "Horizontalschnitt"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 291
diff changeset
35 "POLYGON ((" +
399
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
36 "-1.5763 58.3616, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
37 " 0.7526 53.8428, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
38 " 4.2686 53.1972, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
39 " 7.9217 54.1441, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
40 " 7.6020 56.2959, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
41 "11.5747 57.2857, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
42 "10.4788 58.4908, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
43 " 4.2686 58.8996, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
44 " 0.0219 58.5768, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
45 "-1.5763 58.3616))";
392
1b8fd2635ce4 Added wkt polygon to test the "Horizontalschnitt"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 291
diff changeset
46 }
575
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
47
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
48 function toggleBinType(toDeactivate) {
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
49 var ele = document.getElementById(toDeactivate);
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
50
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
51 if (ele != null) {
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
52 ele.checked = false;
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
53 }
a634d5ee961d Added checkboxes for selecting the field which is used to adjust the number of bins in histogram charts.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 572
diff changeset
54 }
695
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
55
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
56 function toggle(element) {
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
57 var ele = document.getElementById(element);
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
58 var vis = ele.style.visibility;
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
59 if (vis != "visible") {
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
60 ele.style.visibility = "visible";
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
61 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
62 else {
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
63 ele.style.visibility = "hidden";
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
64 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
65 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
66
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
67 /**
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
68 * Calculate the content's height (content = window -header - footer).
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
69 */
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
70 function initHeight() {
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
71 var winHeight = window.innerHeight;
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
72 var headerHeight = jQuery("headerElement").innerHeight();
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
73 var footerHeight = jQuery("footerElement").innerHeight();
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
74 var height = winHeight - headerHeight - footerHeight;
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
75 jQuery("contentElement").innerHeight(height);
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
76 jQuery(window).resize(initHeight);
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
77 }
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
78 </script>
14
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
79 </head>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
80
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
81 <body id="gnviewerbody" onload="initHeight();">
14
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
82 <div id="overlay"></div>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
83 <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute">
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
84 <div id="overlayContent">
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
85 <p>
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
86 <bean:message key="gnviewer.productselection.overlay.title"/>
686
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 575
diff changeset
87 <p class="reload">
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 575
diff changeset
88 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 575
diff changeset
89 <bean:message key="application.reload"/>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 575
diff changeset
90 </a>
734e8301c9ea Added links to reload the application and rebuild the user interface (issue13, issue18).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 575
diff changeset
91 </p>
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
92 </p>
14
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
93 </div>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
94 </div>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
95 <div id="page">
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
96 <div id="headerElement">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
97 <jsp:include page="header.jsp" />
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
98 </div>
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
99 <div id="contentElement" class="contentElement">
694
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
100 <jsp:include page="index.jsp" />
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
101 </div>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
102 <br>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
103 <div id="footerElement">
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
104 <jsp:include page="footer.jsp" />
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
105 </div>
14
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
106 </div>
9719cbd1a23f Import of MainLayout, Styles, images and Scripts from old System Revision: 3101 Does not compile
Tim Englich <tim.englich@intevation.de>
parents:
diff changeset
107 </body>
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
108 </html>

http://dive4elements.wald.intevation.org