1 | <html py:extends="ndgPage.kid,meta.kid" xmlns="http://www.w3.org/1999/xhtml" |
---|
2 | xmlns:py="http://purl.org/kid/ns#"> |
---|
3 | |
---|
4 | <head py:replace="pagehead(0)"/> |
---|
5 | <body> |
---|
6 | <div id="entirepage"> ${XML(c.tbinfo)} <div py:replace="header()"/> |
---|
7 | <div py:replace="searchOneLine()"/> |
---|
8 | <!--! The if on the call to the left panel needs to be here for subtle css reasons --> |
---|
9 | <div py:if="'ndgSec' in session" py:replace="leftpanel()" id="Left"/> |
---|
10 | <?python id="contents" |
---|
11 | if "ndgSec" in session: id="contentsRight" |
---|
12 | ?> |
---|
13 | <div id="${id}"> |
---|
14 | |
---|
15 | <div class="metadata"> |
---|
16 | <div class="headingblock"> |
---|
17 | <div id="title" class="heading">$c.doc.name</div> |
---|
18 | <div id="abstract">$c.doc.abstract</div> |
---|
19 | </div> |
---|
20 | <p py:if="c.doc.citation!=''">Citation<br/><span class="citation" |
---|
21 | >$c.doc.citation</span></p> |
---|
22 | <div py:for="d in c.doc.description.texts"> |
---|
23 | <div py:if="d[1] in ['','text/plain']" class="description"> |
---|
24 | <p>${d[0]}</p> |
---|
25 | </div> |
---|
26 | <div py:if="d[1] == 'text/html'" class="description"> |
---|
27 | ${XML(d[0])} |
---|
28 | </div> |
---|
29 | <div py:if="d[1] not in ['','text/plain','text/html']" class="description"> |
---|
30 | <p>Description of type ${d[1]} ommitted</p> |
---|
31 | </div> |
---|
32 | </div> |
---|
33 | <p py:if="c.doc.description.onlineRefs!=[]"> Online References:<ul> |
---|
34 | <li py:for="l in c.doc.description.onlineRefs"><a href="${l[1]}">${l[0]}</a></li> |
---|
35 | </ul></p> |
---|
36 | |
---|
37 | <div py:replace="ParameterList(c.doc.parameters)"/> |
---|
38 | |
---|
39 | <div py:if="c.doc.granules!=[]" id="Granules"> |
---|
40 | <table cellspacing="0" cellpadding="3" border="0" width="100%"> |
---|
41 | <tbody> |
---|
42 | <tr> |
---|
43 | <td class="linehead" colspan="3"> |
---|
44 | <span class="heading0"> Granules </span> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | <tr> |
---|
48 | <td>Select</td> |
---|
49 | <td>Access Control</td> |
---|
50 | <td>Granule</td> |
---|
51 | </tr> |
---|
52 | <tr py:for="granule in c.doc.granules"> |
---|
53 | <td width="10%"> |
---|
54 | <span class="selectme" py:if="'ndgSec' in session"> |
---|
55 | ${XML(h.link_to_remote("Select",dict(update="Left", |
---|
56 | url=h.url_for(controller="tabs", |
---|
57 | action="addSelection",uri=granule.entryID,name=granule.name))))} |
---|
58 | </span> |
---|
59 | </td> |
---|
60 | <td width="10%"> |
---|
61 | <span class="key"/> |
---|
62 | </td> |
---|
63 | <td> |
---|
64 | <a href="/view/$granule.entryID">$granule.name</a> |
---|
65 | </td> |
---|
66 | </tr> |
---|
67 | </tbody> |
---|
68 | </table> |
---|
69 | </div> |
---|
70 | <!-- of granules --> |
---|
71 | |
---|
72 | <div id="DeploymentList" py:if="c.doc.related is not None"> |
---|
73 | <table cellspacing="0" cellpadding="3" border="0" width="100%" |
---|
74 | class="related"> |
---|
75 | <tbody> |
---|
76 | <tr> |
---|
77 | <td class="linehead" colspan="2"> |
---|
78 | <span class="headingO">Related Entities</span> |
---|
79 | </td> |
---|
80 | </tr> |
---|
81 | <tr py:for="alist in c.doc.related" py:if="alist !=[]"> |
---|
82 | <td class="cellhead">$alist</td> |
---|
83 | <td> |
---|
84 | <span py:for="deployment in c.doc.related[alist]"> |
---|
85 | <?python target=deployment[2] |
---|
86 | if target=='': target=deployment[1] |
---|
87 | ?> |
---|
88 | <a href="${deployment[0].BURL}" |
---|
89 | >$target</a> </span> |
---|
90 | </td> |
---|
91 | </tr> |
---|
92 | </tbody> |
---|
93 | </table> |
---|
94 | </div> |
---|
95 | <!-- DeploymentList --> |
---|
96 | |
---|
97 | <div py:replace="Services()"/> |
---|
98 | |
---|
99 | <center> |
---|
100 | <p>Not all information in this record may be rendered in this view. |
---|
101 | Please see the XML version for complete content </p> |
---|
102 | </center> |
---|
103 | |
---|
104 | </div> |
---|
105 | <!-- Metadata Div Ends --> |
---|
106 | |
---|
107 | <div id="Corrections"> |
---|
108 | <p py:if="'ndgSec' in session"> Please use this <span> |
---|
109 | ${XML(h.link_to_remote("link",dict(update="Corrections", |
---|
110 | url=h.url_for(action='askCorrect'))))} </span> to enter any errors |
---|
111 | in the metadata record above. </p> |
---|
112 | </div> |
---|
113 | |
---|
114 | </div> |
---|
115 | <div py:replace="footer()"/> |
---|
116 | </div> |
---|
117 | </body> |
---|
118 | </html> |
---|