annotate gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 1022:28a0628b11b0

Added license file and license header. gnv/trunk@1258 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 02 Nov 2010 17:15:08 +0000
parents cfea6dacd52a
children
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">
1022
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
3
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
4 <%--
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
5 Copyright (c) 2010 by Intevation GmbH
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
6
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
7 This program is free software under the LGPL (>=v2.1)
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
8 Read the file LGPL.txt coming with the software for details
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
9 or visit http://www.gnu.org/licenses/ if it does not exist.
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
10 --%>
28a0628b11b0 Added license file and license header.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 978
diff changeset
11
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
12 <%@ 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
13 <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
14 <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
15 <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
16 <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
17 </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
18 <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
19 <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
20 <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
21 <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
22 <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
23 <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
24 <meta name="robots" content="noindex"/>
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 697
diff changeset
25 <link href="styles/gnv.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
26 <script type="text/javascript" src="scripts/gnviewer.js"></script>
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
27 <script type="text/javascript">
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
28 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
29 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
30 "LINESTRING (" +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
31 "0.4911 56.2489, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
32 "10.4464 58.1608, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
33 "12.2321 56.4127, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
34 "13.1250 54.8832, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
35 "15.4018 54.5008, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
36 "19.6875 56.4127, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
37 "20.6250 59.0349, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
38 "28.1250 60.2640)";
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
39 }
392
1b8fd2635ce4 Added wkt polygon to test the "Horizontalschnitt"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 291
diff changeset
40 function copy_demo_wkt_polygon() {
393
d812c5b62eb4 Fixes fake wkt polygon input.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 392
diff changeset
41 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
42 "POLYGON ((" +
399
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
43 "-1.5763 58.3616, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
44 " 0.7526 53.8428, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
45 " 4.2686 53.1972, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
46 " 7.9217 54.1441, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
47 " 7.6020 56.2959, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
48 "11.5747 57.2857, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
49 "10.4788 58.4908, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
50 " 4.2686 58.8996, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
51 " 0.0219 58.5768, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
52 "-1.5763 58.3616))";
392
1b8fd2635ce4 Added wkt polygon to test the "Horizontalschnitt"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 291
diff changeset
53 }
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
54
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
55 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
56 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
57
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
58 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
59 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
60 }
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
61 }
695
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
62
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
63 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
64 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
65 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
66 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
67 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
68 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
69 else {
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
70 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
71 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
72 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
73
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
74 </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
75 </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
76
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 697
diff changeset
77 <body id="gnviewerbody">
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
78 <div id="overlay"></div>
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 697
diff changeset
79 <div style="width:100%;left:0;top:0;width:100%;height:100%;position:absolute;visibility:hidden;">
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
80 <div id="overlayContent">
978
cfea6dacd52a Removed (X)HTML errors and warnings (issue275).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 710
diff changeset
81 <bean:message key="gnviewer.productselection.overlay.title"/>
cfea6dacd52a Removed (X)HTML errors and warnings (issue275).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 710
diff changeset
82 <p class="reload">
cfea6dacd52a Removed (X)HTML errors and warnings (issue275).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 710
diff changeset
83 <a href="<%=response.encodeURL("describe.do?uid="+System.currentTimeMillis())%>" title="<bean:message key="application.reload"/>">
cfea6dacd52a Removed (X)HTML errors and warnings (issue275).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 710
diff changeset
84 <bean:message key="application.reload"/>
cfea6dacd52a Removed (X)HTML errors and warnings (issue275).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 710
diff changeset
85 </a>
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
86 </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
87 </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
88 </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
89 <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
90 <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
91 <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
92 </div>
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
93 <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
94 <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
95 </div>
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="footerElement">
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="footer.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>
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
99 </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
100 </body>
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
101 </html>

http://dive4elements.wald.intevation.org