Templatize TPAC CSS - change colors based on vhost user/dbs/templatize_tpac_css
authorDan Scott <dscott@laurentian.ca>
Thu, 26 Apr 2012 19:45:21 +0000 (15:45 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 26 Apr 2012 19:49:53 +0000 (15:49 -0400)
commit71d934a774df5957508754a3b5b882708b4b1aa6
tree8c138be0661b83b66a237078de386b0ce06e9e70
parentee18ec89dda3c34c7570b4296cfa644e9abfbf93
Templatize TPAC CSS - change colors based on vhost

Rather than requiring sites to copy & customize style.css for each site
that just needs different colors, and then maintain those changes
laboriously as style.css changes - or creating CSS files that override
the styles for each site - use the power of Template Toolkit to control
colors and other elements based on criteria such as the vhost name.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
Open-ILS/src/templates/opac/parts/base.tt2
Open-ILS/src/templates/opac/style_css.tt2 [new file with mode: 0644]
Open-ILS/web/css/skin/default/opac/style.css [deleted file]