annotate gnv/src/main/webapp/WEB-INF/jsp/mainlayout.jsp @ 581:f0f0d4eaee58

Display chart when reaching a final state which doesn't need any further user input (issue184). gnv/trunk@722 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 02 Mar 2010 09:02:31 +0000
parents a634d5ee961d
children 734e8301c9ea
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>
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 }
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
53 </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
54 </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
55
572
3f7bbc6dc751 Sourced JavaScript script tags for loading and rendering an OpenLayers client out to an own jsp page.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 571
diff changeset
56 <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
57 <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
58 <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
59 <div id="overlayContent">
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
60 <p>
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
61 <bean:message key="gnviewer.productselection.overlay.title"/>
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
62 </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
63 </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
64 </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
65 <div id="page">
16
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
66 <jsp:include page="header.jsp" />
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
67 <jsp:include page="index.jsp" />
4ef6e4e9ef15 Intergate the new Pageinfrastructure into the old Layout
Tim Englich <tim.englich@intevation.de>
parents: 14
diff changeset
68 <jsp:include page="footer.jsp" />
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>
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
70 </body>
291
b48172dc24ed Added demo wkt linestrings via xslt and javascript.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 27
diff changeset
71 </html>

http://dive4elements.wald.intevation.org