9479293527f143fea67df33768b520f3756a2cdd
[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
8     <script type="text/javascript" src="/plekit/prototype/prototype.js"></script>
9
10     <script type="text/javascript" src="/plekit/tablesort/tablesort.js"></script>
11     <script type="text/javascript" src="/plekit/tablesort/customsort.js"></script>
12     <script type="text/javascript" src="/plekit/tablesort/paginate.js"></script>
13     <script type="text/javascript" src="/plekit/table/table.js"></script>
14     <link href="/plekit/table/table.css" rel="stylesheet" type="text/css" />
15
16     <script type="text/javascript" src="/plekit/niftycorner/niftycube.js"></script>
17     <script type="text/javascript" src="/plekit/niftycorner/nifty_init.js"></script>
18     <script type="text/javascript"> Event.observe(window,"load", nifty_init); </script>
19
20
21         <!-- If in an iframe, then include this... -->
22         <?python from monitor import config ?>
23         <base py:if="config.embedded" target="_top" href="https://${config.MONITOR_HOST}/db/monitor/" />
24
25   </head>
26
27   <body>
28         <table valign="top" border="1" bgcolor="white" align="center" width="700px">
29         <tr> <td> <div id="header">${page_title}</div> </td> </tr>
30         <tr>
31                 <td>
32                         <table id="nps-table" width="100%">
33                         <thead>
34                         <tr>
35                                 <?python from monitorweb.templates.links import link ?>
36                                 <th><a href="${link('site')}">Sites</a></th>
37                                 <th><a href="${link('pcu')}">PCUs</a></th>
38                                 <th><a href="${link('node')}">Nodes</a></th>
39                                 <th><a href="${link('actionsummary')}">Actions</a></th>
40                         </tr>
41                         </thead>
42                         <tbody>
43                         <tr>
44                                 <td colspan="4">
45                                 <content>Default content - this will be replaced by an element marked with 
46                                         py:match="item.tag == 'content'"</content>
47                                 </td>
48                         </tr>
49                         </tbody>
50                         </table>
51                 </td>
52         </tr>
53         <tr> <td> <div id="footer">Copywrite © 2007-2008 The Trustees of Princeton University</div> </td> </tr>
54         </table>
55
56   </body>
57 </html>