]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/statusbar.tt2
LP#1350042 Browser client templates/scripts (phase 1)
[working/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   role="navigation">
6
7   <!-- 
8     Define the status bar as a directive so it may be used globally.
9     The template is defined inline (below) to leverage i18n and 
10     so one less network fetch is required.
11   -->
12   <eg-status-bar></eg-status-bar>
13   <script type="text/ng-template" id="eg-status-bar-template">
14     <ul class="nav navbar-nav navbar-right">
15       <li>{{messages[0]}}</li>
16       <li>
17         <span 
18           ng-click="hatchConnect()"
19           title="[% l('Print/Store Connection Status') %]"
20           class="glyphicon glyphicon-transfer"
21           ng-class="{'status-bar-connected' : hatchConnected()}">
22         </span>
23       </li>
24       <li>
25         <span 
26           title="[% l('Network Connection Status') %]"
27           class="glyphicon glyphicon-signal"
28           ng-class="{'status-bar-connected' : netConnected()}">
29         </span>
30       </li>
31     </ul>    
32   </script>
33 </div>