From: Greg Price Date: Thu, 17 Apr 2008 03:20:54 +0000 (-0400) Subject: better sectioning in list page X-Git-Tag: sipb-xen-www/3.4~40 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/59b8dc4f1f1a59dc8318ca65569101df73a6ef13 better sectioning in list page svn path=/trunk/packages/sipb-xen-www/; revision=425 --- diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index 88bab49..dc4ad47 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -6,11 +6,11 @@ VM List #end def -#def createTable() +#def createForm() #if $cant_add_vm

$cant_add_vm

#else -

Create a new VM:

+

Create a new VM

#if $err

We had a problem with your request:

#else if $varExists('new_machine') @@ -129,14 +129,10 @@ $has_vnc[$machine]

SIPB Virtual Servers is an alpha service. What does this mean?

#if not $machines

You don't currently control any VMs.

-#else -

You have the following VMs:

#end if

refresh

$machineList($machines)
-
-$createTable() -
+$createForm() #end def