pile of dojo layout fixes for 1.3 and to better ascimilate into the TT framework
[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_path %]/acq/picklist/list';">
22                             My Selection Lists
23                         </div>
24                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
25                             onClick="location.href = '[% ctx.base_path %]/acq/picklist/bib_search';">
26                             Title Search
27                         </div>
28                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
29                             onClick="location.href = '[% ctx.base_path %]/acq/picklist/upload';">
30                             Load Records
31                         </div>
32                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
33                             onClick="location.href = '[% ctx.base_path %]/acq/picklist/brief_record';">
34                             New Brief Record
35                         </div>
36                     </div>
37                 </div>
38
39                 <!-- ==========================================================================
40                      Purchase Order SubMenu
41                     ========================================================================== -->
42                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
43                     <span>Purchase Orders</span>
44                      <div dojoType="dijit.Menu">
45                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
46                             onClick="location.href = '[% ctx.base_path %]/acq/po/search';">
47                             PO Search
48                         </div>
49                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
50                             onClick="location.href = '[% ctx.base_path %]/acq/po/li_search';">
51                             Lineitem Search
52                         </div>
53                         <!-- XXX 
54                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
55                             onClick="location.href = '[% ctx.base_path %]/acq/po/marc_upload';">
56                             Load Vendor Order Records
57                         </div>
58                         -->
59                     </div>
60                 </div>
61                 <!-- ==========================================================================
62                      Receiving SubMenu
63                     ========================================================================== -->
64                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
65                     <span>Receiving</span>
66                     <div dojoType="dijit.Menu">
67                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
68                             onClick="location.href = '[% ctx.base_path %]/acq/receiving/process';">
69                                 Receiving
70                         </div>
71                     </div>
72                 </div>
73             </div>
74         </div>
75
76         <div dojoType="dijit.form.DropDownButton">
77             <span>Admin</span>
78             <div dojoType="dijit.Menu">
79                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
80                     <span>Acquisitions</span>
81                      <div dojoType="dijit.Menu">
82                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
83                             onClick="location.href = '[% ctx.base_path %]/acq/fund/list';">Funds</div>
84                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
85                                 onClick="location.href = '[% ctx.base_path %]/acq/funding_source/list';">Funding Sources</div>
86                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
87                                 onClick="location.href = '[% ctx.base_path %]/conify/global/acq/provider';">Providers</div>
88                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
89                                 onClick="location.href = '[% ctx.base_path %]/acq/currency_type/list';">Currency Types</div>
90                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
91                                 onClick="location.href = '[% ctx.base_path %]/conify/global/acq/exchange_rate';">Exchange Rates</div>
92                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
93                                 onClick="location.href = '[% ctx.base_path %]/conify/global/acq/distribution_formula';">Distribution Formulas</div>
94                     </div>
95                 </div>
96                 <div dojoType="dijit.PopupMenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy">
97                     <span>Config</span>
98                      <div dojoType="dijit.Menu">
99                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
100                                 onClick="location.href = '[% ctx.base_path %]/conify/global/config/billing_type';">Billing Types</div>
101                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
102                                 onClick="location.href = '[% ctx.base_path %]/conify/global/config/standing_penalty';">Standing Penalties</div>
103                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
104                                 onClick="location.href = '[% ctx.base_path %]/conify/global/permission/grp_penalty_threshold';">
105                                     Group Penalty Thresholds</div>
106                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
107                                 onClick="location.href = '[% ctx.base_path %]/conify/global/config/idl_field_doc';">Field Documentation</div>
108                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
109                                 onClick="location.href = '[% ctx.base_path %]/conify/global/config/z3950_source';">Z39.50 Sources</div>
110                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
111                                 onClick="location.href = '[% ctx.base_path %]/conify/global/config/circ_modifier';">Circulation Modifiers</div>
112                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy" 
113                                 onClick="location.href = '[% ctx.base_path %]/conify/global/action_trigger/event_definition';">Action Trigger</div>
114                         <div dojoType="dijit.MenuItem" iconClass="dijitEditorIcon dijitEditorIconCopy"
115                              onClick="location.href = '[% ctx.base_path %]/conify/global/action/survey';">Surveys</div>
116                     </div>
117                 </div>
118             </div>
119         </div>
120     </div>
121 </div>
122