Changeset 2238 for trunk/packages


Ignore:
Timestamp:
Mar 5, 2009, 5:13:42 PM (16 years ago)
Author:
broder
Message:

Power off VMs after a Javascript popup.

File:
1 edited

Legend:

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

    r2190 r2238  
    125125" name="action" value="#slurp
    126126#if $machine.uptime then 'Power off' else 'Power on'
    127 "/>
     127"#slurp
     128#if $machine.uptime
     129 onclick="return confirm('Are you sure you want to power off this VM?');"
     130#end if
     131/>
    128132          </form>
    129133        </td>
Note: See TracChangeset for help on using the changeset viewer.