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