- <form action="command" method="post">
+ % if machine.uptime and installing[machine]:
+ <img src="static/power_installing.png" alt="Installing..." />
+ % else:
+ <form action="machine/${machine.machine_id}/command/${'shutdown' if machine.uptime else 'create'}" method="post">
<input type="hidden" name="back" value="list"/>
<input type="hidden" name="machine_id"
value="${machine.machine_id}"/>
<input type="hidden" name="back" value="list"/>
<input type="hidden" name="machine_id"
value="${machine.machine_id}"/>
</td>
<td><a href="machine/${machine.machine_id}">${machine.name}</a></td>
<td>${machine.memory}M</td>
<td>${machine.owner}</td>
<td>${machine.administrator}</td>
% if machine.nics:
</td>
<td><a href="machine/${machine.machine_id}">${machine.name}</a></td>
<td>${machine.memory}M</td>
<td>${machine.owner}</td>
<td>${machine.administrator}</td>
% if machine.nics: