#else if $varExists('new_machine')
<p>Congratulations! You successfully created a new VM called $new_machine.</p>
#end if
- <form action="create" method="POST" onsubmit="return jsFormSubmit('create', this);">
+ <form action="create" method="POST">
+ <input type="hidden" name="back" value="list"/>
<table>
$errorRow('create', $err)
<tr>
#if $machine.nics
#set $nic = $machine.nics[0]
<td>$nic.ip</td>
- <td>$nic.hostname</td>
#else
<td></td>
- <td></td>
#end if
<td>#slurp
#if $machine.uptime
#end if
</td>
<td>
- <form action="command" method="post" onsubmit="return rowFormSubmit(this, 'list');">
+ <form action="command" method="post">
+ <input type="hidden" name="back" value="list"/>
<input type="hidden" name="machine_id"
value="$machine.machine_id"/>
<input type="submit" class="button" name="action" value="#slurp
<td>Memory</td>
<td>owner</td>
<td>IP</td>
- <td>Hostname</td>
<td>Uptime</td>
<td>VNC</td>
<td></td>
#else
<p>You have the following VMs:</p>
#end if
- <p><a href="list" onclick="new Ajax.Updater('machinelist', 'list?js=machinelist', {method: 'get' });return false">refresh</a></p>
+ <p><a href="list">refresh</a></p>
<div id="machinelist">
$machineList($machines)
</div>