From 14f651c500c554436376dd5d10450703478669b6 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Sun, 22 Jun 2008 02:37:06 -0400 Subject: [PATCH] Show power buttons as icons svn path=/trunk/packages/sipb-xen-www/; revision=639 --- code/static/style.css | 8 ++++++++ code/templates/list.tmpl | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) 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) - -- 1.7.9.5