1 | #from functions import functions |
---|
2 | #extends functions |
---|
3 | |
---|
4 | #def full_body |
---|
5 | <!DOCTYPE html |
---|
6 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
7 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
8 | <html> |
---|
9 | <head><title>$title</title> |
---|
10 | <link href="static/favicon.ico" type="image/x-icon" rel="shortcut icon"> |
---|
11 | <link rel="stylesheet" href="static/style.css" type="text/css" /> |
---|
12 | <link rel="stylesheet" href="static/layout.css" type="text/css" media="screen" /> |
---|
13 | <script type="text/javascript" src="static/prototype.js"></script> |
---|
14 | <script type="text/javascript"> |
---|
15 | var helpWin = null; |
---|
16 | function closeWin(){ |
---|
17 | if (helpWin != null){ |
---|
18 | if(!helpWin.closed) |
---|
19 | helpWin.close(); |
---|
20 | } |
---|
21 | } |
---|
22 | |
---|
23 | function helppopup(name){ |
---|
24 | closeWin() |
---|
25 | helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "Help", |
---|
26 | "status, height = 300, width = 400"); |
---|
27 | if (window.focus){helpWin.focus();} |
---|
28 | return false; |
---|
29 | } |
---|
30 | </script> |
---|
31 | </head> |
---|
32 | <body id="body"> |
---|
33 | |
---|
34 | <div id="err"> |
---|
35 | #if $varExists('error_text') |
---|
36 | <p>STDERR:</p><pre>$error_text</pre> |
---|
37 | #end if |
---|
38 | </div> |
---|
39 | |
---|
40 | #if not $varExists('simple') or not $simple |
---|
41 | <p>[You are logged in as $user.]</p> |
---|
42 | |
---|
43 | <div class="navigation"> |
---|
44 | <p><a href="list">List</a> |
---|
45 | #if $varExists('machine') |
---|
46 | <a href="info?machine_id=$machine.machine_id">Info</a> |
---|
47 | <a href="vnc?machine_id=$machine.machine_id">Console</a> |
---|
48 | #end if |
---|
49 | <a href="help">Help</a></p> |
---|
50 | #end if |
---|
51 | </div> |
---|
52 | |
---|
53 | <div id="loadingnotice" class="loadingnotice">LOADING</div> |
---|
54 | <div id="result" class="result"> |
---|
55 | #if $varExists('result') |
---|
56 | $result |
---|
57 | #end if |
---|
58 | </div> |
---|
59 | |
---|
60 | $body |
---|
61 | #if not $varExists('simple') or not $simple |
---|
62 | <hr /> |
---|
63 | Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>. |
---|
64 | #end if |
---|
65 | </body> |
---|
66 | </html> |
---|
67 | #end def |
---|