301e6aea74206a29aa3938fd515a477f560f028f
[monitor.git] / web / MonitorWeb / monitorweb / templates / sitemenu.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns:py="http://purl.org/kid/ns#">
3   <head>
4     <title>${page_title}</title>
5     <link href="static/css/style.css" type="text/css" rel="stylesheet" />
6     <script type="text/javascript" src="tg_js/MochiKit.js"></script>
7     <script type="text/javascript" src="static/javascript/sortable_tables.js"></script>
8
9         <!-- If in an iframe, then include this... -->
10         <?python from monitor import config ?>
11         <base py:if="config.embedded" target="_top" href="https://${config.MONITOR_HOST}/db/monitor/" />
12
13   </head>
14
15   <body>
16         <table valign="top" border="1" bgcolor="white" align="center" width="700px">
17         <tr> <td> <div id="header">${page_title}</div> </td> </tr>
18         <tr>
19                 <td>
20                         <table id="nps-table" width="100%">
21                         <thead>
22                         <tr>
23                                 <?python from monitorweb.templates.links import link ?>
24                                 <th><a href="${link('site')}">Sites</a></th>
25                                 <th><a href="${link('pcu')}">PCUs</a></th>
26                                 <th><a href="${link('node')}">Nodes</a></th>
27                                 <th><a href="">Actions</a></th>
28                         </tr>
29                         </thead>
30                         <tbody>
31                         <tr>
32                                 <td colspan="4">
33                                 <content>Default content - this will be replaced by an element marked with 
34                                         py:match="item.tag == 'content'"</content>
35                                 </td>
36                         </tr>
37                         </tbody>
38                         </table>
39                 </td>
40         </tr>
41         <tr> <td> <div id="footer">Copywrite © 2007-2008 The Trustees of Princeton University</div> </td> </tr>
42         </table>
43
44   </body>
45 </html>