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