First of a series of significant changes to how monitor is organized.
[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/toggle/toggle.js"></script>
11     <script type="text/javascript" src="/plekit/tablesort/tablesort.js"></script>
12     <script type="text/javascript" src="/plekit/tablesort/customsort.js"></script>
13     <script type="text/javascript" src="/plekit/tablesort/paginate.js"></script>
14     <script type="text/javascript" src="/plekit/table/table.js"></script>
15     <link href="/plekit/table/table.css" rel="stylesheet" type="text/css" />
16     <link href="/plekit/toggle/toggle.css" rel="stylesheet" type="text/css" />
17
18     <script type="text/javascript" src="/plekit/niftycorner/niftycube.js"></script>
19     <script type="text/javascript" src="/plekit/niftycorner/nifty_init.js"></script>
20     <script type="text/javascript"> Event.observe(window,"load", nifty_init); </script>
21
22
23         <!-- If in an iframe, then include this... -->
24         <?python from monitor import config ?>
25         <base py:if="config.embedded" target="_top" href="https://${config.MONITOR_HOST}/db/monitor/" />
26
27   </head>
28
29   <body>
30         <table valign="top" border="1" bgcolor="white" align="center">
31         <tr> <td> <div id="header">${page_title}</div> </td> 
32                 <td>
33                         <form action="simpleview" method="GET"> 
34                                 <table>
35                                         <tr><td> Quick Jump:</td>
36                                                 <td><input type="text" name="query"/></td>
37                                                 <td><input type="submit"/></td>
38                                                 <td><a href="query">Advanced Query</a></td>
39                                         </tr>
40                                 </table>
41                         </form>
42                 </td>
43         </tr>
44         <tr>
45                 <td colspan="2">
46                         <table width="100%">
47                         <thead>
48                         <tr>
49                                 <?python from monitorweb.templates.links import link ?>
50                                 <th><a href="${link('site')}">Sites</a></th>
51                                 <th><a href="${link('pcu')}">PCUs</a></th>
52                                 <th><a href="${link('node')}">Nodes</a></th>
53                                 <th><a href="${link('actionsummary')}">Actions</a></th>
54                         </tr>
55                         </thead>
56                         <tbody>
57                         <tr>
58                                 <td colspan="4">
59                                 <content>Default content - this will be replaced by an element marked with 
60                                         py:match="item.tag == 'content'"</content>
61                                 </td>
62                         </tr>
63                         </tbody>
64                         </table>
65                 </td>
66         </tr>
67         <tr> <td> <div id="footer">Copyright © 2007-2008 The Trustees of Princeton University</div> </td> </tr>
68         </table>
69 <script type="text/javascript">
70 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." :
71 "http://www.");
72 document.write(unescape("%3Cscript src='" + gaJsHost +
73 "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
74 </script>
75 <script type="text/javascript">
76 try {
77 var pageTracker = _gat._getTracker("UA-10677320-1");
78 pageTracker._trackPageview();
79 } catch(err) {}</script>
80   </body>
81 </html>