Changeset 2077 for trunk


Ignore:
Timestamp:
Feb 1, 2009, 12:44:55 AM (16 years ago)
Author:
ezyang
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/templates/info.tmpl

    r1791 r2077  
    3030  <input type="hidden" name="back" value="info"/>
    3131  <input type="hidden" name="machine_id" value="$machine.machine_id"/>
    32   <table>
    33       <tr>
     32  <div>
    3433        #if $on
    35         <td><button type="submit" class="button" name="action" value="Power off">Power off (hard)</button></td>
    36         <td><button type="submit" class="button" name="action" value="Shutdown">Shut down</button></td>
    37         <td><input type="submit" class="button" name="action" value="Reboot"/></td>
     34        <button type="submit" class="button" name="action" value="Power off">Power off (hard)</button>
     35        <button type="submit" class="button" name="action" value="Shutdown">Shut down</button>
     36        <input type="submit" class="button" name="action" value="Reboot"/>
    3837        #else
    39         <td><input type="submit" class="button" name="action" value="Power on"/></td>
     38        <input type="submit" class="button" name="action" value="Power on"/>
    4039        #end if
    41       <td>Boot CD:</td>
    42       <td>#slurp
     40  </div>
     41  <div>
     42    Boot CD:
    4343#filter None
    4444$cdromList()#slurp
    4545#end filter
    46 </td>
    47   </tr>
    48     <tr>
    49       <td><input type="submit" class="button" name="action" value="Delete VM" onclick="return confirm('Are you sure that you want to delete this VM?');"/></td>
    50     </tr>
    51   </table>
     46  </div>
     47  <div>
     48      <input type="submit" class="button" name="action" value="Delete VM" onclick="return confirm('Are you sure that you want to delete this VM?');"/>
     49  </div>
    5250</form>
    5351#end def
Note: See TracChangeset for help on using the changeset viewer.