source: TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/dif.kid @ 3544

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/dif.kid
Revision 3544, 1.9 KB checked in by cbyrom, 12 years ago (diff)

Adjust code to allow multiple WMC docs to be selected in the selections
tab and displayed in the view tab. Also rename the display tab to 'details'
and add new exceptions to deal with URL lookup failures.

Line 
1<html py:extends="ndgPage.kid,meta.kid" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">
2
3    <head>
4    <replace py:replace="pagehead()"/>
5    </head>
6    <body>
7    <div id="entirepage">
8        <div py:replace="header()"/>
9        <div py:replace="PageTabs('Details')"/>
10        <div py:replace="searchOneLine()"/>
11        <div id="contents">
12            <div class="metadata">
13                <div class="headingblock">
14                    <div id="title" class="heading">$c.doc.name</div>
15                    <div id="abstract">$c.doc.abstract</div>
16                </div>
17                <div py:if="c.doc.AccessConstraints!=''"><p><b>Access Constraints:</b> ${c.doc.AccessConstraints}</p></div>
18                <div py:if="c.doc.UseConstraints!=''"><p><b>Use Constraints:</b> ${c.doc.UseConstraints}</p></div>
19                <div py:replace="People('Creators',c.doc.creators)"/>
20                <div py:replace="ParameterList(c.doc.parameters)"/>
21                <div py:replace="Coverage(c.doc.bbox,c.doc.timeCoverage)"/>
22                <div py:if="c.doc.sensors!=[]" py:replace="Keywords('Sensors',c.doc.sensors)"/>
23                <div py:if="c.doc.sources!=[]" py:replace="Keywords('Sources',c.doc.sources)"/>
24                <div py:if="c.doc.projects!=[]" py:replace="Keywords('Projects',c.doc.projects)"/>
25               
26                <div py:replace="Centre(c.doc.centre)"/>
27                <div py:replace="People('Personnel',c.doc.personnel)"/>
28                <div py:replace="Distribution(c.doc.distribution)"/>
29                <div py:replace="Services()"/>
30            </div>
31        </div>
32        <center>
33            <p>Not all information in this record may be rendered in this view. Please see the XML version for complete
34                content </p>
35        </center>
36        <div py:replace="footer()"/>
37    </div>
38   
39   
40   
41    </body>
42</html>
Note: See TracBrowser for help on using the repository browser.