]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/navbar.tt2
webstaff: Acquisitions Administration
[working/Evergreen.git] / Open-ILS / src / templates / staff / navbar.tt2
1 <!-- 
2   main navigation bar
3     
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.
8
9   For icons, see http://getbootstrap.com/components/#glyphicons
10 -->
11
12 <div id="top-navbar" role="navigation"
13   class="navbar navbar-default navbar-fixed-top" role="navigation">
14
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>
23     </button>
24   </div>
25
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>
30
31       <!-- search -->
32       <li class="dropdown" uib-dropdown>
33         <a href uib-dropdown-toggle>[% l('Search') %]
34           <b class="caret"></b>
35         </a>
36         <ul uib-dropdown-menu>
37           <li>
38             <a href="./circ/patron/search" target="_self"
39               eg-accesskey="[% l('alt+s') %]" 
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>
43             </a>
44           </li>
45           <li>
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 Copies by Barcode') %]</span>
51             </a>
52           </li>
53           <li>
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>
59             </a>
60           </li>
61         </ul>
62       </li>
63
64
65       <!-- circulation -->
66       <li class="dropdown" uib-dropdown>
67         <a href uib-dropdown-toggle>[% l('Circulation') %]<b class="caret"></b>
68         </a>
69
70         <ul uib-dropdown-menu>
71           <li>
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>
76               [% l('Check Out') %]
77             </a>
78           </li>
79           <li>
80             <a href="./circ/checkin/checkin" target="_self"
81               eg-accesskey="[% l('f2') %]" 
82               eg-accesskey-desc="[% l('Check In') %]">
83               <span class="glyphicon glyphicon-import"></span>
84               [% l('Check In') %]
85             </a>
86           </li>
87           <li>
88             <a href="./circ/checkin/capture" target="_self"
89               eg-accesskey="[% l('shift+f2') %]" 
90               eg-accesskey-desc="[% l('Capture Holds') %]">
91               <span class="glyphicon glyphicon-pushpin"></span>
92               [% l('Capture Holds') %]
93             </a>
94           </li>
95           <li>
96             <a href="./circ/holds/pull" target="_self">
97               <span class="glyphicon glyphicon-th-list"></span>
98               [% l('Pull List for Hold Requests') %]
99             </a>
100           </li>
101           <li>
102             <a href="./circ/renew/renew" target="_self">
103               <span class="glyphicon glyphicon-refresh"></span>
104               [% l('Renew Items') %]
105             </a>
106           </li>
107           <li>
108             <a href="./circ/patron/register" target="_self"
109               eg-accesskey="[% l('shift+f1') %]" 
110               eg-accesskey-desc="[% l('Register Patron') %]">
111               <span class="glyphicon glyphicon-user"></span>
112               [% l('Register Patron') %]
113             </a>
114           </li>
115           <li>
116             <a href="./circ/patron/last" target="_self"
117               eg-accesskey="[% l('f8') %]" 
118               eg-accesskey-desc="[% l('Retrieve Last Patron') %]">
119               <span class="glyphicon glyphicon-share-alt"></span>
120               [% l('Retrieve Last Patron') %]
121             </a>
122           </li>
123           <li>
124             <a href="./circ/patron/pending/list" target="_self">
125               <span class="glyphicon glyphicon-thumbs-up"></span>
126               [% l('Pending Patrons') %]
127             </a>
128           </li>
129           <li class="divider"></li>
130           <li>
131             <a href="./circ/patron/credentials" target="_self">
132               <span class="glyphicon glyphicon-ok"></span>
133               <span>[% l('Verify Credentials') %]</span>
134             </a>
135           </li>
136           <li>
137             <a href="./circ/in_house_use/index" target="_self"
138               eg-accesskey="[% l('f6') %]" 
139               eg-accesskey-desc="[% l('Record In-House Use') %]">
140               <span class="glyphicon glyphicon-pencil"></span>
141               <span>[% l('Record In-House Use') %]</span>
142             </a>
143           </li>
144           <li>
145             <a href="./circ/holds/shelf" target="_self">
146               <span class="glyphicon glyphicon-tasks"></span>
147               <span>[% l('Holds Shelf') %]</span>
148             </a>
149           </li>
150           <li class="divider"></li>
151           <li>
152             <a href="./cat/item/replace_barcode/index" target="_self">
153               <span class="glyphicon glyphicon-barcode"></span>
154               <span>[% l('Replace Barcode') %]</span>
155             </a>
156           </li>
157           <li>
158             <a href="./cat/item/search" target="_self">
159               <span class="glyphicon glyphicon-saved"></span>
160               <span>[% l('Item Status') %]</span>
161             </a>
162           </li>
163           <li>
164             <a href="./cat/item/missing_pieces" target="_self">
165               <span class="glyphicon glyphicon-th"></span>
166               <span>[% l('Scan Item as Missing Pieces') %]</span>
167             </a>
168           </li>
169         </ul>
170       </li><!-- circ -->
171
172       <!-- cataloging -->
173       <li class="dropdown" uib-dropdown>
174         <a href uib-dropdown-toggle>[% l('Cataloging') %]<b class="caret"></b>
175         </a>
176         <ul uib-dropdown-menu>
177           <li>
178             <a href="./cat/catalog/index" target="_self">
179               <span class="glyphicon glyphicon-search"></span>
180               [% l('Search the Catalog') %]
181             </a>
182           </li>
183           <li>
184             <a href="./cat/bucket/record/view" target="_self">
185               <span class="glyphicon glyphicon-list-alt"></span>
186               [% l('Record Buckets') %]
187             </a>
188           </li>
189           <li>
190             <a href="./cat/bucket/copy/view" target="_self">
191               <span class="glyphicon glyphicon-list-alt"></span>
192               [% l('Copy Buckets') %]
193             </a>
194           </li>
195           <li class="divider"></li>
196           <li>
197             <a href="./cat/catalog/retrieve_by_id" target="_self">
198               <span class="glyphicon glyphicon-file"></span>
199               [% l('Retrieve Bib Record by ID') %]
200             </a>
201           </li>
202           <li>
203             <a href="./cat/catalog/retrieve_by_tcn" target="_self"
204               eg-accesskey="[% l('shift+f3') %]" 
205               eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
206               <span class="glyphicon glyphicon-tag"></span>
207               [% l('Retrieve Bib Record by TCN') %]
208             </a>
209           </li>
210           <li>
211             <a href="" ng-click="retrieveLastRecord()" target="_self"
212               eg-accesskey="[% l('shift+f8') %]" 
213               eg-accesskey-desc="[% l('Retrieve Last Bib Record') %]">
214               <span class="glyphicon glyphicon-share-alt"></span>
215               [% l('Retrieve Last Bib Record') %]
216             </a>
217           </li>
218           <li class="divider"></li>
219           <li>
220             <a href="./cat/catalog/new_bib" target="_self">
221               <span class="glyphicon glyphicon-plus"></span>
222               [% l('Create New MARC Record') %]
223             </a>
224           </li>
225           <li>
226             <a href="./cat/z3950/index" target="_self">
227               <span class="glyphicon glyphicon-cloud-download"></span>
228               [% l('Import Record from Z39.50') %]
229             </a>
230           </li>
231           <li>
232             <a href="./cat/catalog/vandelay" target="_self">
233               <span class="glyphicon glyphicon-transfer"></span>
234               [% l('MARC Batch Import/Export') %]
235             </a>
236           </li>
237           <li>
238             <a href="./cat/catalog/batchEdit" target="_self">
239               <span class="glyphicon glyphicon-edit"></span>
240               [% l('MARC Batch Edit') %]
241             </a>
242           </li>
243           <li class="divider"></li>
244           <li>
245             <a href="./cat/catalog/verifyURLs" target="_self">
246               <span class="glyphicon glyphicon-link"></span>
247               [% l('Link Checker') %]
248             </a>
249           </li>
250           <li class="divider"></li>
251           <li>
252             <a href="./cat/catalog/manageAuthorities" target="_self">
253               <span class="glyphicon glyphicon-lock"></span>
254               [% l('Manage Authorities') %]
255             </a>
256           </li>
257        </ul>
258       </li>
259
260       <!-- acquisitions -->
261       <li class="dropdown" uib-dropdown>
262         <a href uib-dropdown-toggle>[% l('Acquisitions') %]<b class="caret"></b>
263         </a>
264         <ul uib-dropdown-menu>
265           <li>
266             <a href="./acq/legacy/search/unified" target="_self">
267               <span class="glyphicon glyphicon-search"></span>
268               [% l('General Search') %]
269             </a>
270           </li>
271           <li class="divider"></li>
272           <li>
273             <a href="./acq/legacy/search/unified?ca=pl" target="_self">
274               <span class="glyphicon glyphicon-list"></span>
275               [% l('My Selection Lists') %]
276             </a>
277           </li>
278           <li>
279             <a href="./acq/legacy/picklist/brief_record" target="_self">
280               <span class="glyphicon glyphicon-pencil"></span>
281               [% l('New Brief Record') %]
282             </a>
283           </li>
284           <li>
285             <a href="./acq/legacy/picklist/user_request" target="_self">
286               <span class="glyphicon glyphicon-thumbs-up"></span>
287               [% l('Patron Requests') %]
288             </a>
289           </li>
290           <li>
291             <a href="./acq/legacy/picklist/bib_search" target="_self">
292               <span class="glyphicon glyphicon-cloud-download"></span>
293               [% l('MARC Federated Search') %]
294             </a>
295           </li>
296           <li>
297             <a href="./acq/legacy/picklist/from_bib" target="_self">
298               <span class="glyphicon glyphicon-import"></span>
299               [% l('Load Catalog Record IDs') %]
300             </a>
301           </li>
302           <li class="divider"></li>
303           <li>
304             <a href="./acq/legacy/picklist/upload" target="_self">
305               <span class="glyphicon glyphicon-cloud-upload"></span>
306               [% l('Load MARC Order Records') %]
307             </a>
308           </li>
309           <li>
310             <a href="./acq/legacy/search/unified?ca=po" target="_self">
311               <span class="glyphicon glyphicon-shopping-cart"></span>
312               [% l('Purchase Orders') %]
313             </a>
314           </li>
315           <li>
316             <a href="./acq/legacy/po/create" target="_self">
317               <span class="glyphicon glyphicon-plus"></span>
318               [% l('Create Purchase Order') %]
319             </a>
320           </li>
321           <li class="divider"></li>
322           <li>
323             <a href="./acq/legacy/financial/claim_eligible" target="_self">
324               <span class="glyphicon glyphicon-question-sign"></span>
325               [% l('Claim-Ready Items') %]
326             </a>
327           </li>
328           <li>
329             <a href="./acq/legacy/search/unified?ca=inv" target="_self">
330               <span class="glyphicon glyphicon-usd"></span>
331               [% l('Open Invoices') %]
332             </a>
333           </li>
334           <li>
335             <a href="./acq/legacy/invoice/view?create=1" target="_self">
336               <span class="glyphicon glyphicon-credit-card"></span>
337               [% l('Create Invoice') %]
338             </a>
339           </li>
340        </ul>
341       </li>
342
343       <!-- admin -->
344       <li class="dropdown" uib-dropdown>
345         <a href uib-dropdown-toggle>[% l('Administration') %]<b class="caret"></b></a>
346         <ul uib-dropdown-menu>
347           <li>
348             <a href="./admin/workstation/index" target="_self">
349               <span class="glyphicon glyphicon-hdd"></span>
350               [% l('Workstation') %]
351             </a>
352           </li>
353           <li>
354             <a href="./admin/user_perms" target="_self">
355               <span class="glyphicon glyphicon-user"></span>
356               [% l('User Permission Editor') %]
357             </a>
358           </li>
359           <li>
360             <a href="./admin/server/index" target="_self">
361               <span class="glyphicon glyphicon-briefcase"></span>
362               [% l('Server Administration') %]
363             </a>
364           </li>
365           <li>
366             <a href="./admin/local/index" target="_self">
367               <span class="glyphicon glyphicon-picture"></span>
368               [% l('Local Administration') %]
369             </a>
370           </li>
371           <li>
372             <a href="./admin/acq/index" target="_self">
373               <span class="glyphicon glyphicon-usd"></span>
374               [% l('Acquisitions Administration') %]
375             </a>
376           </li>
377           <li>
378             <a href="./reporter/legacy/main" target="_self">
379               <span class="glyphicon glyphicon-object-align-bottom"></span>
380               [% l('Reports') %]
381             </a>
382           </li>
383         </ul> <!-- admin dropdown -->
384       </li>
385     </ul> <!-- end left side entries -->
386
387     <!-- entries along the right side of the navbar -->
388     <ul class="nav navbar-nav navbar-right" style='margin-right: 6px;'>
389       <li>
390         <a ng-cloak ng-show="username" title="{{currentToken()}}"
391           ng-init="workstation = '[% l('<no workstation>') %]'">
392             [% l('{{username}} @ {{workstation}}') %]
393         </a>
394       </li>
395
396       <!-- locale selector.  
397         only shown if multiple locales are registered -->
398       [% IF ctx.locales.keys.size > 1 %]
399       <li class="dropdown" uib-dropdown>
400         <a href uib-dropdown-toggle>
401           [% lcl = ctx.locale;  ctx.locales.$lcl %]
402           <span class="glyphicon glyphicon-flag"></span>
403         </a>
404         <ul uib-dropdown-menu>
405         [% FOR locale IN ctx.locales.keys.sort %]
406           <!-- disable the selected locale -->
407           <li ng-class="{disabled : '[% ctx.locale %]'=='[% locale %]'}">
408             <a href="" ng-click="applyLocale('[% locale %]')">
409                 [% ctx.locales.$locale %]
410             </a>
411           </li>
412         [% END %]
413         </ul>
414       </li>
415       [% END %]
416
417       <li class="dropdown" ng-show="username" uib-dropdown>
418         <a href class="glyphicon glyphicon-list" 
419           uib-dropdown-toggle></a>
420         <ul uib-dropdown-menu>
421           <li ng-if="!op_changed">
422             <a href="" ng-click="changeOperator()">
423               <span class="glyphicon glyphicon-random"></span>
424               [% l('Change Operator') %]
425             </a>
426           </li>
427           <li ng-if="op_changed">
428             <a href="" ng-click="changeOperatorUndo()">
429               <span class="glyphicon glyphicon-random"></span>
430               [% l('Restore Operator') %]
431             </a>
432           </li>
433           <li>
434             <a href="./login" ng-click="logout()" target="_self">
435               <span class="glyphicon glyphicon-log-out"></span>
436               [% l('Log Out') %]
437             </a>
438           </li>
439         </ul>
440       </li>
441     </ul>
442   </div>
443 </div>
444
445