Documentation + cleaning up a little.
[invirt/packages/invirt-web.git] / templates / info.tmpl
index aa81dbe..f537dd2 100644 (file)
@@ -16,7 +16,7 @@ Info on $machine.name
 </table>
 
 <p>Commands:</p>
-<form action="command">
+<form action="command" action="POST">
   <input type="hidden" name="machine_id" value="$machine.machine_id"/>
   <table>
     
@@ -59,7 +59,7 @@ Info on $machine.name
 (To edit ram and disk size, turn off the machine first.)
 #end if
 </p>
-<form action="modify">
+<form action="modify" method="POST">
   <input type="hidden" name="machine_id" value="$machine.machine_id"/>
   <table>
     <tr><td>Owner:</td><td><input type="text" value="$machine.owner"/></td></tr>
@@ -68,8 +68,8 @@ Info on $machine.name
     <tr><td>Hostname:</td><td><input type="text" value="$machine.nics[0].hostname"/>.servers.csail.mit.edu</td></tr>
 #end if
 #if not $on
-    <tr><td>Ram:</td><td><input type="text" size=3 value="$machine.memory"/>MB (max $maxmem)</td></tr>
-    <tr><td>Disk:</td><td><input type="text" size=3 value="${machine.disks[0].size/1024.}"/>GB (max $maxdisk)</td></tr>
+    <tr><td>Ram:</td><td><input type="text" size=3 value="$machine.memory"/>MB (max $max_mem)</td></tr>
+    <tr><td>Disk:</td><td><input type="text" size=3 value="${machine.disks[0].size/1024.}"/>GB (max $max_disk)</td></tr>
 #end if
     <tr><td><input type="submit" class="button" name="action" value="Change"/></td></tr>
   </table>