Changeset 2077
- Timestamp:
- Feb 1, 2009, 12:44:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-web/code/templates/info.tmpl
r1791 r2077 30 30 <input type="hidden" name="back" value="info"/> 31 31 <input type="hidden" name="machine_id" value="$machine.machine_id"/> 32 <table> 33 <tr> 32 <div> 34 33 #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"/> 38 37 #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"/> 40 39 #end if 41 <td>Boot CD:</td> 42 <td>#slurp 40 </div> 41 <div> 42 Boot CD: 43 43 #filter None 44 44 $cdromList()#slurp 45 45 #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> 52 50 </form> 53 51 #end def
Note: See TracChangeset
for help on using the changeset viewer.