]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/base.tt2
LP#1539084: webstaff: sort column picker entries by class path and column labels
[Evergreen.git] / Open-ILS / src / templates / staff / base.tt2
1 <!doctype html>
2 [%- PROCESS 'staff/config.tt2' %]
3 <html lang="[% ctx.locale %]"
4     [%- IF ctx.page_app %] ng-app="[% ctx.page_app %]"[% END -%]
5     [%- IF ctx.page_ctrl %] ng-controller="[% ctx.page_ctrl %]"[% END %]>
6   <head>
7     <title>[% l('Evergreen Staff [_1]', ctx.page_title) %]</title>
8     <base href="/eg/staff/">
9     <meta charset="utf-8">
10     <meta name="viewport" content="width=device-width, initial-scale=1.0">
11     [% IF EXPAND_WEB_IMPORTS %]
12     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/bootstrap.min.css" />
13     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/hotkeys.min.css" />
14     [% ELSE %]
15     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/evergreen-staff-client-deps.[% EVERGREEN_VERSION %].min.css" />
16     [% END %]
17     <link rel="stylesheet" href="[% ctx.base_path %]/staff/css/cat.css" />
18     <link rel="stylesheet" href="[% ctx.base_path %]/staff/css/style.css" />
19     <link rel="stylesheet" href="[% ctx.base_path %]/staff/css/print.css" type="text/css" media="print" />
20   </head>
21   <body>
22
23     <!-- load the navbar template inline since it's used on every page -->
24     <script type="text/ng-template" id="eg-navbar-template">
25       [% INCLUDE "staff/navbar.tt2" %]
26     </script>
27
28     <!-- instantiate the navbar by invoking it's name -->
29     <eg-navbar></eg-navbar>
30
31     <!-- main page content goes here -->
32     <div id="top-content-container" class="container">[% content %]</div>
33
34     [% 
35       # status bar along bottom of page
36       INCLUDE "staff/statusbar.tt2";
37
38       # script imports
39       INCLUDE "staff/base_js.tt2";
40
41       # App-specific JS load commands go into an APP_JS block.
42       PROCESS APP_JS;
43     %]
44
45     <!-- content printed via the browser is inserted here for 
46          DOM-ification prior to delivery to the printer -->
47     <div id="print-div" eg-print-container></div>
48   </body>
49 </html>