X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e37dd15bbf8683bab8454ea0eec8e9968ce982b2..27dcf25cbe250f43ea32fc9bc7a4ec6691db66e9:/code/templates/info.tmpl?ds=inline diff --git a/code/templates/info.tmpl b/code/templates/info.tmpl index 26d7a24..d872fce 100644 --- a/code/templates/info.tmpl +++ b/code/templates/info.tmpl @@ -6,7 +6,7 @@ Info on $machine.name #end def #def infoTable() -

Info on ${machine.name}:

+

Info

#for $key, $value in $fields @@ -15,37 +15,38 @@ Info on $machine.name #end def #def commands() +#if $on + #if not $machine.type.hvm + Console access: type + ssh $machine.name@$config.console.hostname + on Athena. (more info) + #elif $has_vnc + Get Console + #else + VNC console not enabled; still booting? + #end if +#end if -
$key:$value
- - - +
#if $on -
- - + + + #else - + #end if - - - - - - -
- #if $on - #if $has_vnc - Console - #else - VNC is not enabled - #end if - #else - - #end if -
Boot CD:$cdromList($cdroms)
+ +
+ Boot CD: +#filter None +$cdromList()#slurp +#end filter +
+
+ +
#end def @@ -58,27 +59,61 @@ Info on $machine.name #if $on (To edit ram, disk size, or machine name, turn off the machine first.) #end if -

- + + +#filter None $errorRow('owner', $err) - +#end filter + +#filter None $errorRow('administrator', $err) +#end filter +#filter None $errorRow('contact', $err) +#end filter #if not $on - + +#filter None $errorRow('name', $err) +#end filter + + + + +#filter None $errorRow('memory', $err) - +#end filter + +#filter None $errorRow('disk', $err) +#end filter #else +#filter None $errorRow('name', $err) $errorRow('memory', $err) $errorRow('disk', $err) +#end filter #end if
Owner${helppopup("owner")}:
Description:
Owner#slurp +#filter None +$helppopup("Owner")#slurp +#end filter +:
Administrator${helppopup("administrator")}:
Administrator#slurp +#filter None +$helppopup("Administrator")#slurp +#end filter +:
Contact email:
Machine Name:
Machine Name:.${config.dns.domains[0]}
HVM/ParaVM#slurp +#filter None +$helppopup('HVM/ParaVM')#slurp +#end filter +#slurp +#filter None +$vmTypeList($defaults.type)#slurp +#end filter +
Ram:MiB (max $max_mem)
Disk:GiB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
Disk:GiB (max $max_disk)WARNING: Modifying disk size may corrupt your data.
@@ -86,17 +121,22 @@ $errorRow('disk', $err) #end def #def body -

Info

+#filter None $infoTable() +#end filter
-

Commands:

+

Commands

+#filter None $commands() +#end filter
-

Change settings: +

Settings

+#filter None $modifyForm() +#end filter
#end def