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 %]>
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;
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" />
25 <link rel="stylesheet" href="[% WEB_BUILD_PATH %]/css/evergreen-staff-client-deps.[% EVERGREEN_VERSION %].min.css" />
27 <link rel="stylesheet" href="[% ctx.base_path %]/staff/css/cat.css" />
28 <link rel="stylesheet" href="[% ctx.base_path %]/staff/css/style.css" />
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" %]
38 <!-- instantiate the navbar by invoking it's name -->
39 <eg-navbar></eg-navbar>
41 <!-- main page content goes here -->
42 <div id="top-content-container" class="container" ng-cloak>[% content %]</div>
46 INCLUDE "staff/base_js.tt2";
48 # App-specific JS load commands go into an APP_JS block.
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>