4 note the use of target="_self" for navigation links.
5 this tells angular to treat the href as a new page
6 and not an intra-app route. This is necessary when
7 moving between applications.
9 For icons, see http://getbootstrap.com/components/#glyphicons
12 <div id="top-navbar" role="navigation"
13 class="navbar navbar-default navbar-static-top" role="navigation">
15 <!-- navbar-header here needed for supporting angular-ui-bootstrap -->
16 <div class="navbar-header">
17 <button type="button" class="navbar-toggle"
18 ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed">
19 <span class="sr-only">[% l('Toggle navigation') %]</span>
20 <span class="icon-bar"></span>
21 <span class="icon-bar"></span>
22 <span class="icon-bar"></span>
26 <div class="navbar-collapse collapse" ng-class="!navCollapsed && 'in'">
27 <ul class="nav navbar-nav">
28 <li><a href='./' title="[% l('Home') %]" target="_self"
29 class="glyphicon glyphicon-home"></a><li>
33 <a href="javascript:;" class="dropdown-toggle"
34 data-toggle="dropdown">[% l('Search') %]
37 <ul class="dropdown-menu">
39 <a href="./circ/patron/search" target="_self"
40 eg-accesskey="[% l('alt+s') %]"
41 eg-accesskey-desc="[% l('Patron search by name, address, etc.') %]">
42 <span class="glyphicon glyphicon-user"></span>
43 <span eg-accesskey-label>[% l('Search for Patrons') %]</span>
47 <a href="./cat/item/search" target="_self">
48 <span class="glyphicon glyphicon-barcode"></span>
49 <span>[% l('Search for Copies by Barcode') %]</span>
53 <a href="./cat/catalog/index" target="_self">
54 <span class="glyphicon glyphicon-search"></span>
55 <span>[% l('Search the Catalog') %]</span>
64 <a href="javascript:;" class="dropdown-toggle"
65 data-toggle="dropdown">[% l('Circulation') %]
69 <ul class="dropdown-menu">
71 <a href="./circ/patron/bcsearch" target="_self">
72 <span class="glyphicon glyphicon-export"></span>
77 <a href="./circ/checkin/checkin" target="_self">
78 <span class="glyphicon glyphicon-import"></span>
83 <a href="./circ/checkin/capture" target="_self">
84 <span class="glyphicon glyphicon-pushpin"></span>
85 [% l('Capture Holds') %]
89 <a href="./circ/holds/pull" target="_self">
90 <span class="glyphicon glyphicon-th-list"></span>
91 [% l('Pull List for Hold Requests') %]
95 <a href="./circ/renew/renew" target="_self">
96 <span class="glyphicon glyphicon-refresh"></span>
97 [% l('Renew Items') %]
101 <a href="./circ/patron/register" target="_self">
102 <span class="glyphicon glyphicon-user"></span>
103 [% l('Register Patron') %]
107 <a href="./circ/patron/last" target="_self">
108 <span class="glyphicon glyphicon-share-alt"></span>
109 [% l('Retrieve Last Patron') %]
113 <a href="./circ/patron/pending/list" target="_self">
114 <span class="glyphicon glyphicon-thumbs-up"></span>
115 [% l('Pending Patrons') %]
118 <li class="divider"></li>
120 <a href="./circ/patron/credentials" target="_self">
121 <span class="glyphicon glyphicon-ok"></span>
122 <span>[% l('Verify Credentials') %]</span>
126 <a href="./circ/in_house_use/index" target="_self">
127 <span class="glyphicon glyphicon-pencil"></span>
128 <span>[% l('Record In-House Use') %]</span>
132 <a href="./circ/holds/shelf" target="_self">
133 <span class="glyphicon glyphicon-tasks"></span>
134 <span>[% l('Holds Shelf') %]</span>
137 <li class="divider"></li>
139 <a href="./cat/item/replace_barcode/index" target="_self">
140 <span class="glyphicon glyphicon-barcode"></span>
141 <span>[% l('Replace Barcode') %]</span>
145 <a href="./cat/item/search" target="_self">
146 <span class="glyphicon glyphicon-saved"></span>
147 <span>[% l('Item Status') %]</span>
151 <a href="./cat/item/missing_pieces" target="_self">
152 <span class="glyphicon glyphicon-th"></span>
153 <span>[% l('Scan Item as Missing Pieces') %]</span>
160 <li class="dropdown">
161 <a href="javascript:;" class="dropdown-toggle"
162 data-toggle="dropdown">[% l('Cataloging') %]
163 <b class="caret"></b>
165 <ul class="dropdown-menu">
167 <a href="./cat/catalog/index" target="_self">
168 <span class="glyphicon glyphicon-search"></span>
169 [% l('Search the Catalog') %]
173 <a href="./cat/bucket/record/view" target="_self">
174 <span class="glyphicon glyphicon-list-alt"></span>
175 [% l('Record Buckets') %]
179 <a href="./cat/bucket/copy/view" target="_self">
180 <span class="glyphicon glyphicon-list-alt"></span>
181 [% l('Copy Buckets') %]
184 <li class="divider"></li>
186 <a href="./cat/catalog/retrieve_by_id" target="_self">
187 <span class="glyphicon glyphicon-file"></span>
188 [% l('Retrieve Bib Record by ID') %]
192 <a href="./cat/catalog/retrieve_by_tcn" target="_self">
193 <span class="glyphicon glyphicon-tag"></span>
194 [% l('Retrieve Bib Record by TCN') %]
198 <a href="" ng-click="retrieveLastRecord()" target="_self">
199 <span class="glyphicon glyphicon-share-alt"></span>
200 [% l('Retrieve Last Bib Record') %]
207 <li class="dropdown">
208 <a href="javascript:;" class="dropdown-toggle"
209 data-toggle="dropdown">[% l('Administration') %]
210 <b class="caret"></b>
212 <ul class="dropdown-menu">
214 <a href="./admin/workstation/index" target="_self">
215 <span class="glyphicon glyphicon-hdd"></span>
216 [% l('Workstation') %]
220 <a href="./admin/user_perms" target="_self">
221 <span class="glyphicon glyphicon-user"></span>
222 [% l('User Permission Editor') %]
225 </ul> <!-- admin dropdown -->
227 </ul> <!-- end left side entries -->
229 <!-- entries along the right side of the navbar -->
230 <ul class="nav navbar-nav navbar-right" style='margin-right: 6px;'>
232 <a ng-cloak ng-show="username"
233 ng-init="workstation = '[% l('<no workstation>') %]'">
234 [% l('{{username}} @ {{workstation}}') %]
238 <!-- locale selector.
239 only shown if multiple locales are registered -->
240 [% IF ctx.locales.keys.size > 1 %]
241 <li class="dropdown">
242 <a href='' class="dropdown-toggle" data-toggle="dropdown">
243 [% lcl = ctx.locale; ctx.locales.$lcl %]
244 <span class="glyphicon glyphicon-flag"></span>
246 <ul class="dropdown-menu">
247 [% FOR locale IN ctx.locales.keys.sort %]
248 <!-- disable the selected locale -->
249 <li ng-class="{disabled : '[% ctx.locale %]'=='[% locale %]'}">
250 <a href="" ng-click="applyLocale('[% locale %]')">
251 [% ctx.locales.$locale %]
259 <li class="dropdown" ng-show="username">
260 <a href='' class="dropdown-toggle glyphicon glyphicon-list"
261 data-toggle="dropdown"></a>
262 <ul class="dropdown-menu">
263 <li class="disabled">
264 <a href="" ng-click="" target="_self">
265 <span class="glyphicon glyphicon-random"></span>
266 [% l('Change Operator') %]
270 <a href="./login" ng-click="logout()" target="_self">
271 <span class="glyphicon glyphicon-log-out"></span>