X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/18eb0699531716f3ed495d1e4677c8b981a35439..8af4d9d694c4491601cb6f9394b811fc36f13cb2:/code/templates/list.tmpl?ds=inline
diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl
index 5c6f2c5..63dfa38 100644
--- a/code/templates/list.tmpl
+++ b/code/templates/list.tmpl
@@ -25,12 +25,19 @@ VM List
#end filter
Name |
- |
+ .${config.dns.domains[0]} |
#filter None
$errorRow('name', $err)
#end filter
+ Description |
+ |
+
+#filter None
+$errorRow('description', $err)
+#end filter
+
Memory |
MiB ($max_memory max) |
@@ -39,7 +46,7 @@ $errorRow('memory', $err)
#end filter
Disk |
- GiB (${"%0.1f" % ($max_disk-0.05)} max) |
+ GiB (${"%0.1f" % ($max_disk-0.05)} max) |
#filter None
$errorRow('disk', $err)
@@ -59,20 +66,10 @@ $vmTypeList($defaults.type)
#filter None
$errorRow('vmtype', $err)
#end filter
-
- Clone image? |
-#if $can_clone
-
- (experimental; 1-2 minutes, and you have an etch machine; root pw is 'password'.)
- |
-#else
- Image cloning is currently disabled for maintenence |
-#end if
-
#filter None
$errorRow('autoinstall', $err)
#end filter
-
+
Boot CD |
@@ -111,6 +108,18 @@ $errorRow('cdrom', $err)
#def machineRow($machine)
|
+
+
+ |
$machine.name |
${machine.memory}M |
$machine.owner |
@@ -135,22 +144,16 @@ $has_vnc[$machine]
#end filter
#end if
-
-
- |
+
+
+ $machine.description |
#end def
#def machineList($machines)
-
+
+ |
Name |
Memory |
Owner#slurp
@@ -166,7 +169,6 @@ $helppopup('Administrator')#slurp
| IP |
Uptime |
VNC |
- |
#for $machine in $machines:
#filter None
@@ -174,6 +176,13 @@ $helppopup('Administrator')#slurp
#end filter
#end for
+
+
#end def