better sectioning in list page
authorGreg Price <price@mit.edu>
Thu, 17 Apr 2008 03:20:54 +0000 (23:20 -0400)
committerGreg Price <price@mit.edu>
Thu, 17 Apr 2008 03:20:54 +0000 (23:20 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=425

code/templates/list.tmpl

index 88bab49..dc4ad47 100644 (file)
@@ -6,11 +6,11 @@
 VM List
 #end def
 
-#def createTable()
+#def createForm()
 #if $cant_add_vm
 <p>$cant_add_vm</p>
 #else
-<p>Create a new VM:</p>
+<h2>Create a new VM</h2>
 #if $err
 <p class="error">We had a problem with your request:</p>
 #else if $varExists('new_machine')
@@ -129,14 +129,10 @@ $has_vnc[$machine]
 <p style="font-size: 125%;">SIPB Virtual Servers is an <strong>alpha service</strong>.  <a href="/static/about.html">What does this mean?</a></p>
 #if not $machines
 <p>You don't currently control any VMs.</p>   
-#else
-    <p>You have the following VMs:</p>
 #end if
     <p><a href="list">refresh</a></p>
     <div id="machinelist">
     $machineList($machines)
     </div>
-<div id="createtable">
-$createTable()
-</div>
+$createForm()
 #end def