From: Quentin Smith Date: Sun, 22 Jun 2008 06:37:06 +0000 (-0400) Subject: Show power buttons as icons X-Git-Tag: sipb-xen-www/3.6~24 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/14f651c500c554436376dd5d10450703478669b6 Show power buttons as icons svn path=/trunk/packages/sipb-xen-www/; revision=639 --- diff --git a/code/static/style.css b/code/static/style.css index ef294ad..29216cc 100644 --- a/code/static/style.css +++ b/code/static/style.css @@ -74,6 +74,14 @@ td.error { font-weight: bold; } +/* Machine list power buttons */ +.power.on:hover { + background: url(/static/power_button_on_to_off_bg.png); +} +.power.off:hover { + background: url(/static/power_button_off_to_on_bg.png); +} + /* Striping applied (by JavaScript) to every other row in /list. */ tr.stripedrow { background-color: #DDF; diff --git a/code/templates/list.tmpl b/code/templates/list.tmpl index a72c558..e9200dd 100644 --- a/code/templates/list.tmpl +++ b/code/templates/list.tmpl @@ -113,8 +113,12 @@ $errorRow('cdrom', $err) -