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