X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/cabbf7ab8e35de060f6f4e3f75670558ad25d9b5..d6a12bd1e32e3f9bc63c2c6f1d2d2793a9eee4d2:/code/templates/list.tmpl
diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl
index 2242c2f..8a0231e 100644
--- a/code/templates/list.tmpl
+++ b/code/templates/list.tmpl
@@ -1,4 +1,5 @@
#from skeleton import skeleton
+#from invirt.config import structs as config
#extends skeleton
#import datetime
@@ -25,12 +26,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) |
@@ -59,37 +67,29 @@ $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 maintenance |
-#end if
-
#filter None
$errorRow('autoinstall', $err)
#end filter
-
+
Boot CD |
-
+ |
#filter None
-$cdromList($defaults.cdrom, "document.getElementById('cd_or_auto_cd').checked = true;document.getElementById('autoinstalllist').value = ''")
+$cdromList($defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")
#end filter
|
@@ -104,13 +104,33 @@ $errorRow('cdrom', $err)
$errorRow('owner', $err)
#end filter
-
+
+ Windows notes: #slurp
+#filter None
+$helppopup('Windows')#slurp
+#end filter
#end if
#end def
#def machineRow($machine)
+
+
+ |
$machine.name |
${machine.memory}M |
$machine.owner |
@@ -135,22 +155,16 @@ $has_vnc[$machine]
#end filter
#end if
-
-
- |
+
+
+ $machine.description |
#end def
#def machineList($machines)
-
+
+ |
Name |
Memory |
Owner#slurp
@@ -166,7 +180,6 @@ $helppopup('Administrator')#slurp
| IP |
Uptime |
VNC |
- |
#for $machine in $machines:
#filter None
@@ -174,11 +187,18 @@ $helppopup('Administrator')#slurp
#end filter
#end for
+
+
#end def
#def body
-SIPB Virtual Servers is an alpha service. What does this mean?
+What is XVM?
#if not $machines
You don't currently control any VMs.
#end if