From 10f3925dfc8dc06b99bed4e20cdf56eca650991a Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Tue, 9 Dec 2014 15:50:23 -0500 Subject: [PATCH] Add style_overrides.css to the OPAC base This will enable sites to minimize the differences in their styles and the core styles, at the cost of an extra HTTP request. Signed-off-by: Dan Scott --- .../opac/css/style_overrides.css.tt2 | 0 Open-ILS/src/templates_conifer/opac/parts/base.tt2 | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 Open-ILS/src/templates_conifer/opac/css/style_overrides.css.tt2 create mode 100644 Open-ILS/src/templates_conifer/opac/parts/base.tt2 diff --git a/Open-ILS/src/templates_conifer/opac/css/style_overrides.css.tt2 b/Open-ILS/src/templates_conifer/opac/css/style_overrides.css.tt2 new file mode 100644 index 0000000000..e69de29bb2 diff --git a/Open-ILS/src/templates_conifer/opac/parts/base.tt2 b/Open-ILS/src/templates_conifer/opac/parts/base.tt2 new file mode 100644 index 0000000000..3b20bf419d --- /dev/null +++ b/Open-ILS/src/templates_conifer/opac/parts/base.tt2 @@ -0,0 +1,38 @@ + + + + + + [% IF ctx.refresh %] + + [% ELSIF ctx.authtime AND !ctx.is_staff %] + + [% END %] + + + + + [% l('Catalog - [_1]', ctx.page_title) %] + + + [% IF want_dojo %] + + [% END %] + + [% INCLUDE 'opac/parts/goog_analytics.tt2' %] + [% PROCESS 'opac/parts/stripe.tt2' %] + + +

[% l('Catalog') %]

+ [%#Each content page needs (at minimum) an

describing the content%] + [% content %] +

[% l('Additional Resources') %]

+ [% INCLUDE 'opac/parts/footer.tt2' %] + [% INCLUDE 'opac/parts/js.tt2' %] + [%- IF ENV.OILS_CHILIFRESH_ACCOUNT %] + [%- INCLUDE 'opac/parts/chilifresh.tt2' %] + [%- END %] + + -- 2.11.0