X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/49466ab6194ad35f3857e950721252621c3e539d..47dd657b4730e6f0278dd315752adf7ceb3b377f:/templates/list.tmpl?ds=sidebyside
diff --git a/templates/list.tmpl b/templates/list.tmpl
index 7dd0da0..e300f61 100644
--- a/templates/list.tmpl
+++ b/templates/list.tmpl
@@ -20,7 +20,7 @@ List of your VMs
Hostname |
Uptime |
VNC |
- Restart? |
+ |
#for $machine in $machines:
$machine.name |
@@ -37,49 +37,52 @@ List of your VMs
|
#end if
#slurp
-#if $uptimes.get($machine.name)
-$uptimes[$machine.name]#slurp
+#if $uptimes[$machine]
+$uptimes[$machine]#slurp
#else
Off#slurp
#end if
|
#slurp
-#if $has_vnc.get($machine.name) == True
+#if $has_vnc[$machine] == True
Console#slurp
#else
-$has_vnc.get($machine.name)
+$has_vnc[$machine]
#end if
|
|
#end for
#end if
-
+#if $can_add_vm
Create a new VM:
-
+#else
+You are at the maximum number of VMs.
+#end if
#end def