LP#1788260: stamp schema update
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / nav.component.html
1 <div id="staff-navbar" class="navbar fixed-top navbar-expand navbar-default">
2   <div class="collapse navbar-collapse">
3     <div class="navbar-nav">
4       <div class="nav-item">
5         <a i18n class="nav-link with-material-icon" 
6           href="/eg/staff/"
7           egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
8           keySpec="alt+h" keyDesc="Navigate Home">
9           <span class="material-icons">home</span>
10         </a>
11       </div>
12     </div>
13
14     <div class="navbar-nav">
15       <div ngbDropdown class="nav-item dropdown">
16         <a ngbDropdownToggle i18n class="nav-link dropdown-toggle">
17          Search
18         </a>
19         <div class="dropdown-menu" ngbDropdownMenu>
20           <a class="dropdown-item" href="/eg/staff/circ/patron/search"
21             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
22             keySpec="alt+s f4" keyDesc="Patron Search">
23             <span class="material-icons" aria-hidden="true">person</span>
24             <span i18n>Search for Patrons</span>
25           </a>
26           <a class="dropdown-item" href="/eg/staff/cat/item/search">
27             <span class="material-icons" aria-hidden="true">assignment</span>
28             <span i18n>Search for Items by Barcode</span>
29           </a>
30           <a class="dropdown-item" routerLink="/staff/catalog"
31             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
32             keySpec="f3" keyDesc="Catalog">
33             <span class="material-icons" aria-hidden="true">search</span>
34             <span i18n>Search the Catalog</span>
35           </a>
36         </div>
37       </div>
38     </div>
39
40     <div class="navbar-nav">
41       <div ngbDropdown class="nav-item dropdown">
42         <a ngbDropdownToggle class="nav-link dropdown-toggle">
43          <span i18n>Circulation</span>
44         </a>
45         <div class="dropdown-menu" ngbDropdownMenu>
46           <a class="dropdown-item" href="/eg/staff/circ/patron/bcsearch"
47             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
48             keySpec="f1" keyDesc="Checkout">
49             <span class="material-icons" aria-hidden="true">trending_up</span>
50             <span i18n>Check Out</span>
51           </a>
52           <a class="dropdown-item" href="/eg/staff/circ/checkin/checkin"
53             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
54             keySpec="f2" keyDesc="Checkin">
55             <span class="material-icons" aria-hidden="true">trending_down</span>
56             <span i18n>Check In</span>
57           </a>
58           <a class="dropdown-item" href="/eg/staff/circ/checkin/capture"
59             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
60             keySpec="shift+f2" keyDesc="Capture Holds">
61             <span class="material-icons" aria-hidden="true">pin_drop</span>
62             <span i18n>Capture Holds</span>
63           </a>
64           <a class="dropdown-item" href="/eg/staff/circ/holds/pull">
65             <span class="material-icons" aria-hidden="true">view_list</span>
66             <span i18n>Pull List for Hold Requests</span>
67           </a>
68           <a class="dropdown-item" href="/eg/staff/circ/renew/renew"
69             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
70             keySpec="ctrl+f2" keyDesc="Renew Items">
71             <span class="material-icons" aria-hidden="true">autorenew</span>
72             <span i18n>Renew Items</span>
73           </a>
74           <a class="dropdown-item" href="/eg/staff/circ/patron/register"
75             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
76             keySpec="shift+f1" keyDesc="Register Patron">
77             <span class="material-icons" aria-hidden="true">person_add</span>
78             <span i18n>Register Patron</span>
79           </a>
80           <a class="dropdown-item" href="/eg/staff/circ/patron/last"
81             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
82             keySpec="f8" keyDesc="Retrieve Last Patron">
83             <span class="material-icons" aria-hidden="true">redo</span>
84             <span i18n>Retrieve Last Patron</span>
85           </a>
86           <a class="dropdown-item" href="/eg/staff/circ/patron/search?show_recent=1">
87             <span class="material-icons" aria-hidden="true">redo</span>
88             <span i18n>Retrieve Recent Patrons</span>
89           </a>
90           <a class="dropdown-item" href="/eg/staff/circ/patron/pending/list">
91             <span class="material-icons" aria-hidden="true">thumb_up</span>
92             <span i18n>Pending Patrons</span>
93           </a>
94           <a class="dropdown-item" href="/eg/staff/circ/patron/bucket/view">
95             <span class="material-icons" aria-hidden="true">list</span>
96             <span i18n>User Buckets</span>
97           </a>
98           <div class="dropdown-divider"></div>
99           <a class="dropdown-item" href="/eg/staff/circ/patron/credentials">
100             <span class="material-icons" aria-hidden="true">check_circle</span>
101             <span i18n>Verify Credentials</span>
102           </a>
103           <a class="dropdown-item" href="/eg/staff/circ/in_house_use/index"
104             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
105             keySpec="f6" keyDesc="Record In-House Use">
106             <span class="material-icons" aria-hidden="true">playlist_add</span>
107             <span i18n>Record In-House Use</span>
108           </a>
109           <a class="dropdown-item" href="/eg/staff/circ/holds/shelf">
110             <span class="material-icons" aria-hidden="true">format_list_bulleted</span>
111             <span i18n>Holds Shelf</span>
112           </a>
113           <div class="dropdown-divider"></div>
114           <a class="dropdown-item" href="/eg/staff/cat/item/replace_barcode/index">
115             <span class="material-icons" aria-hidden="true">library_books</span>
116             <span i18n>Replace Barcode</span>
117           </a>
118           <a class="dropdown-item" href="/eg/staff/cat/item/search"
119             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
120             keySpec="f5" keyDesc="Navigate To Item Status">
121             <span class="material-icons" aria-hidden="true">question_answer</span>
122             <span i18n>Item Status</span>
123           </a>
124           <a class="dropdown-item" href="/eg/staff/cat/item/missing_pieces">
125             <span class="material-icons" aria-hidden="true">grid_on</span>
126             <span i18n>Scan Item as Missing Pieces</span>
127           </a>
128           <div class="dropdown-divider"></div>
129           <a class="dropdown-item" (click)="reprintLast()"
130             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
131             keySpec="f9" keyDesc="Reprint Last Receipt">
132             <span class="material-icons" aria-hidden="true">redo</span>
133             <span i18n>Reprint Last Receipt</span>
134           </a>
135           <div class="dropdown-divider"></div>
136           <a class="dropdown-item" href="/eg/staff/offline-interface">
137             <span class="material-icons" aria-hidden="true">signal_wifi_off</span>
138             <span i18n>Offline Circulation</span>
139           </a>
140           <div *ngIf="curbsideEnabled" class="dropdown-divider"></div>
141           <a *ngIf="curbsideEnabled" class="dropdown-item" href="/eg/staff/circ/curbside/index">
142             <span class="material-icons">directions_bus</span>
143             <span i18n>Curbside Pickup</span>
144           </a>
145         </div>
146       </div>
147     </div>
148
149     <!-- CATALOGING -->
150     
151     <div class="navbar-nav">
152       <div ngbDropdown class="nav-item dropdown">
153         <a ngbDropdownToggle i18n class="nav-link dropdown-toggle">
154          Cataloging
155         </a>
156         <div class="dropdown-menu" ngbDropdownMenu>
157
158           <a class="dropdown-item" routerLink="/staff/catalog/search"
159             egAccessKey keyCtx="navbar"i18n-keySpec i18n-keyDesc
160             keySpec="f3" keyDesc="Catalog">
161             <span class="material-icons" aria-hidden="true">search</span>
162             <span i18n>Search the Catalog</span>
163           </a>
164           <a href="/eg/staff/cat/catalog/index" class="dropdown-item">
165             <span class="material-icons" aria-hidden="true">search</span>
166             <span i18n>Search the Catalog (Traditional)</span>
167           </a>
168           <a class="dropdown-item" href="/eg/staff/cat/item/search"
169             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
170             keySpec="f5" keyDesc="Navigate To Item Status">
171             <span class="material-icons" aria-hidden="true">question_answer</span>
172             <span i18n>Item Status</span>
173           </a>
174           <div class="dropdown-divider"></div>
175           <a href="/eg/staff/cat/bucket/record/view" class="dropdown-item">
176             <span class="material-icons" aria-hidden="true">list</span>
177             <span i18n>Record Buckets</span>
178           </a>
179           <a href="/eg/staff/cat/bucket/copy/view" class="dropdown-item">
180             <span class="material-icons" aria-hidden="true">list</span>
181             <span i18n>Item Buckets</span>
182           </a>
183           <div class="dropdown-divider"></div>
184           <a href="/eg/staff/cat/catalog/retrieve_by_id" class="dropdown-item">
185             <span class="material-icons" aria-hidden="true">collections</span>
186             <span i18n>Retrieve Bib Record by ID</span>
187           </a>
188           <a href="/eg/staff/cat/catalog/retrieve_by_tcn"
189             class="dropdown-item"
190             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
191             keySpec="shift+f3" keyDesc="Retrieve Bib Record by TCN">
192             <span class="material-icons" aria-hidden="true">collections_bookmark</span>
193             <span i18n>Retrieve Bib Record by TCN</span>
194           </a>
195           <a (click)="retrieveLastRecord()"
196             egAccessKey keyCtx="navbar" i18n-keySpec i18n-keyDesc
197             keySpec="shift+f8" keyDesc="Retrieve Last Bib Record">
198             <span class="material-icons" aria-hidden="true">redo</span>
199             <span i18n>Retrieve Last Bib Record</span>
200           </a>
201           <div class="dropdown-divider"></div>
202           <a href="/eg/staff/cat/catalog/new_bib" class="dropdown-item">
203             <span class="material-icons" aria-hidden="true">add</span>
204             <span i18n>Create New MARC Record</span>
205           </a>
206           <a href="/eg/staff/cat/z3950/index" class="dropdown-item">
207             <span class="material-icons" aria-hidden="true">cloud_download</span>
208             <span i18n>Import Record from Z39.50</span>
209           </a>
210           <a routerLink="/staff/cat/vandelay/import" class="dropdown-item">
211             <span class="material-icons" aria-hidden="true">import_export</span>
212             <span i18n>MARC Batch Import/Export</span>
213           </a>
214           <a routerLink="/staff/cat/marcbatch" class="dropdown-item">
215             <span class="material-icons" aria-hidden="true">format_paint</span>
216             <span i18n>MARC Batch Edit</span>
217           </a>
218           <div class="dropdown-divider"></div>
219           <a href="/eg/staff/cat/catalog/verifyURLs" class="dropdown-item">
220             <span class="material-icons" aria-hidden="true">link</span>
221             <span i18n>Link Checker</span>
222           </a>
223           <div class="dropdown-divider"></div>
224           <a routerLink="/staff/cat/authority/browse" class="dropdown-item">
225             <span class="material-icons" aria-hidden="true">lock</span>
226             <span i18n>Manage Authorities</span>
227           </a>
228           <a routerLink="/staff/cat/authority/edit" class="dropdown-item">
229             <span class="material-icons" aria-hidden="true">collections</span>
230             <span i18n>Retrieve Authority Record by ID</span>
231           </a>
232         </div>
233       </div>
234     </div>
235
236     <!-- ACQUISITIONS -->
237
238     <div class="navbar-nav">
239       <div ngbDropdown class="nav-item dropdown">
240         <a ngbDropdownToggle i18n class="nav-link dropdown-toggle">
241           Acquisitions
242         </a>
243         <div class="dropdown-menu" ngbDropdownMenu>
244           <a class="dropdown-item" 
245             routerLink="/staff/acq/search">
246             <span class="material-icons" aria-hidden="true">search</span>
247             <span i18n>General Search</span>
248           </a>
249           <div class="dropdown-divider"></div>
250           <a class="dropdown-item" 
251             routerLink="/staff/acq/provider">
252             <span class="material-icons" aria-hidden="true">search</span>
253             <span i18n>Provider Search</span>
254           </a>
255           <div class="dropdown-divider"></div>
256           <a class="dropdown-item"
257             routerLink="/staff/acq/search/selectionlists">
258             <span class="material-icons" aria-hidden="true">view_list</span>
259             <span i18n>Selection Lists</span>
260           </a>
261           <a class="dropdown-item" 
262             href="/eg/staff/acq/legacy/picklist/brief_record">
263             <span class="material-icons" aria-hidden="true">edit</span>
264             <span i18n>New Brief Record</span>
265           </a>
266           <a class="dropdown-item" 
267             href="/eg/staff/acq/legacy/picklist/user_request">
268             <span class="material-icons" aria-hidden="true">thumb_up</span>
269             <span i18n>Patron Requests</span>
270           </a>
271           <a class="dropdown-item" 
272             href="/eg/staff/acq/legacy/picklist/bib_search">
273             <span class="material-icons" aria-hidden="true">cloud_download</span>
274             <span i18n>MARC Federated Search</span>
275           </a>
276           <a class="dropdown-item" 
277             href="/eg/staff/acq/legacy/picklist/from_bib">
278             <span class="material-icons" aria-hidden="true">trending_down</span>
279             <span i18n>Load Catalog Record IDs</span>
280           </a>
281           <div class="dropdown-divider"></div>
282           <a class="dropdown-item" 
283             href="/eg/staff/acq/legacy/picklist/upload">
284             <span class="material-icons" aria-hidden="true">cloud_upload</span>
285             <span i18n>Load MARC Order Records</span>
286           </a>
287           <a class="dropdown-item"
288             routerLink="/staff/acq/search/purchaseorders">
289             <span class="material-icons" aria-hidden="true">shopping_cart</span>
290             <span i18n>Purchase Orders</span>
291           </a>
292           <a class="dropdown-item" href="/eg/staff/acq/legacy/po/create">
293             <span class="material-icons" aria-hidden="true">add_shopping_cart</span>
294             <span i18n>Create Purchase Order</span>
295           </a>
296           <div class="dropdown-divider"></div>
297           <a class="dropdown-item" 
298             href="/eg/staff/acq/legacy/financial/claim_eligible">
299             <span class="material-icons" aria-hidden="true">contact_phone</span>
300             <span i18n>Claim-Ready Items</span>
301           </a>
302           <a class="dropdown-item"
303             routerLink="/staff/acq/search/invoices">
304             <span class="material-icons" aria-hidden="true">attach_money</span>
305             <span i18n>Invoices</span>
306           </a>
307           <a class="dropdown-item" 
308             href="/eg/staff/acq/legacy/invoice/view?create=1">
309             <span class="material-icons" aria-hidden="true">monetization_on</span>
310             <span i18n>Create Invoice</span>
311           </a>
312         </div>
313       </div>
314     </div>
315
316     <div class="navbar-nav">
317       <div ngbDropdown class="nav-item dropdown">
318         <a ngbDropdownToggle i18n class="nav-link dropdown-toggle">
319           Booking
320         </a>
321         <div class="dropdown-menu" ngbDropdownMenu>
322           <a class="dropdown-item" routerLink="/staff/booking/create_reservation">
323             <span class="material-icons" aria-hidden="true">add</span>
324             <span i18n>Create Reservations</span>
325           </a>
326           <a class="dropdown-item" routerLink="/staff/booking/pull_list">
327             <span class="material-icons" aria-hidden="true">list</span>
328             <span i18n>Pull List</span>
329           </a>
330           <a class="dropdown-item" routerLink="/staff/booking/capture">
331             <span class="material-icons" aria-hidden="true">pin_drop</span>
332             <span i18n>Capture Resources</span>
333           </a>
334           <a class="dropdown-item" routerLink="/staff/booking/pickup">
335             <span class="material-icons" aria-hidden="true">trending_up</span>
336             <span i18n>Pick Up Reservations</span>
337           </a>
338           <a class="dropdown-item" routerLink="/staff/booking/return">
339             <span class="material-icons" aria-hidden="true">trending_down</span>
340             <span i18n>Return Reservations</span>
341           </a>
342           <a class="dropdown-item" routerLink="/staff/booking/manage_reservations">
343             <span class="material-icons" aria-hidden="true">layers</span>
344             <span i18n>Manage Reservations</span>
345           </a>
346         </div>
347       </div>
348     </div>
349
350     <div class="navbar-nav">
351       <div ngbDropdown class="nav-item dropdown">
352         <a ngbDropdownToggle i18n class="nav-link dropdown-toggle">
353           Administration
354         </a>
355         <div class="dropdown-menu" ngbDropdownMenu>
356           <a class="dropdown-item" href="/eg/staff/admin/workstation/index">
357             <span class="material-icons" aria-hidden="true">computer</span>
358             <span i18n>Workstation</span>
359           </a>
360           <!--
361           Leaving here as a reminder this UI exists.
362           <a class="dropdown-item"
363               routerLink="/staff/admin/workstation/workstations/manage">
364             <span class="material-icons" aria-hidden="true">computer</span>
365             <span i18n>Registered Workstations</span>
366           </a>
367           -->
368           <a class="dropdown-item" href="/eg/staff/admin/user_perms">
369             <span class="material-icons" aria-hidden="true">person</span>
370             <span i18n>User Permission Editor</span>
371           </a>
372           <a class="dropdown-item"
373               routerLink="/staff/admin/server/splash">
374             <span class="material-icons" aria-hidden="true">account_balance</span>
375             <span i18n>Server Administration</span>
376           </a>
377           <a class="dropdown-item" routerLink="/staff/admin/local/splash">
378             <span class="material-icons" aria-hidden="true">landscape</span>
379             <span i18n>Local Administration</span>
380           </a>
381           <a class="dropdown-item"
382               routerLink="/staff/admin/acq/splash">
383             <span class="material-icons" aria-hidden="true">attach_money</span>
384             <span i18n>Acquisitions Administration</span>
385           </a>
386           <a class="dropdown-item" href="/eg/staff/admin/serials/index">
387             <span class="material-icons" aria-hidden="true">layers</span>
388             <span i18n>Serials Administration</span>
389           </a>
390           <a class="dropdown-item"
391               routerLink="/staff/admin/booking/splash">
392             <span class="material-icons" aria-hidden="true">business_center</span>
393             <span i18n>Booking Administration</span>
394           </a>
395           <a class="dropdown-item" href="/eg/staff/reporter/legacy/main">
396             <span class="material-icons" aria-hidden="true">insert_chart</span>
397             <span i18n>Reports</span>
398           </a>
399         </div>
400       </div>
401     </div>
402
403
404     <div class="navbar-nav mr-auto"></div>
405     <div class="navbar-nav" *ngIf="user()">
406       <span i18n>{{user()}} @ {{workstation()}}</span>
407     </div>
408     <div class="navbar-nav" *ngIf="locales.length > 1 && currentLocale">
409       <div ngbDropdown class="nav-item dropdown" placement="bottom-right">
410         <a ngbDropdownToggle i18n i18n-title
411           title="Select Locale"
412           class="nav-link dropdown-toggle no-caret with-material-icon">
413           <i class="material-icons" aria-hidden="true">flag</i>
414           <span>{{currentLocale.name()}}</span>
415         </a>
416         <div class="dropdown-menu" ngbDropdownMenu>
417           <a class="dropdown-item" (click)="setLocale(locale)" 
418             [ngClass]="{disabled: currentLocale.code() == locale.code()}"
419             *ngFor="let locale of locales">
420             <span class="material-icons" aria-hidden="true">add_location</span>
421             <span i18n>{{locale.name()}}</span>
422           </a>
423         </div>
424       </div>
425     </div>
426     <div class="navbar-nav" *ngIf="user()">
427       <div ngbDropdown class="nav-item dropdown" placement="bottom-right">
428         <a ngbDropdownToggle i18n 
429           i18n-title
430           title="Log out and more..."
431           class="nav-link dropdown-toggle no-caret with-material-icon">
432           <i class="material-icons">list</i>
433         </a>
434         <div class="dropdown-menu" ngbDropdownMenu>
435           <eg-op-change #navOpChange
436             i18n-failMessage
437             i18n-successMessage
438             failMessage="Operator Change Failed"
439             successMessage="Operator Change Succeeded">
440           </eg-op-change>
441           <a class="dropdown-item" *ngIf="!opChangeActive()" 
442             (click)="navOpChange.open()">
443             <span class="material-icons" aria-hidden="true">transform</span>
444             <span i18n>Change Operator</span>
445           </a>
446           <a *ngIf="opChangeActive()" class="dropdown-item" 
447             (click)="navOpChange.restore()">
448             <span class="material-icons" aria-hidden="true">transform</span>
449             <span i18n>Restore Operator</span>
450           </a>
451           <a class="dropdown-item" (click)="logout()">
452             <span class="material-icons" aria-hidden="true">lock_outline</span>
453             <span i18n>Logout</span>
454           </a>
455           <a class="dropdown-item" routerLink="/staff/about">
456             <span class="material-icons" aria-hidden="true">info_outline</span>
457             <span i18n>About</span>
458           </a>
459         </div>
460       </div>
461     </div>
462   </div>
463 </div>
464