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

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

Removed some modifications to the demo.js and demo.html that were referencing endpoints and libraries that are not included with the checkout.

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('/demo.js', qualified=True)}" type="text/javascript"></script>
16
17<script type="text/javascript">
18var fcURL = "${h.url_for(controller='csmlwms', fileoruri=c.fcName)}";
19</script>
20
21<style type="text/css">
22
23DIV#map {
24    width: 520px;
25    height: 260px;
26    background=color: white;
27    margin: 1px;
28    border: 1px solid #222277;
29}
30
31DIV#panel {
32    border: 2px solid red;
33}
34
35</style>
36
37</head>
38
39<body onload="init()">
40 
41  <h1>Demo Map page for ${c.fcName}</h1>
42 
43
44  <div id="map"/>
45  <div id="panel"/>
46
47  <h2>Features Available</h2>
48 
49  <select name="feature" onchange="setLayer(this.value)">
50    <option value="">Unset</option>
51    <option py:for="f_id in c.featureCollection.getFeatureList()">${f_id}</option>
52  </select>
53</body>
54
55</html>
Note: See TracBrowser for help on using the repository browser.