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"></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>
32 <li class="dropdown" uib-dropdown>
33 <a href uib-dropdown-toggle>[% l('Search') %]
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"></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"></span>
50 <span>[% l('Search for Items by Barcode') %]</span>
54 <a href="./cat/catalog/index" target="_self"
55 eg-accesskey="[% l('f3') %]"
56 eg-accesskey-desc="[% l('OPAC') %]">
57 <span class="glyphicon glyphicon-search"></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"></b>
70 <ul uib-dropdown-menu>
72 <a href="./circ/patron/bcsearch" target="_self"
73 eg-accesskey="[% l('f1') %]"
74 eg-accesskey-desc="[% l('Check Out') %]">
75 <span class="glyphicon glyphicon-export"></span>
79 <li ng-if="!username">
80 <a href="" ng-click="rs.active_tab('checkout')" target="_self"
81 eg-accesskey="[% l('f1') %]"
82 eg-accesskey-desc="[% l('Check Out') %]">
83 <span class="glyphicon glyphicon-export"></span>
88 <a href="./circ/checkin/checkin" target="_self"
89 eg-accesskey="[% l('f2') %]"
90 eg-accesskey-desc="[% l('Check In') %]">
91 <span class="glyphicon glyphicon-import"></span>
95 <li ng-if="!username">
96 <a href="" ng-click="rs.active_tab('checkin')" target="_self"
97 eg-accesskey="[% l('f2') %]"
98 eg-accesskey-desc="[% l('Check In') %]">
99 <span class="glyphicon glyphicon-import"></span>
104 <a href="./circ/checkin/capture" target="_self"
105 eg-accesskey="[% l('shift+f2') %]"
106 eg-accesskey-desc="[% l('Capture Holds') %]">
107 <span class="glyphicon glyphicon-pushpin"></span>
108 [% l('Capture Holds') %]
112 <a href="./circ/holds/pull" target="_self">
113 <span class="glyphicon glyphicon-th-list"></span>
114 [% l('Pull List for Hold Requests') %]
117 <li ng-if="username">
118 <a href="./circ/renew/renew" target="_self"
119 eg-accesskey="[% l('ctrl+f2') %]"
120 eg-accesskey-desc="[% l('Renew items') %]">
121 <span class="glyphicon glyphicon-refresh"></span>
122 [% l('Renew Items') %]
125 <li ng-if="!username">
126 <a href="" ng-click="rs.active_tab('renew')" target="_self"
127 eg-accesskey="[% l('ctrl+f2') %]"
128 eg-accesskey-desc="[% l('Renew items') %]">
129 <span class="glyphicon glyphicon-refresh"></span>
130 [% l('Renew Items') %]
133 <li ng-if="username">
134 <a href="./circ/patron/register" target="_self"
135 eg-accesskey="[% l('shift+f1') %]"
136 eg-accesskey-desc="[% l('Register Patron') %]">
137 <span class="glyphicon glyphicon-user"></span>
138 [% l('Register Patron') %]
141 <li ng-if="!username">
142 <a href="" ng-click="rs.active_tab('register')" target="_self"
143 eg-accesskey="[% l('shift+f1') %]"
144 eg-accesskey-desc="[% l('Register Patron') %]">
145 <span class="glyphicon glyphicon-user"></span>
146 [% l('Register Patron') %]
149 <li ng-if="showRecentPatron">
150 <a href="./circ/patron/last" target="_self"
151 eg-accesskey="[% l('f8') %]"
152 eg-accesskey-desc="[% l('Retrieve Last Patron') %]">
153 <span class="glyphicon glyphicon-share-alt"></span>
154 [% l('Retrieve Last Patron') %]
157 <li ng-if="showRecentPatrons">
158 <a href="./circ/patron/search?show_recent=1" target="_self"
159 eg-accesskey-desc="[% l('Retrieve Recent Patrons') %]">
160 <span class="glyphicon glyphicon-share-alt"></span>
161 [% l('Retrieve Recent Patrons') %]
165 <a href="./circ/patron/pending/list" target="_self">
166 <span class="glyphicon glyphicon-thumbs-up"></span>
167 [% l('Pending Patrons') %]
171 <a href="./circ/patron/bucket/view" target="_self">
172 <span class="glyphicon glyphicon-list-alt"></span>
173 [% l('User Buckets') %]
176 <li class="divider"></li>
178 <a href="./circ/patron/credentials" target="_self">
179 <span class="glyphicon glyphicon-ok"></span>
180 <span>[% l('Verify Credentials') %]</span>
183 <li ng-if="username">
184 <a href="./circ/in_house_use/index" target="_self"
185 eg-accesskey="[% l('f6') %]"
186 eg-accesskey-desc="[% l('Record In-House Use') %]">
187 <span class="glyphicon glyphicon-pencil"></span>
188 <span>[% l('Record In-House Use') %]</span>
191 <li ng-if="!username">
192 <a href="" ng-click="rs.active_tab('in_house_use')" target="_self"
193 eg-accesskey="[% l('f6') %]"
194 eg-accesskey-desc="[% l('Record In-House Use') %]">
195 <span class="glyphicon glyphicon-pencil"></span>
196 <span>[% l('Record In-House Use') %]</span>
200 <a href="./circ/holds/shelf" target="_self">
201 <span class="glyphicon glyphicon-tasks"></span>
202 <span>[% l('Holds Shelf') %]</span>
205 <li class="divider"></li>
207 <a href="./cat/item/replace_barcode/index" target="_self">
208 <span class="glyphicon glyphicon-barcode"></span>
209 <span>[% l('Replace Barcode') %]</span>
213 <a href="./cat/item/search" target="_self">
214 <span class="glyphicon glyphicon-saved"></span>
215 <span>[% l('Item Status') %]</span>
219 <a href="./cat/item/missing_pieces" target="_self">
220 <span class="glyphicon glyphicon-th"></span>
221 <span>[% l('Scan Item as Missing Pieces') %]</span>
224 <li class="divider"></li>
226 <a href="" ng-click="reprintLast($event)"
227 eg-accesskey="[% l('f9') %]"
228 eg-accesskey-desc="[% l('Reprint Last Receipt') %]">
229 <span class="glyphicon glyphicon-print"></span>
230 <span>[% l('Reprint Last Receipt') %]</span>
233 <li class="divider"></li>
234 <li ng-class="{disabled : offlineDisabled()}">
235 <a href="./offline-interface" target="_self" ng-class="{disabled : offlineDisabled()}">
236 <span class="glyphicon glyphicon-alert"></span>
237 <span>[% l('Offline Circulation') %]</span>
244 <li class="dropdown" uib-dropdown>
245 <a href uib-dropdown-toggle>[% l('Cataloging') %]<b class="caret"></b>
247 <ul uib-dropdown-menu>
249 <a href="./cat/catalog/index" target="_self">
250 <span class="glyphicon glyphicon-search"></span>
251 [% l('Search the Catalog') %]
255 Link to experimental Angular staff catalog.
257 <li ng-if="showAngularCatalog">
258 <a href="/eg2/staff/catalog/search">
259 <span class="glyphicon glyphicon-search"></span>
260 <span>[% l('Staff Catalog (Experimental)') %]</span>
264 <a href="./cat/bucket/record/view" target="_self">
265 <span class="glyphicon glyphicon-list-alt"></span>
266 [% l('Record Buckets') %]
270 <a href="./cat/bucket/copy/view" target="_self">
271 <span class="glyphicon glyphicon-list-alt"></span>
272 [% l('Item Buckets') %]
275 <li class="divider"></li>
277 <a href="./cat/catalog/retrieve_by_id" target="_self">
278 <span class="glyphicon glyphicon-file"></span>
279 [% l('Retrieve Bib Record by ID') %]
283 <a href="./cat/catalog/retrieve_by_tcn" target="_self"
284 eg-accesskey="[% l('shift+f3') %]"
285 eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
286 <span class="glyphicon glyphicon-tag"></span>
287 [% l('Retrieve Bib Record by TCN') %]
291 <a href="" ng-click="retrieveLastRecord()" target="_self"
292 eg-accesskey="[% l('shift+f8') %]"
293 eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
294 <span class="glyphicon glyphicon-share-alt"></span>
295 [% l('Retrieve Last Bib Record') %]
298 <li class="divider"></li>
300 <a href="./cat/catalog/new_bib" target="_self">
301 <span class="glyphicon glyphicon-plus"></span>
302 [% l('Create New MARC Record') %]
306 <a href="./cat/z3950/index" target="_self">
307 <span class="glyphicon glyphicon-cloud-download"></span>
308 [% l('Import Record from Z39.50') %]
312 <a href="/eg2/staff/cat/vandelay/import">
313 <span class="glyphicon glyphicon-transfer"></span>
314 [% l('MARC Batch Import/Export') %]
318 <a href="./cat/catalog/batchEdit" target="_self">
319 <span class="glyphicon glyphicon-edit"></span>
320 [% l('MARC Batch Edit') %]
323 <li class="divider"></li>
325 <a href="./cat/catalog/verifyURLs" target="_self">
326 <span class="glyphicon glyphicon-link"></span>
327 [% l('Link Checker') %]
330 <li class="divider"></li>
332 <a href="./cat/catalog/manageAuthorities" target="_self">
333 <span class="glyphicon glyphicon-lock"></span>
334 [% l('Manage Authorities') %]
338 <a href="./cat/catalog/retrieve_by_authority_id" target="_self">
339 <span class="glyphicon glyphicon-file"></span>
340 [% l('Retrieve Authority Record by ID') %]
346 <!-- acquisitions -->
347 <li class="dropdown" uib-dropdown>
348 <a href uib-dropdown-toggle>[% l('Acquisitions') %]<b class="caret"></b>
350 <ul uib-dropdown-menu>
352 <a href="./acq/legacy/search/unified" target="_self">
353 <span class="glyphicon glyphicon-search"></span>
354 [% l('General Search') %]
357 <li class="divider"></li>
359 <a href="./acq/legacy/search/unified?ca=pl" target="_self">
360 <span class="glyphicon glyphicon-list"></span>
361 [% l('My Selection Lists') %]
365 <a href="./acq/legacy/picklist/brief_record" target="_self">
366 <span class="glyphicon glyphicon-pencil"></span>
367 [% l('New Brief Record') %]
371 <a href="./acq/requests/list" target="_self">
372 <span class="glyphicon glyphicon-thumbs-up"></span>
373 [% l('Patron Requests') %]
377 <a href="./acq/legacy/picklist/bib_search" target="_self">
378 <span class="glyphicon glyphicon-cloud-download"></span>
379 [% l('MARC Federated Search') %]
383 <a href="./acq/legacy/picklist/from_bib" target="_self">
384 <span class="glyphicon glyphicon-import"></span>
385 [% l('Load Catalog Record IDs') %]
388 <li class="divider"></li>
390 <a href="./acq/legacy/picklist/upload" target="_self">
391 <span class="glyphicon glyphicon-cloud-upload"></span>
392 [% l('Load MARC Order Records') %]
396 <a href="./acq/legacy/search/unified?ca=po" target="_self">
397 <span class="glyphicon glyphicon-shopping-cart"></span>
398 [% l('Purchase Orders') %]
402 <a href="./acq/legacy/po/create" target="_self">
403 <span class="glyphicon glyphicon-plus"></span>
404 [% l('Create Purchase Order') %]
407 <li class="divider"></li>
409 <a href="./acq/legacy/financial/claim_eligible" target="_self">
410 <span class="glyphicon glyphicon-question-sign"></span>
411 [% l('Claim-Ready Items') %]
415 <a href="./acq/legacy/search/unified?ca=inv" target="_self">
416 <span class="glyphicon glyphicon-usd"></span>
417 [% l('Open Invoices') %]
421 <a href="./acq/legacy/invoice/view?create=1" target="_self">
422 <span class="glyphicon glyphicon-credit-card"></span>
423 [% l('Create Invoice') %]
430 <li class="dropdown" uib-dropdown>
431 <a href uib-dropdown-toggle>[% l('Booking') %]<b class="caret"></b>
433 <ul uib-dropdown-menu>
435 <a href="./booking/legacy/booking/reservation" target="_self">
436 <span class="glyphicon glyphicon-plus"></span>
437 [% l('Create Reservations') %]
441 <a href="./booking/legacy/booking/pull_list" target="_self">
442 <span class="glyphicon glyphicon-th-list"></span>
447 <a href="./booking/legacy/booking/capture" target="_self">
448 <span class="glyphicon glyphicon-pushpin"></span>
449 [% l('Capture Resources') %]
453 <a href="./booking/legacy/booking/pickup" target="_self">
454 <span class="glyphicon glyphicon-export"></span>
455 [% l('Pick Up Reservations') %]
459 <a href="./booking/legacy/booking/return" target="_self">
460 <span class="glyphicon glyphicon-import"></span>
461 [% l('Return Reservations') %]
468 <li class="dropdown" uib-dropdown>
469 <a href uib-dropdown-toggle>[% l('Administration') %]<b class="caret"></b></a>
470 <ul uib-dropdown-menu>
472 <a href="./admin/workstation/index" target="_self">
473 <span class="glyphicon glyphicon-hdd"></span>
474 [% l('Workstation') %]
478 <a href="./admin/user_perms" target="_self">
479 <span class="glyphicon glyphicon-user"></span>
480 [% l('User Permission Editor') %]
484 <a href="/eg2/staff/admin/server/splash">
485 <span class="glyphicon glyphicon-briefcase"></span>
486 [% l('Server Administration') %]
490 <a href="./admin/local/index" target="_self">
491 <span class="glyphicon glyphicon-picture"></span>
492 [% l('Local Administration') %]
496 <a href="/eg2/staff/admin/acq/splash">
497 <span class="glyphicon glyphicon-usd"></span>
498 [% l('Acquisitions Administration') %]
502 <a href="./admin/serials/index" target="_self">
503 <span class="glyphicon glyphicon-paperclip"></span>
504 [% l('Serials Administration') %]
508 <a href="/eg2/staff/admin/booking/splash" target="_self">
509 <span class="glyphicon glyphicon-calendar"></span>
510 [% l('Booking Administration') %]
514 <a href="./reporter/legacy/main" target="_self">
515 <span class="glyphicon glyphicon-object-align-bottom"></span>
519 </ul> <!-- admin dropdown -->
521 </ul> <!-- end left side entries -->
523 <!-- entries along the right side of the navbar -->
524 <ul class="nav navbar-nav navbar-right" style='margin-right: 6px;'>
526 <a ng-cloak ng-show="username" title="{{currentToken()}}"
527 ng-init="workstation = '[% l('<no workstation>') %]'">
528 {{username}} @ {{workstation}}
532 <!-- locale selector.
533 only shown if multiple locales are registered -->
534 [% IF ctx.locales.keys.size > 1 %]
535 <li class="dropdown" uib-dropdown>
536 <a href uib-dropdown-toggle>
537 [% lcl = ctx.locale; ctx.locales.$lcl %]
538 <span class="glyphicon glyphicon-flag"></span>
540 <ul uib-dropdown-menu>
541 [% FOR locale IN ctx.locales.keys.sort %]
542 <!-- disable the selected locale -->
543 <li ng-class="{disabled : '[% ctx.locale %]'=='[% locale %]'}">
544 <a href="" ng-click="applyLocale('[% locale %]')">
545 [% ctx.locales.$locale %]
553 <li class="dropdown" ng-show="username" uib-dropdown>
554 <a href class="glyphicon glyphicon-list"
555 uib-dropdown-toggle></a>
556 <ul uib-dropdown-menu>
557 <li ng-if="!op_changed">
558 <a href="" ng-click="changeOperator()">
559 <span class="glyphicon glyphicon-random"></span>
560 [% l('Change Operator') %]
563 <li ng-if="op_changed">
564 <a href="" ng-click="changeOperatorUndo()">
565 <span class="glyphicon glyphicon-random"></span>
566 [% l('Restore Operator') %]
570 <a href="./login" ng-click="logout()" target="_self">
571 <span class="glyphicon glyphicon-log-out"></span>
576 <a href="./about" target="_self">
577 <span class="glyphicon glyphicon-question-sign"></span>
581 <li class="divider"></li>
582 <li class="disabled">
583 <a href disabled="disabled">
585 title="[% l('Hatch Connection Status') %]"
586 class="glyphicon glyphicon-transfer"
587 ng-class="{'connect-status-ok' : hatchConnected()}">