- Timestamp:
- Aug 9, 2009, 9:07:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/templates/list.mako
r2416 r2418 85 85 <tr> 86 86 <td rowspan="2"> 87 <form action=" command" method="post">87 <form action="machine/${machine.machine_id}/command/${'shutdown' if machine.uptime else 'create'}" method="post"> 88 88 <input type="hidden" name="back" value="list"/> 89 89 <input type="hidden" name="machine_id" 90 90 value="${machine.machine_id}"/> 91 <input type="submit" class="power ${'on' if machine.uptime else 'off'}" name="action" value="${' Power off' if machine.uptime else 'Power on'}"\91 <input type="submit" class="power ${'on' if machine.uptime else 'off'}" name="action" value="${'Shutdown' if machine.uptime else 'Power on'}"\ 92 92 % if machine.uptime: 93 93 onclick="return confirm('Are you sure you want to power off this VM?');"
Note: See TracChangeset
for help on using the changeset viewer.