1 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
2 | xmlns:py="http://genshi.edgewall.org/"> |
---|
3 | <head> |
---|
4 | <title>$title</title> |
---|
5 | |
---|
6 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
7 | |
---|
8 | <style type="text/css"> |
---|
9 | table { width: 100% } |
---|
10 | th { text-align: left } |
---|
11 | </style> |
---|
12 | <link media="all, screen" href="ndg2.css" type="text/css" rel="stylesheet"/> |
---|
13 | </head> |
---|
14 | |
---|
15 | <body> |
---|
16 | <div> |
---|
17 | <div id="header"></div> |
---|
18 | <div id="logo"><img src="NERC_Logo.gif" alt="Natural Environment Research Council"/></div> |
---|
19 | </div> |
---|
20 | <h1>$title</h1> |
---|
21 | |
---|
22 | <table> |
---|
23 | <tr> |
---|
24 | <th>Filename</th> |
---|
25 | <th>size</th> |
---|
26 | <th>DDS</th> |
---|
27 | <th>DAS</th> |
---|
28 | </tr> |
---|
29 | <tr> |
---|
30 | <td><a href="../">Parent directory</a></td> |
---|
31 | <td colspan="3"></td> |
---|
32 | </tr> |
---|
33 | |
---|
34 | <!-- diretories --> |
---|
35 | <tr py:for="dir in dirs"> |
---|
36 | <td><a href="${dir}/">${dir}/</a></td><td colspan="3"></td> |
---|
37 | </tr> |
---|
38 | |
---|
39 | <!-- files --> |
---|
40 | <tr py:for="file in files"> |
---|
41 | <td py:choose=""> |
---|
42 | <a py:when="file.supported" href="${file.name}.html">${file.name}</a> |
---|
43 | <py:otherwise>${file.name}</py:otherwise> |
---|
44 | </td> |
---|
45 | |
---|
46 | <td><a href="${file.name}" title="Download file">${file.size}</a></td> |
---|
47 | |
---|
48 | <td py:choose=""> |
---|
49 | <a py:when="file.supported" href="${file.name}.dds">DDS</a> |
---|
50 | <py:otherwise></py:otherwise> |
---|
51 | </td> |
---|
52 | |
---|
53 | <td py:choose=""> |
---|
54 | <a py:when="file.supported" href="${file.name}.das">DAS</a> |
---|
55 | <py:otherwise></py:otherwise> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | </table> |
---|
59 | |
---|
60 | <div id="Footer"> |
---|
61 | |
---|
62 | <center><table><tbody> |
---|
63 | <tr> |
---|
64 | <td width="60%" align="left"> |
---|
65 | <table> |
---|
66 | <tbody> |
---|
67 | <tr> |
---|
68 | <td><span> |
---|
69 | <a href="http://ndg.nerc.ac.uk/"><image src="ndg_logo_circle.gif" alt="NDG" title="NDG"></image></a> |
---|
70 | </span></td> |
---|
71 | <td><a href="http://pydap.org">pydap/$version</a> based OPeNDAP site for <a href="http://ndg.nerc.ac.uk">NERC DataGrid</a>. |
---|
72 | |
---|
73 | This site is for test purposes only and is under active development.</td> |
---|
74 | </tr> |
---|
75 | </tbody> |
---|
76 | </table> |
---|
77 | </td> |
---|
78 | <td width="40%" align="center"> |
---|
79 | <div id="loginStatus"> |
---|
80 | <!-- |
---|
81 | Ugly hack to derive SCRIPT_NAME from $title |
---|
82 | in order to set the logout URI |
---|
83 | --> |
---|
84 | <py:with vars="logoutURI=title.strip('Index of ').rstrip('/')+'/logout'"> |
---|
85 | <a href="$logoutURI">logout</a> |
---|
86 | </py:with> |
---|
87 | </div> |
---|
88 | </td> |
---|
89 | |
---|
90 | <td align="right"><span> |
---|
91 | <a href="http://www.stfc.ac.uk/"><image src="stfc-circle-sm.gif" alt="Hosted by the STFC CEDA" title="Hosted by the STFC CEDA"></image></a> |
---|
92 | </span></td> |
---|
93 | </tr> |
---|
94 | </tbody></table></center> |
---|
95 | </div> |
---|
96 | </body> |
---|
97 | </html> |
---|