source: trunk/packages/invirt-web/code/templates/skeleton.tmpl @ 1655

Last change on this file since 1655 was 1655, checked in by broder, 15 years ago

We don't call ourselves that anymore

File size: 1.9 KB
RevLine 
[205]1#from functions import functions
2#extends functions
3
4#def full_body
5<!DOCTYPE html
6PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
7"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
[113]8<html>
[1655]9<head><title>$title &mdash; XVM</title>
[184]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" />
[205]13  <script type="text/javascript" src="static/prototype.js"></script>
[139]14  <script type="text/javascript">
15var helpWin = null;
16function closeWin(){
17        if (helpWin != null){
18                if(!helpWin.closed)
19                        helpWin.close();
20        }
21}
22
23function helppopup(name){
24   closeWin()
[153]25   helpWin = window.open("help?simple=true&subject="+encodeURIComponent(name), "Help",
[139]26"status, height = 300, width = 400");
27   if (window.focus){helpWin.focus();}
28   return false;
29}
30</script>
31</head>
[445]32<body id="body"
33#if hasattr($self, 'pageclass'):
34  class="$pageclass"
35#end if
36  >
[205]37
[267]38#if False
[235]39<div>
40<p>We are in the process of modifying the service.  Things likely will not work.</p>
41</div>
42#end if
43
[205]44<div id="err">
45#if $varExists('error_text')
46<p>STDERR:</p><pre>$error_text</pre>
47#end if
48</div>
49
[139]50#if not $varExists('simple') or not $simple
[417]51<p class="loggedin">Welcome, <span class="name">$user</span>.</p>
[205]52
[416]53<ul class="navigation">
54<li><a href="list">List</a></li>
[187]55#if $varExists('machine')
[416]56<li><a href="info?machine_id=$machine.machine_id">Info</a></li>
57<li><a href="vnc?machine_id=$machine.machine_id">Console</a></li>
[139]58#end if
[618]59<li><a href="help">Help</a></li>
[417]60</ul>
[187]61#end if
[207]62<div id="result" class="result">
63#if $varExists('result')
64$result
65#end if
66</div>
[205]67
[422]68#if not $varExists('simple') or not $simple
[1655]69<h1>$title &mdash; XVM</h1>
[422]70#end if
[447]71#filter None
[113]72$body
[447]73#end filter
[139]74#if not $varExists('simple') or not $simple
[113]75<hr />
[543]76Questions? Contact <a href="mailto:xvm@mit.edu">xvm@mit.edu</a>.
[139]77#end if
[113]78</body>
79</html>
[205]80#end def
Note: See TracBrowser for help on using the repository browser.