]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/base.tt2
LP#1564508 Hatch status in hamburger, remove statusbar
[working/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     <!-- enables ng-cloak to be usable before angular has been able to fully load -->
8     <style type="text/css">
9     [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
10         display: none !important;
11     }       
12     </style>
13     <title>[% l('Evergreen Staff [_1]', ctx.page_title) %]</title>
14     <base href="/eg/staff/">
15     <meta charset="utf-8">
16     <meta name="viewport" content="width=device-width, initial-scale=1.0">
17     [% IF EXPAND_WEB_IMPORTS %]
18     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/bootstrap.min.css" />
19     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/hotkeys.min.css" />
20     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/ngToast.min.css" />
21     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/ngToast-animations.min.css" />
22     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/tree-control.css" />
23     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/tree-control-attribute.css" />
24     [% ELSE %]
25     <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/evergreen-staff-client-deps.[% EVERGREEN_VERSION %].min.css" />
26     [% END %]
27     <link rel="stylesheet" href="[% ctx.base_path %]/staff/css/cat.css" />
28     <link rel="stylesheet" href="[% ctx.base_path %]/staff/css/style.css" />
29   </head>
30   <body>
31     <toast></toast>
32
33     <!-- load the navbar template inline since it's used on every page -->
34     <script type="text/ng-template" id="eg-navbar-template">
35       [% INCLUDE "staff/navbar.tt2" %]
36     </script>
37
38     <!-- instantiate the navbar by invoking it's name -->
39     <eg-navbar></eg-navbar>
40
41     <!-- main page content goes here -->
42     <div id="top-content-container" class="container" ng-cloak>[% content %]</div>
43
44     [% 
45       # script imports
46       INCLUDE "staff/base_js.tt2";
47
48       # App-specific JS load commands go into an APP_JS block.
49       PROCESS APP_JS;
50     %]
51
52     <!-- content printed via the browser is inserted here for 
53          DOM-ification prior to delivery to the printer -->
54     <div id="print-div" eg-print-container></div>
55   </body>
56 </html>