source: trunk/packages/sipb-xen-www/code/templates/skeleton.tmpl @ 415

Last change on this file since 415 was 415, checked in by price, 16 years ago

clean up CSS, and add blue border.

More targeted changes to the style will follow.

The border style is taken from Debathena, but the color changed;
the heading color is also changed to blue from purple.

File size: 1.7 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>
[139]9<head><title>$title</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>
[205]32<body id="body">
33
[267]34#if False
[235]35<div>
36<p>We are in the process of modifying the service.  Things likely will not work.</p>
37</div>
38#end if
39
[205]40<div id="err">
41#if $varExists('error_text')
42<p>STDERR:</p><pre>$error_text</pre>
43#end if
44</div>
45
[139]46#if not $varExists('simple') or not $simple
[228]47<p>[You are logged in as $user.]</p>
[205]48
49<div class="navigation">
[187]50<p><a href="list">List</a> 
51#if $varExists('machine')
52<a href="info?machine_id=$machine.machine_id">Info</a>
53<a href="vnc?machine_id=$machine.machine_id">Console</a>
[139]54#end if
[187]55<a href="help">Help</a></p>
56#end if
[205]57</div>
58
[207]59<div id="result" class="result">
60#if $varExists('result')
61$result
62#end if
63</div>
[205]64
[113]65$body
[139]66#if not $varExists('simple') or not $simple
[113]67<hr />
68Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
[139]69#end if
[113]70</body>
71</html>
[205]72#end def
Note: See TracBrowser for help on using the repository browser.