Changeset 639 for trunk/packages/sipb-xen-www
- Timestamp:
- Jun 22, 2008, 2:37:06 AM (16 years ago)
- Location:
- trunk/packages/sipb-xen-www/code
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/static/style.css
r621 r639 75 75 } 76 76 77 /* Machine list power buttons */ 78 .power.on:hover { 79 background: url(/static/power_button_on_to_off_bg.png); 80 } 81 .power.off:hover { 82 background: url(/static/power_button_off_to_on_bg.png); 83 } 84 77 85 /* Striping applied (by JavaScript) to every other row in /list. */ 78 86 tr.stripedrow { -
trunk/packages/sipb-xen-www/code/templates/list.tmpl
r629 r639 114 114 <input type="hidden" name="machine_id" 115 115 value="$machine.machine_id"/> 116 <input type="submit" class="button" name="action" value="#slurp 116 <input type="image" class="power #slurp 117 #if $machine.uptime then 'on' else 'off' 118 " name="action" value="#slurp 117 119 #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' 118 122 "/> 119 123 </form>
Note: See TracChangeset
for help on using the changeset viewer.