Apply a background color to every other VM, and move the power button to the left,
[invirt/packages/invirt-web.git] / code / templates / skeleton.tmpl
index fa15575..273952a 100644 (file)
@@ -6,7 +6,7 @@
 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html>
-<head><title>$title</title>
+<head><title>$title &mdash; SIPB Virtual Servers</title>
   <link href="static/favicon.ico" type="image/x-icon" rel="shortcut icon">
   <link rel="stylesheet" href="static/style.css" type="text/css" />
   <link rel="stylesheet" href="static/layout.css" type="text/css" media="screen" />
@@ -29,7 +29,11 @@ function helppopup(name){
 }
 </script>
 </head>
-<body id="body">
+<body id="body"
+#if hasattr($self, 'pageclass'):
+  class="$pageclass"
+#end if
+  >
 
 #if False
 <div>
@@ -44,29 +48,32 @@ function helppopup(name){
 </div>
 
 #if not $varExists('simple') or not $simple
-<p>[You are logged in as $user.]</p>
+<p class="loggedin">Welcome, <span class="name">$user</span>.</p>
 
-<div class="navigation">
-<p><a href="list">List</a> 
+<ul class="navigation">
+<li><a href="list">List</a></li>
 #if $varExists('machine')
-<a href="info?machine_id=$machine.machine_id">Info</a>
-<a href="vnc?machine_id=$machine.machine_id">Console</a>
+<li><a href="info?machine_id=$machine.machine_id">Info</a></li>
+<li><a href="vnc?machine_id=$machine.machine_id">Console</a></li>
 #end if
-<a href="help">Help</a></p>
+<li><a href="help">Help</a></li>
+</ul>
 #end if
-</div>
-
-<div id="loadingnotice" class="loadingnotice">LOADING</div>
 <div id="result" class="result">
 #if $varExists('result')
 $result
 #end if
 </div>
 
+#if not $varExists('simple') or not $simple
+<h1>$title &mdash; SIPB Virtual Servers</h1>
+#end if
+#filter None
 $body
+#end filter
 #if not $varExists('simple') or not $simple
 <hr />
-Questions? Contact <a href="mailto:sipb-xen-dev@mit.edu">sipb-xen-dev@mit.edu</a>.
+Questions? Contact <a href="mailto:xvm@mit.edu">xvm@mit.edu</a>.
 #end if
 </body>
 </html>