Ignore:
Timestamp:
Jun 23, 2008, 4:21:21 AM (16 years ago)
Author:
andersk
Message:

Power button tweaks from the hackathon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/templates/list.tmpl

    r639 r644  
    114114            <input type="hidden" name="machine_id"
    115115                   value="$machine.machine_id"/>
    116 <input type="image" class="power #slurp
     116<input type="submit" class="power #slurp
    117117#if $machine.uptime then 'on' else 'off'
    118118" name="action" value="#slurp
    119119#if $machine.uptime then 'Power off' else 'Power on'
    120 " src="#slurp
    121 #if $machine.uptime then 'static/power_button_on.png' else 'static/power_button_off.png'
    122120"/>
    123121          </form>
Note: See TracChangeset for help on using the changeset viewer.