Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/visualise.kid@2854
Revision 2854,
1.1 KB
checked in by spascoe, 14 years ago
(diff) |
Wired the Visualise tab to a controller/template. It doesn't do much yet.
|
Line | |
---|
1 | <html py:extends="'ndgPage.kid'" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> |
---|
2 | |
---|
3 | <head py:replace="pagehead(0)"/> |
---|
4 | <body> |
---|
5 | <div id="entirepage"> |
---|
6 | <div py:replace="header()"/> |
---|
7 | <div py:replace="PageTabs('Visualise')"/> |
---|
8 | <div py:replace="searchOneLine()"/> |
---|
9 | <div id="contents"> |
---|
10 | <div py:if="'selection' in session"> |
---|
11 | <p> The visualisation feature is not fully implemented. </p> |
---|
12 | <ol> |
---|
13 | <li py:for="uri in c.datasets" class="dataset"> |
---|
14 | <?python |
---|
15 | ds = c.datasets[uri] |
---|
16 | divid='csml_%s'%uri |
---|
17 | ?> |
---|
18 | <ol id="$divid"> |
---|
19 | <li py:for="featureId in ds.getFeatureList()"> |
---|
20 | <?python |
---|
21 | feature = ds.getFeature(featureId) |
---|
22 | ?> |
---|
23 | ${feature.name.CONTENT} |
---|
24 | </li> |
---|
25 | </ol> |
---|
26 | </li> |
---|
27 | </ol> |
---|
28 | </div> |
---|
29 | <div py:if="'selection' not in session"> |
---|
30 | <p> There are no selected datasets </p> |
---|
31 | </div> |
---|
32 | </div> |
---|
33 | <div py:replace="footer()"/> |
---|
34 | </div> |
---|
35 | </body> |
---|
36 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.