- Timestamp:
- Jun 23, 2008, 4:21:21 AM (17 years ago)
- Location:
- trunk/packages/sipb-xen-www/code
- Files:
-
- 5 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-www/code/static/style.css
r639 r644 76 76 77 77 /* Machine list power buttons */ 78 .power.on:hover { 79 background: url(/static/power_button_on_to_off_bg.png); 78 .power { 79 width: 32px; 80 height: 32px; 81 background-color: transparent; 82 background-position: 0 0; 83 margin: 0; 84 border: 0; 85 text-indent: 64px; 86 line-height: 128px; 87 cursor: pointer; 80 88 } 81 .power.off:hover { 82 background: url(/static/power_button_off_to_on_bg.png); 89 .power:hover { 90 background-position: 0 32px; 91 } 92 .power.on { 93 background-image: url(power_button_on.png); 94 } 95 .power.off { 96 background-image: url(power_button_off.png); 83 97 } 84 98 85 99 /* Striping applied (by JavaScript) to every other row in /list. */ 86 100 tr.stripedrow { 87 background-color: # DDF;101 background-color: #e8e8ff; 88 102 } 89 103 90 #machinelist t r > td:first-child{91 padding -right: 1em;104 #machinelist td, #machinelist th { 105 padding: 0.1em 0.5em; 92 106 } -
trunk/packages/sipb-xen-www/code/templates/list.tmpl
r639 r644 114 114 <input type="hidden" name="machine_id" 115 115 value="$machine.machine_id"/> 116 <input type=" image" class="power #slurp116 <input type="submit" class="power #slurp 117 117 #if $machine.uptime then 'on' else 'off' 118 118 " name="action" value="#slurp 119 119 #if $machine.uptime then 'Power off' else 'Power on' 120 " src="#slurp121 #if $machine.uptime then 'static/power_button_on.png' else 'static/power_button_off.png'122 120 "/> 123 121 </form>
Note: See TracChangeset
for help on using the changeset viewer.