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') %]
178 <a href="./cat/bucket/batch_hold/list" target="_self">
179 <span class="glyphicon glyphicon-list-alt"></span>
180 [% l('Hold Groups') %]
183 <li class="divider"></li>
185 <a href="./circ/patron/credentials" target="_self">
186 <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
187 <span>[% l('Verify Credentials') %]</span>
190 <li ng-if="username">
191 <a href="./circ/in_house_use/index" target="_self"
192 eg-accesskey="[% l('f6') %]"
193 eg-accesskey-desc="[% l('Record In-House Use') %]">
194 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
195 <span>[% l('Record In-House Use') %]</span>
198 <li ng-if="!username">
199 <a href="" ng-click="rs.active_tab('in_house_use')" target="_self"
200 eg-accesskey="[% l('f6') %]"
201 eg-accesskey-desc="[% l('Record In-House Use') %]">
202 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
203 <span>[% l('Record In-House Use') %]</span>
207 <a href="./circ/holds/shelf" target="_self">
208 <span class="glyphicon glyphicon-tasks" aria-hidden="true"></span>
209 <span>[% l('Holds Shelf') %]</span>
212 <li class="divider"></li>
214 <a href="./cat/item/replace_barcode/index" target="_self">
215 <span class="glyphicon glyphicon-barcode" aria-hidden="true"></span>
216 <span>[% l('Replace Barcode') %]</span>
220 <a href="./cat/item/search" target="_self">
221 <span class="glyphicon glyphicon-saved" aria-hidden="true"></span>
222 <span>[% l('Item Status') %]</span>
226 <a href="./cat/item/missing_pieces" target="_self">
227 <span class="glyphicon glyphicon-th" aria-hidden="true"></span>
228 <span>[% l('Scan Item as Missing Pieces') %]</span>
231 <li class="divider"></li>
233 <a href="" ng-click="reprintLast($event)"
234 eg-accesskey="[% l('f9') %]"
235 eg-accesskey-desc="[% l('Reprint Last Receipt') %]">
236 <span class="glyphicon glyphicon-print" aria-hidden="true"></span>
237 <span>[% l('Reprint Last Receipt') %]</span>
240 <li class="divider"></li>
241 <li ng-class="{disabled : offlineDisabled()}">
242 <a href="./offline-interface" target="_self" ng-class="{disabled : offlineDisabled()}">
243 <span class="glyphicon glyphicon-alert" aria-hidden="true"></span>
244 <span>[% l('Offline Circulation') %]</span>
247 <li ng-if="enableCurbside" class="divider"></li>
248 <li ng-if="enableCurbside">
249 <a href="./circ/curbside/index" target="_self" ng-class="{disabled : curbsideDisabled()}">
250 <span class="glyphicon glyphicon-road"></span>
251 <span>[% l('Curbside Pickup') %]</span>
258 <li class="dropdown" uib-dropdown>
259 <a href uib-dropdown-toggle>[% l('Cataloging') %]<b class="caret"
260 aria-hidden="true"></b>
262 <ul uib-dropdown-menu>
264 <a href="/eg2/staff/catalog/search">
265 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
266 <span>[% l('Search the Catalog') %]</span>
270 <a href="./cat/catalog/index" target="_self">
271 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
272 [% l('Search the Catalog (Traditional)') %]
276 <a href="./cat/item/search" target="_self">
277 <span class="glyphicon glyphicon-saved" aria-hidden="true"></span>
278 <span>[% l('Item Status') %]</span>
281 <li class="divider"></li>
283 <a href="./cat/bucket/record/view" target="_self">
284 <span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
285 [% l('Record Buckets') %]
289 <a href="./cat/bucket/copy/view" target="_self">
290 <span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
291 [% l('Item Buckets') %]
294 <li class="divider"></li>
296 <a href="/eg2/staff/cat/bib-from/id">
297 <span class="glyphicon glyphicon-file" aria-hidden="true"></span>
298 [% l('Retrieve Bib Record by ID') %]
303 <a href="/eg2/staff/cat/bib-from/tcn"
304 eg-accesskey="[% l('shift+f3') %]"
305 eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
306 <span class="glyphicon glyphicon-tag" aria-hidden="true"></span>
307 [% l('Retrieve Bib Record by TCN') %]
311 <a href="" ng-click="retrieveLastRecord()" target="_self"
312 eg-accesskey="[% l('shift+f8') %]"
313 eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
314 <span class="glyphicon glyphicon-share-alt" aria-hidden="true"></span>
315 [% l('Retrieve Last Bib Record') %]
318 <li class="divider"></li>
320 <a href="./cat/catalog/new_bib" target="_self">
321 <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
322 [% l('Create New MARC Record') %]
326 <a href="./cat/z3950/index" target="_self">
327 <span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>
328 [% l('Import Record from Z39.50') %]
332 <a href="/eg2/staff/cat/vandelay/import">
333 <span class="glyphicon glyphicon-transfer" aria-hidden="true"></span>
334 [% l('MARC Batch Import/Export') %]
338 <a href="/eg2/staff/cat/marcbatch">
339 <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
340 [% l('MARC Batch Edit') %]
343 <li class="divider"></li>
345 <a href="./cat/catalog/verifyURLs" target="_self">
346 <span class="glyphicon glyphicon-link" aria-hidden="true"></span>
347 [% l('Link Checker') %]
350 <li class="divider"></li>
352 <a href="/eg2/staff/cat/authority/browse">
353 <span class="glyphicon glyphicon-lock" aria-hidden="true"></span>
354 [% l('Manage Authorities') %]
358 <a href="/eg2/staff/cat/authority/edit" target="_self">
359 <span class="glyphicon glyphicon-file" aria-hidden="true"></span>
360 [% l('Retrieve Authority Record by ID') %]
366 <!-- acquisitions -->
367 <li class="dropdown" uib-dropdown>
368 <a href uib-dropdown-toggle>[% l('Acquisitions') %]<b class="caret"
369 aria-hidden="true"></b>
371 <ul uib-dropdown-menu>
373 <a href="/eg2/staff/acq/search" target="_self">
374 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
375 [% l('General Search') %]
377 <li class="divider"></li>
379 <a href="/eg2/staff/acq/provider" target="_self">
380 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
381 [% l('Provider Search') %]
384 <li class="divider"></li>
386 <a href="/eg2/staff/acq/search/selectionlists" target="_self">
387 <span class="glyphicon glyphicon-list" aria-hidden="true"></span>
388 [% l('Selection Lists') %]
392 <a href="./acq/legacy/picklist/brief_record" target="_self">
393 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
394 [% l('New Brief Record') %]
398 <a href="./acq/requests/list" target="_self">
399 <span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>
400 [% l('Patron Requests') %]
404 <a href="./acq/legacy/picklist/bib_search" target="_self">
405 <span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>
406 [% l('MARC Federated Search') %]
410 <a href="./acq/legacy/picklist/from_bib" target="_self">
411 <span class="glyphicon glyphicon-import" aria-hidden="true"></span>
412 [% l('Load Catalog Record IDs') %]
415 <li class="divider"></li>
417 <a href="./acq/legacy/picklist/upload" target="_self">
418 <span class="glyphicon glyphicon-cloud-upload" aria-hidden="true"></span>
419 [% l('Load MARC Order Records') %]
423 <a href="/eg2/staff/acq/search/purchaseorders" target="_self">
424 <span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span>
425 [% l('Purchase Orders') %]
429 <a href="./acq/legacy/po/create" target="_self">
430 <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
431 [% l('Create Purchase Order') %]
434 <li class="divider"></li>
436 <a href="./acq/legacy/financial/claim_eligible" target="_self">
437 <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
438 [% l('Claim-Ready Items') %]
442 <a href="/eg2/staff/acq/search/invoices" target="_self">
443 <span class="glyphicon glyphicon-usd" aria-hidden="true"></span>
448 <a href="./acq/legacy/invoice/view?create=1" target="_self">
449 <span class="glyphicon glyphicon-credit-card" aria-hidden="true"></span>
450 [% l('Create Invoice') %]
457 <li class="dropdown" uib-dropdown>
458 <a href uib-dropdown-toggle>[% l('Booking') %]<b class="caret"
459 aria-hidden="true"></b>
461 <ul uib-dropdown-menu>
463 <a href="/eg2/staff/booking/create_reservation" target="_self">
464 <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
465 [% l('Create Reservations') %]
469 <a href="/eg2/staff/booking/pull_list" target="_self">
470 <span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
475 <a href="/eg2/staff/booking/capture" target="_self">
476 <span class="glyphicon glyphicon-pushpin" aria-hidden="true"></span>
477 [% l('Capture Resources') %]
481 <a href="/eg2/staff/booking/pickup" target="_self">
482 <span class="glyphicon glyphicon-export" aria-hidden="true"></span>
483 [% l('Pick Up Reservations') %]
487 <a href="/eg2/staff/booking/return" target="_self">
488 <span class="glyphicon glyphicon-import" aria-hidden="true"></span>
489 [% l('Return Reservations') %]
493 <a href="/eg2/staff/booking/manage_reservations" target="_self">
494 <span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
495 [% l('Manage Reservations') %]
502 <li class="dropdown" uib-dropdown>
503 <a href uib-dropdown-toggle>[% l('Administration') %]<b class="caret"
504 aria-hidden="true"></b>
506 <ul uib-dropdown-menu>
508 <a href="./admin/workstation/index" target="_self">
509 <span class="glyphicon glyphicon-hdd" aria-hidden="true"></span>
510 [% l('Workstation') %]
514 <a href="./admin/user_perms" target="_self">
515 <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
516 [% l('User Permission Editor') %]
520 <a href="/eg2/staff/admin/server/splash">
521 <span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
522 [% l('Server Administration') %]
526 <a href="/eg2/staff/admin/local/splash">
527 <span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
528 [% l('Local Administration') %]
532 <a href="/eg2/staff/admin/acq/splash">
533 <span class="glyphicon glyphicon-usd" aria-hidden="true"></span>
534 [% l('Acquisitions Administration') %]
538 <a href="./admin/serials/index" target="_self">
539 <span class="glyphicon glyphicon-paperclip" aria-hidden="true"></span>
540 [% l('Serials Administration') %]
544 <a href="/eg2/staff/admin/booking/splash" target="_self">
545 <span class="glyphicon glyphicon-calendar" aria-hidden="true"></span>
546 [% l('Booking Administration') %]
550 <a href="./reporter/legacy/main" target="_self">
551 <span class="glyphicon glyphicon-object-align-bottom"
552 aria-hidden="true"></span>
556 </ul> <!-- admin dropdown -->
558 </ul> <!-- end left side entries -->
560 <!-- entries along the right side of the navbar -->
561 <ul class="nav navbar-nav navbar-right" style='margin-right: 6px;'>
563 <a ng-cloak ng-show="username" title="{{currentToken()}}"
564 ng-init="workstation = '[% l('<no workstation>') %]'">
565 {{username}} @ {{workstation}}
569 <!-- locale selector.
570 only shown if multiple locales are registered -->
571 [% IF ctx.locales.keys.size > 1 %]
572 <li class="dropdown" uib-dropdown>
573 <a href uib-dropdown-toggle>
574 [% lcl = ctx.locale; ctx.locales.$lcl %]
575 <span class="glyphicon glyphicon-flag" aria-hidden="true"></span>
577 <ul uib-dropdown-menu>
578 [% FOR locale IN ctx.locales.keys.sort %]
579 <!-- disable the selected locale -->
580 <li ng-class="{disabled : '[% ctx.locale %]'=='[% locale %]'}">
581 <a href="" ng-click="applyLocale('[% locale %]')">
582 [% ctx.locales.$locale %]
590 <li class="dropdown" ng-show="username" uib-dropdown title="Logout and more...">
591 <a href class="glyphicon glyphicon-list"
592 uib-dropdown-toggle></a>
593 <ul uib-dropdown-menu>
594 <li ng-if="!op_changed">
595 <a href="" ng-click="changeOperator()">
596 <span class="glyphicon glyphicon-random" aria-hidden="true"></span>
597 [% l('Change Operator') %]
600 <li ng-if="op_changed">
601 <a href="" ng-click="changeOperatorUndo()">
602 <span class="glyphicon glyphicon-random" aria-hidden="true"></span>
603 [% l('Restore Operator') %]
607 <a href="./login" ng-click="logout()" target="_self">
608 <span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>
613 <a href="./about" target="_self">
614 <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
618 <li class="divider"></li>
619 <li class="disabled">
620 <a href disabled="disabled">
622 title="[% l('Hatch Connection Status') %]"
623 class="glyphicon glyphicon-transfer"
624 ng-class="{'connect-status-ok' : hatchConnected()}"