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-fixed-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" aria-hidden="true"></span>
21 <span class="icon-bar" aria-hidden="true"></span>
22 <span class="icon-bar" aria-hidden="true"></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>
32 <li class="dropdown" uib-dropdown>
33 <a href uib-dropdown-toggle>[% l('Search') %]
34 <b class="caret" aria-hidden="true"></b>
36 <ul uib-dropdown-menu>
38 <a href="./circ/patron/search" target="_self"
39 eg-accesskey="[% l('alt+s') %] [% l('f4') %]"
40 eg-accesskey-desc="[% l('Patron search by name, address, etc.') %]">
41 <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
42 <span eg-accesskey-label>[% l('Search for Patrons') %]</span>
46 <a href="./cat/item/search" target="_self"
47 eg-accesskey="[% l('f5') %]"
48 eg-accesskey-desc="[% l('Item Status') %]">
49 <span class="glyphicon glyphicon-barcode" aria-hidden="true"></span>
50 <span>[% l('Search for Items by Barcode') %]</span>
54 <a href="/eg2/staff/catalog/search"
55 eg-accesskey="[% l('f3') %]"
56 eg-accesskey-desc="[% l('Catalog') %]">
57 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
58 <span>[% l('Search the Catalog') %]</span>
66 <li class="dropdown" uib-dropdown>
67 <a href uib-dropdown-toggle>[% l('Circulation') %]<b class="caret"
68 aria-hidden="true"></b>
71 <ul uib-dropdown-menu>
73 <a href="./circ/patron/bcsearch" target="_self"
74 eg-accesskey="[% l('f1') %]"
75 eg-accesskey-desc="[% l('Check Out') %]">
76 <span class="glyphicon glyphicon-export" aria-hidden="true"></span>
80 <li ng-if="!username">
81 <a href="" ng-click="rs.active_tab('checkout')" target="_self"
82 eg-accesskey="[% l('f1') %]"
83 eg-accesskey-desc="[% l('Check Out') %]">
84 <span class="glyphicon glyphicon-export" aria-hidden="true"></span>
89 <a href="./circ/checkin/checkin" target="_self"
90 eg-accesskey="[% l('f2') %]"
91 eg-accesskey-desc="[% l('Check In') %]">
92 <span class="glyphicon glyphicon-import" aria-hidden="true"></span>
96 <li ng-if="!username">
97 <a href="" ng-click="rs.active_tab('checkin')" target="_self"
98 eg-accesskey="[% l('f2') %]"
99 eg-accesskey-desc="[% l('Check In') %]">
100 <span class="glyphicon glyphicon-import" aria-hidden="true"></span>
105 <a href="./circ/checkin/capture" target="_self"
106 eg-accesskey="[% l('shift+f2') %]"
107 eg-accesskey-desc="[% l('Capture Holds') %]">
108 <span class="glyphicon glyphicon-pushpin" aria-hidden="true"></span>
109 [% l('Capture Holds') %]
113 <a href="./circ/holds/pull" target="_self">
114 <span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
115 [% l('Pull List for Hold Requests') %]
118 <li ng-if="username">
119 <a href="./circ/renew/renew" target="_self"
120 eg-accesskey="[% l('ctrl+f2') %]"
121 eg-accesskey-desc="[% l('Renew items') %]">
122 <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
123 [% l('Renew Items') %]
126 <li ng-if="!username">
127 <a href="" ng-click="rs.active_tab('renew')" target="_self"
128 eg-accesskey="[% l('ctrl+f2') %]"
129 eg-accesskey-desc="[% l('Renew items') %]">
130 <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
131 [% l('Renew Items') %]
134 <li ng-if="username">
135 <a href="./circ/patron/register" target="_self"
136 eg-accesskey="[% l('shift+f1') %]"
137 eg-accesskey-desc="[% l('Register Patron') %]">
138 <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
139 [% l('Register Patron') %]
142 <li ng-if="!username">
143 <a href="" ng-click="rs.active_tab('register')" target="_self"
144 eg-accesskey="[% l('shift+f1') %]"
145 eg-accesskey-desc="[% l('Register Patron') %]">
146 <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
147 [% l('Register Patron') %]
150 <li ng-if="showRecentPatron">
151 <a href="./circ/patron/last" target="_self"
152 eg-accesskey="[% l('f8') %]"
153 eg-accesskey-desc="[% l('Retrieve Last Patron') %]">
154 <span class="glyphicon glyphicon-share-alt" aria-hidden="true"></span>
155 [% l('Retrieve Last Patron') %]
158 <li ng-if="showRecentPatrons">
159 <a href="./circ/patron/search?show_recent=1" target="_self"
160 eg-accesskey-desc="[% l('Retrieve Recent Patrons') %]">
161 <span class="glyphicon glyphicon-share-alt" aria-hidden="true"></span>
162 [% l('Retrieve Recent Patrons') %]
166 <a href="./circ/patron/pending/list" target="_self">
167 <span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>
168 [% l('Pending Patrons') %]
172 <a href="./circ/patron/bucket/view" target="_self">
173 <span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
174 [% l('User Buckets') %]
177 <li class="divider"></li>
179 <a href="./circ/patron/credentials" target="_self">
180 <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
181 <span>[% l('Verify Credentials') %]</span>
184 <li ng-if="username">
185 <a href="./circ/in_house_use/index" target="_self"
186 eg-accesskey="[% l('f6') %]"
187 eg-accesskey-desc="[% l('Record In-House Use') %]">
188 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
189 <span>[% l('Record In-House Use') %]</span>
192 <li ng-if="!username">
193 <a href="" ng-click="rs.active_tab('in_house_use')" target="_self"
194 eg-accesskey="[% l('f6') %]"
195 eg-accesskey-desc="[% l('Record In-House Use') %]">
196 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
197 <span>[% l('Record In-House Use') %]</span>
201 <a href="./circ/holds/shelf" target="_self">
202 <span class="glyphicon glyphicon-tasks" aria-hidden="true"></span>
203 <span>[% l('Holds Shelf') %]</span>
206 <li class="divider"></li>
208 <a href="./cat/item/replace_barcode/index" target="_self">
209 <span class="glyphicon glyphicon-barcode" aria-hidden="true"></span>
210 <span>[% l('Replace Barcode') %]</span>
214 <a href="./cat/item/search" target="_self">
215 <span class="glyphicon glyphicon-saved" aria-hidden="true"></span>
216 <span>[% l('Item Status') %]</span>
220 <a href="./cat/item/missing_pieces" target="_self">
221 <span class="glyphicon glyphicon-th" aria-hidden="true"></span>
222 <span>[% l('Scan Item as Missing Pieces') %]</span>
225 <li class="divider"></li>
227 <a href="" ng-click="reprintLast($event)"
228 eg-accesskey="[% l('f9') %]"
229 eg-accesskey-desc="[% l('Reprint Last Receipt') %]">
230 <span class="glyphicon glyphicon-print" aria-hidden="true"></span>
231 <span>[% l('Reprint Last Receipt') %]</span>
234 <li class="divider"></li>
235 <li ng-class="{disabled : offlineDisabled()}">
236 <a href="./offline-interface" target="_self" ng-class="{disabled : offlineDisabled()}">
237 <span class="glyphicon glyphicon-alert" aria-hidden="true"></span>
238 <span>[% l('Offline Circulation') %]</span>
245 <li class="dropdown" uib-dropdown>
246 <a href uib-dropdown-toggle>[% l('Cataloging') %]<b class="caret"
247 aria-hidden="true"></b>
249 <ul uib-dropdown-menu>
251 <a href="/eg2/staff/catalog/search">
252 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
253 <span>[% l('Search the Catalog') %]</span>
257 <a href="./cat/catalog/index" target="_self">
258 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
259 [% l('Search the Catalog (Traditional)') %]
263 <a href="./cat/item/search" target="_self">
264 <span class="glyphicon glyphicon-saved" aria-hidden="true"></span>
265 <span>[% l('Item Status') %]</span>
268 <li class="divider"></li>
270 <a href="./cat/bucket/record/view" target="_self">
271 <span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
272 [% l('Record Buckets') %]
276 <a href="./cat/bucket/copy/view" target="_self">
277 <span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
278 [% l('Item Buckets') %]
281 <li class="divider"></li>
283 <a href="./cat/catalog/retrieve_by_id" target="_self">
284 <span class="glyphicon glyphicon-file" aria-hidden="true"></span>
285 [% l('Retrieve Bib Record by ID') %]
289 <a href="./cat/catalog/retrieve_by_tcn" target="_self"
290 eg-accesskey="[% l('shift+f3') %]"
291 eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
292 <span class="glyphicon glyphicon-tag" aria-hidden="true"></span>
293 [% l('Retrieve Bib Record by TCN') %]
297 <a href="" ng-click="retrieveLastRecord()" target="_self"
298 eg-accesskey="[% l('shift+f8') %]"
299 eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
300 <span class="glyphicon glyphicon-share-alt" aria-hidden="true"></span>
301 [% l('Retrieve Last Bib Record') %]
304 <li class="divider"></li>
306 <a href="./cat/catalog/new_bib" target="_self">
307 <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
308 [% l('Create New MARC Record') %]
312 <a href="./cat/z3950/index" target="_self">
313 <span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>
314 [% l('Import Record from Z39.50') %]
318 <a href="/eg2/staff/cat/vandelay/import">
319 <span class="glyphicon glyphicon-transfer" aria-hidden="true"></span>
320 [% l('MARC Batch Import/Export') %]
324 <a href="./cat/catalog/batchEdit" target="_self">
325 <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
326 [% l('MARC Batch Edit') %]
329 <li class="divider"></li>
331 <a href="./cat/catalog/verifyURLs" target="_self">
332 <span class="glyphicon glyphicon-link" aria-hidden="true"></span>
333 [% l('Link Checker') %]
336 <li class="divider"></li>
338 <a href="./cat/catalog/manageAuthorities" target="_self">
339 <span class="glyphicon glyphicon-lock" aria-hidden="true"></span>
340 [% l('Manage Authorities') %]
344 <a href="/eg2/staff/cat/authority/edit" target="_self">
345 <span class="glyphicon glyphicon-file" aria-hidden="true"></span>
346 [% l('Retrieve Authority Record by ID') %]
352 <!-- acquisitions -->
353 <li class="dropdown" uib-dropdown>
354 <a href uib-dropdown-toggle>[% l('Acquisitions') %]<b class="caret"
355 aria-hidden="true"></b>
357 <ul uib-dropdown-menu>
359 <a href="/eg2/staff/acq/search" target="_self">
360 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
361 [% l('General Search') %]
364 <li class="divider"></li>
366 <a href="/eg2/staff/acq/search/selectionlists" target="_self">
367 <span class="glyphicon glyphicon-list" aria-hidden="true"></span>
368 [% l('Selection Lists') %]
372 <a href="./acq/legacy/picklist/brief_record" target="_self">
373 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
374 [% l('New Brief Record') %]
378 <a href="./acq/requests/list" target="_self">
379 <span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>
380 [% l('Patron Requests') %]
384 <a href="./acq/legacy/picklist/bib_search" target="_self">
385 <span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>
386 [% l('MARC Federated Search') %]
390 <a href="./acq/legacy/picklist/from_bib" target="_self">
391 <span class="glyphicon glyphicon-import" aria-hidden="true"></span>
392 [% l('Load Catalog Record IDs') %]
395 <li class="divider"></li>
397 <a href="./acq/legacy/picklist/upload" target="_self">
398 <span class="glyphicon glyphicon-cloud-upload" aria-hidden="true"></span>
399 [% l('Load MARC Order Records') %]
403 <a href="/eg2/staff/acq/search/purchaseorders" target="_self">
404 <span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span>
405 [% l('Purchase Orders') %]
409 <a href="./acq/legacy/po/create" target="_self">
410 <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
411 [% l('Create Purchase Order') %]
414 <li class="divider"></li>
416 <a href="./acq/legacy/financial/claim_eligible" target="_self">
417 <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
418 [% l('Claim-Ready Items') %]
422 <a href="/eg2/staff/acq/search/invoices" target="_self">
423 <span class="glyphicon glyphicon-usd" aria-hidden="true"></span>
428 <a href="./acq/legacy/invoice/view?create=1" target="_self">
429 <span class="glyphicon glyphicon-credit-card" aria-hidden="true"></span>
430 [% l('Create Invoice') %]
437 <li class="dropdown" uib-dropdown>
438 <a href uib-dropdown-toggle>[% l('Booking') %]<b class="caret"
439 aria-hidden="true"></b>
441 <ul uib-dropdown-menu>
443 <a href="/eg2/staff/booking/create_reservation" target="_self">
444 <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
445 [% l('Create Reservations') %]
449 <a href="/eg2/staff/booking/pull_list" target="_self">
450 <span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
455 <a href="/eg2/staff/booking/capture" target="_self">
456 <span class="glyphicon glyphicon-pushpin" aria-hidden="true"></span>
457 [% l('Capture Resources') %]
461 <a href="/eg2/staff/booking/pickup" target="_self">
462 <span class="glyphicon glyphicon-export" aria-hidden="true"></span>
463 [% l('Pick Up Reservations') %]
467 <a href="/eg2/staff/booking/return" target="_self">
468 <span class="glyphicon glyphicon-import" aria-hidden="true"></span>
469 [% l('Return Reservations') %]
473 <a href="/eg2/staff/booking/manage_reservations" target="_self">
474 <span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
475 [% l('Manage Reservations') %]
482 <li class="dropdown" uib-dropdown>
483 <a href uib-dropdown-toggle>[% l('Administration') %]<b class="caret"
484 aria-hidden="true"></b>
486 <ul uib-dropdown-menu>
488 <a href="./admin/workstation/index" target="_self">
489 <span class="glyphicon glyphicon-hdd" aria-hidden="true"></span>
490 [% l('Workstation') %]
494 <a href="./admin/user_perms" target="_self">
495 <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
496 [% l('User Permission Editor') %]
500 <a href="/eg2/staff/admin/server/splash">
501 <span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
502 [% l('Server Administration') %]
506 <a href="/eg2/staff/admin/local/splash">
507 <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
508 [% l('Local Administration') %]
512 <a href="/eg2/staff/admin/acq/splash">
513 <span class="glyphicon glyphicon-usd" aria-hidden="true"></span>
514 [% l('Acquisitions Administration') %]
518 <a href="./admin/serials/index" target="_self">
519 <span class="glyphicon glyphicon-paperclip" aria-hidden="true"></span>
520 [% l('Serials Administration') %]
524 <a href="/eg2/staff/admin/booking/splash" target="_self">
525 <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
526 [% l('Booking Administration') %]
530 <a href="./reporter/legacy/main" target="_self">
531 <span class="glyphicon glyphicon-object-align-bottom"
532 aria-hidden="true"></span>
536 </ul> <!-- admin dropdown -->
538 </ul> <!-- end left side entries -->
540 <!-- entries along the right side of the navbar -->
541 <ul class="nav navbar-nav navbar-right" style='margin-right: 6px;'>
543 <a ng-cloak ng-show="username" title="{{currentToken()}}"
544 ng-init="workstation = '[% l('<no workstation>') %]'">
545 {{username}} @ {{workstation}}
549 <!-- locale selector.
550 only shown if multiple locales are registered -->
551 [% IF ctx.locales.keys.size > 1 %]
552 <li class="dropdown" uib-dropdown>
553 <a href uib-dropdown-toggle>
554 [% lcl = ctx.locale; ctx.locales.$lcl %]
555 <span class="glyphicon glyphicon-flag" aria-hidden="true"></span>
557 <ul uib-dropdown-menu>
558 [% FOR locale IN ctx.locales.keys.sort %]
559 <!-- disable the selected locale -->
560 <li ng-class="{disabled : '[% ctx.locale %]'=='[% locale %]'}">
561 <a href="" ng-click="applyLocale('[% locale %]')">
562 [% ctx.locales.$locale %]
570 <li class="dropdown" ng-show="username" uib-dropdown title="Logout and more...">
571 <a href class="glyphicon glyphicon-list"
572 uib-dropdown-toggle></a>
573 <ul uib-dropdown-menu>
574 <li ng-if="!op_changed">
575 <a href="" ng-click="changeOperator()">
576 <span class="glyphicon glyphicon-random" aria-hidden="true"></span>
577 [% l('Change Operator') %]
580 <li ng-if="op_changed">
581 <a href="" ng-click="changeOperatorUndo()">
582 <span class="glyphicon glyphicon-random" aria-hidden="true"></span>
583 [% l('Restore Operator') %]
587 <a href="./login" ng-click="logout()" target="_self">
588 <span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>
593 <a href="./about" target="_self">
594 <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
598 <li class="divider"></li>
599 <li class="disabled">
600 <a href disabled="disabled">
602 title="[% l('Hatch Connection Status') %]"
603 class="glyphicon glyphicon-transfer"
604 ng-class="{'connect-status-ok' : hatchConnected()}"