First, the low-hanging fruit: change all (two) absolute URLs in the CSS to use
relative paths. This restores the Dashboard logo when the app is run at a
non-root URL.
---
public/stylesheets/application.css | 2 +-
public/stylesheets/fcbkcomplete.css | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/public/stylesheets/application.css
b/public/stylesheets/application.css
index a71c694..85f3328 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -5,7 +5,7 @@ body {
}
a#logo {
- background: transparent url('/images/dashboard_logo.png') no-repeat top
center;
+ background: transparent url('../images/dashboard_logo.png') no-repeat top
center;
text-indent: -9000px;
display: block;
height: 23px;
diff --git a/public/stylesheets/fcbkcomplete.css
b/public/stylesheets/fcbkcomplete.css
index 043c5b7..f90f408 100755
--- a/public/stylesheets/fcbkcomplete.css
+++ b/public/stylesheets/fcbkcomplete.css
@@ -20,7 +20,7 @@ form ul.holder { width: 500px; }
ul.holder li.bit-hover { background: #BBCEF1; border: 1px solid #6D95E0; }
ul.holder li.bit-box-focus { border-color: #598BEC; background: #598BEC;
color: #fff; }
ul.holder li.bit-box { padding-right: 13px; position: relative;}
-ul.holder li.bit-box a.closebutton { position: absolute; right: 4px; top: 5px;
display: block; width: 7px; height: 7px; font-size: 1px; background:
url('/images/close.gif'); z-index: 7; }
+ul.holder li.bit-box a.closebutton { position: absolute; right: 4px; top: 5px;
display: block; width: 7px; height: 7px; font-size: 1px; background:
url('../images/close.gif'); z-index: 7; }
ul.holder li.bit-box a.closebutton:hover { background-position: 7px; }
ul.holder li.bit-box-focus a.closebutton, ul.holder li.bit-box-focus
a.closebutton:hover { background-position: bottom; }
--
1.7.0.2
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.