add a link to both types of node history, status and data
[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> 
30                 <td>
31                         <form action="pcuview" method="GET"> 
32                                 <table>
33                                         <tr><td> Quick Search:</td>
34                                                 <td><input type="text" name="query"/></td>
35                                                 <td><input type="submit"/></td>
36                                         </tr>
37                                 </table>
38                         </form>
39                 </td>
40         </tr>
41         <tr>
42                 <td colspan="2">
43                         <table id="nps-table" width="100%">
44                         <thead>
45                         <tr>
46                                 <?python from monitorweb.templates.links import link ?>
47                                 <th><a href="${link('site')}">Sites</a></th>
48                                 <th><a href="${link('pcu')}">PCUs</a></th>
49                                 <th><a href="${link('node')}">Nodes</a></th>
50                                 <th><a href="${link('actionsummary')}">Actions</a></th>
51                         </tr>
52                         </thead>
53                         <tbody>
54                         <tr>
55                                 <td colspan="4">
56                                 <content>Default content - this will be replaced by an element marked with 
57                                         py:match="item.tag == 'content'"</content>
58                                 </td>
59                         </tr>
60                         </tbody>
61                         </table>
62                 </td>
63         </tr>
64         <tr> <td> <div id="footer">Copyright © 2007-2008 The Trustees of Princeton University</div> </td> </tr>
65         </table>
66
67   </body>
68 </html>