X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e0e7814e58df1dc0342e3f88e7bcfad4ed483079..e37dd15bbf8683bab8454ea0eec8e9968ce982b2:/templates/list.tmpl diff --git a/templates/list.tmpl b/templates/list.tmpl deleted file mode 100644 index 19b108e..0000000 --- a/templates/list.tmpl +++ /dev/null @@ -1,105 +0,0 @@ -#from skeleton import skeleton -#extends skeleton - -#def title -List of your VMs -#end def - -#def body -#if not $machines - -#else -

You have the following VMs:

- - - - - - - - - - - - #for $machine in $machines: - - - - -#if $machine.nics -#set $nic = $machine.nics[0] - - - -#else - - - -#end if - - - - - #end for -
NameMemoryownerIPMAC AddressHostnameUptimeVNCRestart?
$machine.name${machine.memory}M$machine.owner$nic.ip$nic.mac_addr$nic.hostname#slurp -#if $uptimes.get($machine.name) -$uptimes[$machine.name]#slurp -#else -Off#slurp -#end if -#slurp -#if $has_vnc.get($machine.name) == True -Console#slurp -#else -$has_vnc.get($machine.name) -#end if - -
- - -
-
-#end if - -

Create a new VM:

-
- - - - - - - - - - - - - - - - - - - - - -
Name${user.username}_
Memory megabytes ($maxmem max)
Disk gigabytes ($maxdisk max)
HVM/ParaVM$helppopup('hvm_paravm') - HVM - ParaVM -
Boot CD - -
- -
- -#end def