annotate 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
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"/>
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 697
diff changeset
16 <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
17 <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
18 <script type="text/javascript">
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
19 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
20 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
21 "LINESTRING (" +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
22 "0.4911 56.2489, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
23 "10.4464 58.1608, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
24 "12.2321 56.4127, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
25 "13.1250 54.8832, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
26 "15.4018 54.5008, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
27 "19.6875 56.4127, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
28 "20.6250 59.0349, " +
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
29 "28.1250 60.2640)";
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
30 }
392
1b8fd2635ce4 Added wkt polygon to test the "Horizontalschnitt"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 291
diff changeset
31 function copy_demo_wkt_polygon() {
393
d812c5b62eb4 Fixes fake wkt polygon input.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 392
diff changeset
32 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
33 "POLYGON ((" +
399
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
34 "-1.5763 58.3616, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
35 " 0.7526 53.8428, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
36 " 4.2686 53.1972, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
37 " 7.9217 54.1441, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
38 " 7.6020 56.2959, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
39 "11.5747 57.2857, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
40 "10.4788 58.4908, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
41 " 4.2686 58.8996, " +
aaf04967bd53 Using a simpler demo WKT polygon in "Horizontalschnitt".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 393
diff changeset
42 " 0.0219 58.5768, " +
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))";
392
1b8fd2635ce4 Added wkt polygon to test the "Horizontalschnitt"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 291
diff changeset
44 }
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
45
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
46 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
47 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
48
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 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
50 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
51 }
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 }
695
883b366e3b15 Replaced buttons for saving/loading projects with links.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 694
diff changeset
53
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
54 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
55 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
56 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
57 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
58 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
59 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
60 else {
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
61 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
62 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
63 }
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
64
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
65 </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
66 </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
67
710
5f29bfeb61bd Improved the design and layout of the user interface.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 697
diff changeset
68 <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
69 <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
70 <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
71 <div id="overlayContent">
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
72 <p>
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
73 <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
74 <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
75 <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
76 <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
77 </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
78 </p>
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
79 </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
80 </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
81 </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
82 <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
83 <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
84 <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
85 </div>
697
d2582f75b144 Improved design and added new wms layers as background for 'Horizontalschnitte'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 695
diff changeset
86 <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
87 <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
88 </div>
271ec4d11a9f Changed the whole design of the application regarding the bsh styleguide.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 686
diff changeset
89 <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
90 <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
91 </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
92 </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
93 </body>
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
94 </html>

http://dive4elements.wald.intevation.org