source: qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/templates/demo.html @ 5403

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/templates/demo.html@5403
Revision 5403, 1.1 KB checked in by pnorton, 11 years ago (diff)

Moved QESDI tree from DCIP repository
 http://proj.badc.rl.ac.uk/svn/dcip/qesdi@3900.

Line 
1<?xml version="1.0"?>
2
3<html xmlns:py="http://genshi.edgewall.org/" 
4      xmlns="http://www.w3.org/1999/xhtml">
5
6<?python
7
8
9?>
10
11<head>
12<title>Demo Map page for ${c.fcName}</title>
13
14<!-- script src="http://www.openlayers.org/api/OpenLayers.js" type="text/javascript"></script -->
15<script src="${h.url_for('/openlayers/OpenLayers.js', qualified=True)}" type="text/javascript"></script>
16<script src="${h.url_for('/demo.js', qualified=True)}" type="text/javascript"></script>
17
18<script type="text/javascript">
19var fcURL = "${h.url_for(controller='csmlwms', fileoruri=c.fcName)}";
20</script>
21
22<style type="text/css">
23
24DIV#map {
25    width: 520px;
26    height: 260px;
27    background=color: white;
28    margin: 1px;
29    border: 1px solid #222277;
30}
31
32DIV#panel {
33    border: 2px solid red;
34}
35
36</style>
37
38</head>
39
40<body onload="init()">
41 
42  <h1>Demo Map page for ${c.fcName}</h1>
43 
44
45  <div id="map"/>
46  <div id="panel"/>
47
48  <h2>Features Available</h2>
49 
50  <select name="feature" onchange="setLayer(this.value)">
51    <option value="">Unset</option>
52    <option py:for="f_id in c.featureCollection.getFeatureList()">${f_id}</option>
53  </select>
54</body>
55
56</html>
Note: See TracBrowser for help on using the repository browser.