Power button tweaks from the hackathon.
[invirt/packages/invirt-web.git] / code / templates / list.tmpl
index e9200dd..93f7181 100644 (file)
@@ -113,12 +113,10 @@ $errorRow('cdrom', $err)
            <input type="hidden" name="back" value="list"/>
            <input type="hidden" name="machine_id"
                   value="$machine.machine_id"/>
-<input type="image" class="power #slurp
+<input type="submit" class="power #slurp
 #if $machine.uptime then 'on' else 'off'
 " name="action" value="#slurp
 #if $machine.uptime then 'Power off' else 'Power on'
-" src="#slurp
-#if $machine.uptime then 'static/power_button_on.png' else 'static/power_button_off.png'
 "/>
          </form>
        </td>