added menu option for surveys
[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>
29                 </div>
30
31                 <!-- ==========================================================================
32                      Purchase Order SubMenu
33                     ========================================================================== -->
34                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
35                     <span>Purchase Orders</span>
36                      <div dojoType="dijit.Menu">
37                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
38                             onClick="location.href = '[% ctx.base_uri %]/acq/po/search';">
39                             PO Search
40                         </div>
41                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
42                             onClick="location.href = '[% ctx.base_uri %]/acq/po/li_search';">
43                             Lineitem Search
44                         </div>
45                         <!-- XXX 
46                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
47                             onClick="location.href = '[% ctx.base_uri %]/acq/po/marc_upload';">
48                             Load Vendor Order Records
49                         </div>
50                         -->
51                     </div>
52                 </div>
53                 <!-- ==========================================================================
54                      Receiving SubMenu
55                     ========================================================================== -->
56                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
57                     <span>Receiving</span>
58                     <div dojoType="dijit.Menu">
59                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
60                             onClick="location.href = '[% ctx.base_uri %]/acq/receiving/process';">
61                                 Receiving
62                         </div>
63                     </div>
64                 </div>
65             </div>
66         </div>
67
68         <div dojoType="dijit.form.DropDownButton">
69             <span>Admin</span>
70             <div dojoType="dijit.Menu">
71                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
72                     <span>Acquisitions</span>
73                      <div dojoType="dijit.Menu">
74                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
75                             onClick="location.href = '[% ctx.base_uri %]/acq/fund/list';">Funds</div>
76                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
77                                 onClick="location.href = '[% ctx.base_uri %]/acq/funding_source/list';">Funding Sources</div>
78                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
79                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/acq/provider';">Providers</div>
80                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
81                                 onClick="location.href = '[% ctx.base_uri %]/acq/currency_type/list';">Currency Types</div>
82                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
83                                 onClick="location.href = '[% ctx.base_uri %]/acq/exchange_rate';">Exchange Rates</div>
84                     </div>
85                 </div>
86                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
87                     <span>Config</span>
88                      <div dojoType="dijit.Menu">
89                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
90                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/billing_type';">Billing Types</div>
91                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
92                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/standing_penalty';">Standing Penalties</div>
93                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
94                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/permission/grp_penalty_threshold';">
95                                     Group Penalty Thresholds</div>
96                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
97                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/idl_field_doc';">Field Documentation</div>
98                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
99                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/z3950_source';">Z39.50 Sources</div>
100                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
101                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/config/circ_modifier';">Circulation Modifiers</div>
102                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
103                                 onClick="location.href = '[% ctx.base_uri %]/conify/global/action_trigger/event_definition';">Action Trigger</div>
104                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
105                              onClick="location.href = '[% ctx.base_uri %]/conify/global/action/survey';">Surveys</div>
106                     </div>
107                 </div>
108             </div>
109         </div>
110     </div>
111 </div>
112