1 #from skeleton import skeleton
11 <p>Info on ${machine.name}:</p>
13 #for $key, $value in $fields
14 <tr><td>$key:</td><td>$value</td></tr>
19 <form action="command">
20 <input type="hidden" name="machine_id" value="$machine.machine_id"/>
26 <a href="vnc?machine_id=$machine.machine_id">Console</a>
36 <td><input type="submit" class="button" name="action" value="Power off"/></td>
37 <td><input type="submit" class="button" name="action" value="Shutdown"/></td>
38 <td><input type="submit" class="button" name="action" value="Reboot"/></td>
40 <td><input type="submit" class="button" name="action" value="Power on"/></td>
43 <td><select name="cdrom">
44 <option selected value="">None</option>
45 #for $cdrom in $cdroms
46 <option value="$cdrom.cdrom_id">
53 <td><input type="submit" class="button" name="action" value="Delete VM"/></td>
59 (To edit ram and disk size, turn off the machine first.)
62 <form action="modify">
63 <input type="hidden" name="machine_id" value="$machine.machine_id"/>
65 <tr><td>Owner:</td><td><input type="text" value="$machine.owner"/></td></tr>
66 <tr><td>Contact email:</td><td><input type="text" value="$machine.contact"/></td></tr>
68 <tr><td>Hostname:</td><td><input type="text" value="$machine.nics[0].hostname"/>.servers.csail.mit.edu</td></tr>
71 <tr><td>Ram:</td><td><input type="text" size=3 value="$machine.memory"/>MB (max $maxmem)</td></tr>
72 <tr><td>Disk:</td><td><input type="text" size=3 value="${machine.disks[0].size/1024.}"/>GB (max $maxdisk)</td></tr>
74 <tr><td><input type="submit" class="button" name="action" value="Change"/></td></tr>