Separate stripe js into stripe.tt2, add seed data for ou settings
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / base.tt2
1 <!DOCTYPE html>
2 <html lang='[% ctx.locale.replace('_', '-') %]'>
3     <head>
4         <meta charset="utf-8" />
5         <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6         [% IF ctx.refresh %]
7         <meta http-equiv="refresh" content="[% ctx.refresh %]" />
8         [% ELSIF ctx.authtime AND !ctx.is_staff %]
9         <meta http-equiv="refresh" content="[% ctx.authtime %]; url=[% ctx.logout_page %]" />
10         [% END %]
11         <meta name = "viewport" content = "initial-scale = 1.0">
12         <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/default/opac/semiauto.css" />
13         <link rel="stylesheet" type="text/css" href="[% ctx.opac_root %]/css/style.css" />
14         <title>[% l('Catalog - [_1]', ctx.page_title) %]</title>
15         <link rel="unapi-server" type="application/xml" title="unAPI" href="/opac/extras/unapi" />
16         <link type="application/opensearchdescription+xml" rel='search' title="[% l('Evergreen OpenSearch') %]" href="/opac/extras/opensearch/1.1/[% ctx.get_aou(ctx.search_ou).shortname %]/-/osd.xml" />
17         [% IF want_dojo %]
18         <style type="text/css">
19             @import "[% ctx.media_prefix %]/js/dojo/dijit/themes/tundra/tundra.css";
20         </style>
21         [% END %]
22         [% INCLUDE 'opac/parts/goog_analytics.tt2' %]
23         [% INCLUDE 'opac/parts/stripe.tt2' %]
24
25     </head>
26     <body[% IF want_dojo; ' class="tundra"'; END %]>
27         <h1 class="sr-only">[% l('Catalog') %]</h1>
28         [%#Each content page needs (at minimum) an <h2> describing the content%]
29         [% content %] 
30         <h2 class="sr-only">[% l('Additional Resources') %]</h2>
31         [% INCLUDE 'opac/parts/footer.tt2' %]
32         [% INCLUDE 'opac/parts/js.tt2' %]
33         [%- IF ENV.OILS_CHILIFRESH_ACCOUNT %]
34             [%- INCLUDE 'opac/parts/chilifresh.tt2' %]
35         [%- END %]
36     </body>
37 </html>