From 4fdc3bde2a12afafd24a324a5142b690a82fda41 Mon Sep 17 00:00:00 2001 From: Nathan Heskew Date: Wed, 10 Mar 2010 11:04:45 -0800 Subject: [PATCH] Resolving CSS image URLs in the ThemePreview template --HG-- branch : dev --- src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx b/src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx index 664c94fcb..a50c399c1 100644 --- a/src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx +++ b/src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx @@ -15,13 +15,13 @@ html.dyn #themepreview button.preview { display:none; } #themepreview button.cancel { float:right; } /*Added styles below*/ -#themepreview { background: #000 url('../../Styles/Images/toolBarBackground.gif') repeat-x left top; font-size:15px; padding:5px; } +#themepreview { background: #000 url('<%=ResolveUrl("../../Styles/Images/toolBarBackground.gif") %>') repeat-x left top; font-size:15px; padding:5px; } /* Button styles */ #themepreview button { font-size: 13px; padding:1px 4px; margin: 0 0 0 10px; text-align:center; color:#f1f1f1; border:1px solid; border-top-color:#191d1d; border-right-color:#494d4d; border-bottom-color:#494d4d; border-left-color:#171c1c; background:#2a2626 url('../../Styles/Images/toolBarActiveButtonBackground.gif') repeat-x left center; } /* Hover for buttons */ -#themepreview button:hover { color:#fdcc64; border:1px #494d4d solid; cursor:pointer; background:#2a2626 url('../../Styles/Images/toolBarHoverButtonBackground.gif') repeat-x left center; } +#themepreview button:hover { color:#fdcc64; border:1px #494d4d solid; cursor:pointer; background:#2a2626 url('<%=ResolveUrl("../../Styles/Images/toolBarHoverButtonBackground.gif") %>') repeat-x left center; }