From 747926a56b4e23ffc43e3a4a8344a8bd6d2bc29d Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 13 Apr 2012 11:45:24 -0400 Subject: [PATCH] Repair damaged CSS path due to poor conflict resolution Signed-off-by: Dan Scott --- eg2012_tpac.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eg2012_tpac.txt b/eg2012_tpac.txt index e4d900547..f63ba2bc9 100644 --- a/eg2012_tpac.txt +++ b/eg2012_tpac.txt @@ -182,11 +182,12 @@ Overriding Templates Example Common customizations - styles ------------------------------ - * CSS lives in `/openils/var/web/opac/css/skin/default/style.css` + * TPAC CSS lives in `/openils/var/web/css/skin/default/opac/style.css` ** Could then create variants for each required skin and point to it from the template overrides * Or you could template the CSS itself: - . Hack EGWeb.pm to return content-type "text/css" for some file names + . Hack EGWeb.pm to return content-type "text/css" for some file name(s) + and move the CSS file into a TT-aware directory . Define colors in templated CSS based on CGI.virtual_host() value . Change templates/opac/parts/base.tt2 to point to the templated CSS . Stop maintaining many slight variations of the same CSS -- 2.11.0