7dd70a81ec55fa7e2300b5c1a202de14cf82ff37
[working/Evergreen.git] / Open-ILS / web / templates / default / menu.tt2
1 <div>
2     <script>
3         dojo.require('dijit.form.Button');
4         dojo.require('dijit.Toolbar');
5         dojo.require('dijit.Menu');
6     </script>
7
8     <div dojoType="dijit.Toolbar" class='menuBar'>
9
10         <div dojoType="dijit.form.DropDownButton">
11             <span>Acquisitions</span>
12             <div dojoType="dijit.Menu">
13
14                 <!-- ==========================================================================
15                      Picklist SubMenu
16                     ========================================================================== -->
17                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
18                     <span>Selection Lists</span>
19                      <div dojoType="dijit.Menu">
20                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
21                             onClick="location.href = '[% ctx.base_uri %]/acq/picklist/list';">
22                             My Selection Lists
23                         </div>
24                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
25                             onClick="location.href = '[% ctx.base_uri %]/acq/picklist/bib_search';">
26                             Title Search
27                         </div>
28                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
29                             onClick="location.href = '[% ctx.base_uri %]/acq/picklist/upload';">
30                             Load Records
31                         </div>
32                     </div>
33                 </div>
34
35                 <!-- ==========================================================================
36                      Purchase Order SubMenu
37                     ========================================================================== -->
38                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
39                     <span>Purchase Orders</span>
40                      <div dojoType="dijit.Menu">
41                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
42                             onClick="location.href = '[% ctx.base_uri %]/acq/po/search';">
43                             PO Search
44                         </div>
45                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
46                             onClick="location.href = '[% ctx.base_uri %]/acq/po/li_search';">
47                             Lineitem Search
48                         </div>
49                         <!-- XXX 
50                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
51                             onClick="location.href = '[% ctx.base_uri %]/acq/po/marc_upload';">
52                             Load Vendor Order Records
53                         </div>
54                         -->
55                     </div>
56                 </div>
57                 <!-- ==========================================================================
58                      Receiving SubMenu
59                     ========================================================================== -->
60                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
61                     <span>Receiving</span>
62                     <div dojoType="dijit.Menu">
63                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
64                             onClick="location.href = '[% ctx.base_uri %]/acq/receiving/process';">
65                                 Receiving
66                         </div>
67                     </div>
68                 </div>
69             </div>
70         </div>
71
72         <div dojoType="dijit.form.DropDownButton">
73             <span>Admin</span>
74             <div dojoType="dijit.Menu">
75                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
76                     <span>Acquisitions</span>
77                      <div dojoType="dijit.Menu">
78                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
79                             onClick="location.href = '[% ctx.base_uri %]/acq/fund/list';">Funds</div>
80                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
81                                 onClick="location.href = '[% ctx.base_uri %]/acq/funding_source/list';">Funding Sources</div>
82                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
83                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/acq/provider';">Providers</div>
84                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
85                                 onClick="location.href = '[% ctx.base_uri %]/acq/currency_type/list';">Currency Types</div>
86                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
87                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/acq/exchange_rate';">Exchange Rates</div>
88                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
89                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/acq/distribution_formula';">Distribution Formulas</div>
90                     </div>
91                 </div>
92                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
93                     <span>Config</span>
94                      <div dojoType="dijit.Menu">
95                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
96                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/billing_type';">Billing Types</div>
97                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
98                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/standing_penalty';">Standing Penalties</div>
99                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
100                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/permission/grp_penalty_threshold';">
101                                     Group Penalty Thresholds</div>
102                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
103                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/idl_field_doc';">Field Documentation</div>
104                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
105                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/z3950_source';">Z39.50 Sources</div>
106                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
107                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/circ_modifier';">Circulation Modifiers</div>
108                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
109                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/action_trigger/event_definition';">Action Trigger</div>
110                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
111                              onClick="location.href = '[% ctx.base_uri %]/conify/global/action/survey';">Surveys</div>
112                     </div>
113                 </div>
114             </div>
115         </div>
116     </div>
117 </div>
118