source: trunk/web/templates/skeleton.tmpl @ 191

Last change on this file since 191 was 187, checked in by ecprice, 17 years ago

Help, admin, links at the top.

File size: 1.1 KB
RevLine 
[113]1<html>
[139]2<head><title>$title</title>
[184]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" />
[139]6  <script type="text/javascript">
7var helpWin = null;
8function closeWin(){
9        if (helpWin != null){
10                if(!helpWin.closed)
11                        helpWin.close();
12        }
13}
14
15function helppopup(name){
16   closeWin()
[153]17   helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "Help",
[139]18"status, height = 300, width = 400");
19   if (window.focus){helpWin.focus();}
20   return false;
21}
22</script>
23</head>
[113]24<body>
[139]25#if not $varExists('simple') or not $simple
[113]26<p>[You are logged in as $user.username.]</p>
[187]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>
[139]31#end if
[187]32<a href="help">Help</a></p>
33#end if
[113]34$body
[139]35#if not $varExists('simple') or not $simple
[113]36<hr />
37Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
[139]38#end if
[113]39</body>
40</html>
Note: See TracBrowser for help on using the repository browser.