forked from geosolutions-it/VME-Viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_e.html
197 lines (157 loc) · 7.88 KB
/
index_e.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="Map application to display areas of Vulnerable Marine Ecosystems." />
<meta name="author-corporate" content="FAO of the UN" />
<meta name="copyright" content="http://www.fao.org/corp/copyright/en/" />
<meta name="keywords" content="RFB, Regional Fishery Body, Map, FAO" />
<title>Vulnerable Marine Ecosystems Database</title>
<link rel="stylesheet" type="text/css" href="lib/OpenLayers/theme/default/style.css" />
<link rel="stylesheet" href="theme/css/style.css" type="text/css" />
<link rel="stylesheet" href="theme/css/vme.css" type="text/css" />
<link rel="stylesheet" href="theme/css/vmefonts.css" type="text/css" />
<script type="text/javascript" src="lib/extjs/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="lib/extjs/ext-all.js"></script>
<link rel="stylesheet" type="text/css" href="lib/extjs/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="lib/extjs/resources/css/xtheme-gray.css" />
<link rel="stylesheet" type="text/css" href="lib/GeoExt/resources/css/geoext-all.css" />
<script type="text/javascript" src="lib/OpenLayers/OpenLayers.js"></script>
<script type="text/javascript" src="lib/proj4js/lib/proj4js-compressed.js"></script>
<script type="text/javascript" src="lib/OpenLayers/openlayers-ext/LoadingPanel.js"></script>
<script type="text/javascript" src="lib/GeoExt/script/GeoExt.js"></script>
<script type="text/javascript" src="lib/OpenLayers/openlayers-ext/GlassyPanZoom.js" defer="defer"></script>
<script type="text/javascript" src="src/figis-data.js"></script>
<script type="text/javascript" src="src/georeferences.js"></script>
<script type="text/javascript" src="src/login.js"></script>
<script type="text/javascript" src="src/factsheet.js"></script>
<script type="text/javascript" src="src/FigisMap.js"></script>
<!-- proxy overriding configuration: allows to use a proxy for test purpose -->
<script type="text/javascript" src="src/proxy-ovr.js" defer="defer"></script>
<script type="text/javascript" src="src/vmeData.js" ></script>
<script type="text/javascript" src="src/popups.js"></script>
<script type="text/javascript" src="src/sidePanel.js" ></script>
<script type="text/javascript" src="src/vme.js"></script>
<script type="text/javascript" src="lib/OpenLayers/openlayers-ext/Watermark.js" defer="defer"></script>
<style type="text/css">
table.featureInfo, table.featureInfo td, table.featureInfo th {
border:1px solid #15428B;
margin:0;
padding:0;
font-size: 12px;
white-space: nowrap;
/*padding:.1em .1em; */
}
table.featureInfo th{
padding:.2em .2em;
/*text-transform:lowercase;*/
color:#fff;
font-weight:bold;
font-size: 12px;
background:#15428B;
}
table.featureInfo td{
background:#fff;
font-size: 12px;
white-space: nowrap;
}
table.featureInfo tr.odd td{
background:#CEDFF5;
font-size: 12px;
white-space: nowrap;
}
table.featureInfo caption{
text-align:left;
font-size:100%;
font-weight:bold;
text-transform:lowercase;
padding:.2em .2em;
}
</style>
<!--[if lt IE 9]>
<link rel="stylesheet" href="theme/css/oldie.css" type="text/css" />
<![endif]-->
<style type="text/css">
img{
max-width: 100%
}
</style>
<script type="text/javascript">
//Workaround for IE7 IE8 http://trac.osgeo.org/openlayers/ticket/2304
document.namespaces;
</script>
</head>
<body>
<div id="page_e">
<div id="wrapper">
<div id="header">
<div id="logo"></div>
</div>
<div style="display:none" id="topBar">
<label id="lblFilRFB" style="visibility:hidden">Zoom to:</label>
<select id="FilterRFB" onchange="setZoom()"></select>
<label style="visibility:hidden" id="lblRFB">Filter by:</label>
<select style="visibility:hidden" id="SelectRFB" onchange="setVME(null, null, null, 'e-link','rfbs-link', 'rfbs-html')"></select>
<input id="txtCql" type="hidden" />
<input id="command" type="hidden" />
<input id="opt" type="hidden" />
</div>
<div style="position:relative" id="main">
<div id="map" class="map"></div>
<div id="bottomRightPanel">
<div id="yearLess" onClick="javascript:FigisMap.ol.decrementYear()" unselectable="on"></div>
<div id="yearCurrent">
2013
</div>
<div id="yearMore" onClick="javascript:FigisMap.ol.incrementYear()" unselectable="on"></div>
</div>
<div id="lblVME" class="lblVME figisButtonToggle" style="" onclick="toggleStyle(this, true)">VME areas</div>
<div id="lblFootprints" class="lblFootprints figisButton" style="" onclick="toggleStyle(this, true)">Footprints</div>
<div id="lblReset" class="lblReset figisButton" style="" onclick="reset()">Reset</div>
<div id="sidebar">
<div id="leftTopPan">
<div id="searchtextwrapper"><input type="text" id="searchtext" name="searchtext" onkeydown="if (event.keyCode == 13) { Vme.search(false);sidePanel.layout.setActiveItem('searchPanel');sidePanel.expand();Vme.form.panels.SearchPanel.layout.setActiveItem('resultPanel');}"/><div onclick=" Vme.search(false);sidePanel.layout.setActiveItem('searchPanel');sidePanel.expand();Vme.form.panels.SearchPanel.layout.setActiveItem('resultPanel');" id="simpleSearchButton"></div></div>
<div id="leftTopLinks">
<a onclick="sidePanel.layout.setActiveItem('searchPanel');sidePanel.expand();Vme.form.panels.SearchPanel.layout.setActiveItem('searchForm');Vme.form.panels.SearchPanel.doLayout()">Advanced Search</a> |
<a onclick="sidePanel.layout.setActiveItem('legendPanel');sidePanel.expand();">Legend</a> <div class="xbutton-closepanels" onclick="sidePanel.collapse();" > </div>
</div>
</div>
<div id="sidebarP"></div></div>
</div>
</div>
</div>
<div id ="disclaimer"></div>
<div id="bottomBar1"><a href="http://www.geo-solutions.it" style="float:left;text-align:left;padding-left:2px;">Credits</a>
powered by
<a title="FIGIS web site" href="http://www.fao.org/fishery/figis/en">FIGIS</a>
<a title="FAO Copyright" target="_blank" href="http://www.fao.org/corp/copyright/en/">
© FAO,
<span id="copyYear">2011</span>
</a>
</div>
<script type="text/javascript">
// <![CDATA[
Ext.onReady(function(){
sidePanel.render(document.getElementById('sidebarP'));
setVMEPage('embed-link','embed-url', 'embed-iframe');
Ext.QuickTips.init();
//FigisMap.ol.setSelectedYear(new Date().getFullYear()); // moved in setVMEPage to manage embed link
if(Ext.isIE7 || Ext.isIE8 || Ext.isIE9)
Ext.get('yearCurrent').addClass('ie');
});
function updateCopyYear() {
var uy = new Date();
uy = parseInt(uy.getFullYear() ? uy.getFullYear() : uy.getYear());
var py = parseInt( document.getElementById('copyYear').innerHTML );
if ( isNaN(uy) || isNaN(py) ) return void(0);
if ( uy > py ) document.getElementById('copyYear').innerHTML = String( uy );
return void(0);
}
updateCopyYear();
document.getElementById('disclaimer').innerHTML = FigisMap.label('DISCLAIMER', '<p></p>');
// ]]>
</script>
</body>
</html>