Help, admin, links at the top.
[invirt/packages/invirt-web.git] / templates / skeleton.tmpl
1 <html>
2 <head><title>$title</title>
3   <link href="static/favicon.ico" type="image/x-icon" rel="shortcut icon">
4   <link rel="stylesheet" href="static/style.css" type="text/css" />
5   <link rel="stylesheet" href="static/layout.css" type="text/css" media="screen" />
6   <script type="text/javascript">
7 var helpWin = null;
8 function closeWin(){
9         if (helpWin != null){
10                 if(!helpWin.closed)
11                         helpWin.close();
12         }
13 }
14
15 function helppopup(name){
16    closeWin()
17    helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "Help",
18 "status, height = 300, width = 400");
19    if (window.focus){helpWin.focus();}
20    return false;
21 }
22 </script>
23 </head>
24 <body>
25 #if not $varExists('simple') or not $simple
26 <p>[You are logged in as $user.username.]</p>
27 <p><a href="list">List</a> 
28 #if $varExists('machine')
29 <a href="info?machine_id=$machine.machine_id">Info</a>
30 <a href="vnc?machine_id=$machine.machine_id">Console</a>
31 #end if
32 <a href="help">Help</a></p>
33 #end if
34 $body
35 #if not $varExists('simple') or not $simple
36 <hr />
37 Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
38 #end if
39 </body>
40 </html>