]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/statusbar.tt2
webstaff: fixed client-side sorting of names in add-to-bucket dialog
[Evergreen.git] / Open-ILS / src / templates / staff / statusbar.tt2
1 <!-- Status bar along the bottom of the page -->
2
3 <div id="status-bar" 
4   class="navbar navbar-default navbar-fixed-bottom" 
5   ng-model="statusbar_hidden"
6   ng-hide="true"
7   role="navigation">
8
9   <!-- 
10     Define the status bar as a directive so it may be used globally.
11     The template is defined inline (below) to leverage i18n and 
12     so one less network fetch is required.
13   -->
14   <eg-status-bar></eg-status-bar>
15   <script type="text/ng-template" id="eg-status-bar-template">
16     <ul class="nav navbar-nav navbar-right">
17       <li>{{messages[0]}}</li>
18       <li>
19         <span 
20           ng-click="hatchConnect()"
21           title="[% l('Print/Store Connection Status') %]"
22           class="glyphicon glyphicon-transfer"
23           ng-class="{'status-bar-connected' : hatchConnected()}">
24         </span>
25       </li>
26       <li>
27         <span 
28           title="[% l('Network Connection Status') %]"
29           class="glyphicon glyphicon-signal"
30           ng-class="{'status-bar-connected' : netConnected()}">
31         </span>
32       </li>
33       <li ng-click="statusbar_hidden ? statusbar_hidden = false : statusbar_hidden = true">
34         <span 
35           title="[% l('Collapse ... Reload to restore') %]"
36           class="glyphicon glyphicon-collapse-down">
37         </span>
38       </li>
39     </ul>    
40   </script>
41 </div>