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" action="POST">
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, disk size, or machine name, turn off the machine first.)
62 <form action="modify" method="POST">
63 <input type="hidden" name="machine_id" value="$machine.machine_id"/>
65 <tr><td>Owner$owner_help:</td><td><input type="text" name="owner", value="$machine.owner"/></td></tr>
66 <tr><td>Contact email:</td><td><input type="text" name="contact" value="$machine.contact"/></td></tr>
68 <tr><td>Hostname:</td><td><input type="text" name="hostname" value="$machine.nics[0].hostname"/>.servers.csail.mit.edu</td></tr>
71 <tr><td>Machine Name:</td><td><input type="text" name="name" value="$machine.name"/></td></tr>
72 <tr><td>Ram:</td><td><input type="text" size=3 name="memory" value="$machine.memory"/>MB (max $max_mem)</td></tr>
73 <tr><td>Disk:</td><td><input type="text" size=3 name="disk" value="${machine.disks[0].size/1024.}"/>GB (max $max_disk)</td><td>WARNING: Modifying disk size may corrupt your data.</td></tr>
75 <tr><td><input type="submit" class="button" name="action" value="Change"/></td></tr>