]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/reports/oils_rpt_builder.xhtml
added bucket id entry field for exporting buckets by id. put some borders in to...
[Evergreen.git] / Open-ILS / web / reports / oils_rpt_builder.xhtml
1 <?xml version='1.0'?>
2
3 <!DOCTYPE html PUBLIC 
4         "-//W3C//DTD XHTML 1.0 Transitional//EN" 
5         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [
6         <!ENTITY nbsp " ">
7 ]>
8
9 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude">
10
11         <head>
12                 <title>Evergreen: Report Builder</title>
13                 <!--#include virtual="oils_rpt_common.xhtml"-->
14         </head>
15
16         <body onload='oilsInitReportBuilder();' onunload='oilsCleanupReports();'>
17
18                 <div class='welcome_box'>
19                         <span>You are logged in as </span><b><span id='oils_rpt_user'/></b>
20                 </div>
21
22                 <div>
23                         <a class='oils_rpt_main_link' href='javascript:_l("oils_rpt.xhtml");'>Reports Home</a>
24                         <span id='oils_rpt_builder_cloning' class='hide_me' style='padding-left: 10px;'>
25                                 (<b>Cloning template "<span id='oils_rpt_build_cloning_name'/>"</b>)
26                         </span>
27                 </div>
28
29                 <div id='oils_rpt_tree_loading'>
30                         Loading...
31                 </div>
32
33                 <table class='hide_me' id='oils_rpt_table'>
34                         <tbody>
35                                 <tr>
36                                         <td id='oils_rpt_table_left_td' align='left'>
37
38                                                 <table id='oils_rpt_name_table'><tbody>
39                                                         <tr>
40                                                                 <td width='20%'>Template Name: </td>
41                                                                 <td><input size='32' id='oils_rpt_builder_new_name'/></td>
42                                                         </tr><tr>
43                                                                 <td>Template Description: </td>
44                                                                 <td><textarea cols='50' rows='2' id='oils_rpt_builder_new_desc'/></td>
45                                                         </tr><tr>
46                                                                 <td>Template Type: </td>
47                                                                 <td><select id='oils_rpt_builder_type_selector'/></td>
48                                                         </tr><tr>
49                                                                 <td>Save this Template: </td>
50                                                                 <td><input type='submit' value='Save Template' id='oils_rpt_builder_save_template'/></td>
51                                                         </tr>
52                                                 </tbody></table>
53
54
55                                                 <div id='oils_rpt_tree_div'>
56                                                 </div>
57
58                                                 <br/>
59                                                 <div>
60                                                         <b>**</b>
61                                                         <span style='padding-left: 6px;'>
62                                                                 Indicates that when filtering on the item, a list of named choices will be generated.
63                                                         </span>
64                                                 </div>
65
66                                         </td>
67                                         <td id='oils_rpt_table_right_td' align='right'>
68                                                 <div class='oils_rpt_info_div'>
69                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Template Display Items</div>
70                                                         <select id='oils_rpt_display_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
71                                                         <button onclick='oilsDelSelectedDisplayItems();'><u>X</u> Remove Selected</button>
72                                                         <button onclick='oilsMoveUpDisplayItems();'>Move &uarr;</button>
73                                                         <button onclick='oilsMoveDownDisplayItems();'>Move &darr;</button>
74                                                 </div>
75                                                 <div class='oils_rpt_info_div'>
76                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Template Filters</div>
77                                                         <select id='oils_rpt_filter_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
78                                                         <button onclick='oilsDelSelectedFilterItems();'><u>X</u> Remove Selected</button>
79                                                 </div>
80                                                 <div class='oils_rpt_info_div'>
81                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Report Aggregate Filters</div>
82                                                         <select id='oils_rpt_agg_filter_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
83                                                         <button onclick='oilsDelSelectedAggFilterItems();'><u>X</u> Remove Selected</button>
84                                                 </div>
85                                                 <div class='oils_rpt_info_div'>
86                                                         <span style='color:red;font-weight:bold;'>Hint: </span> Double-click on an item to see the item details.
87                                                 </div>
88                                         </td>   
89                                 </tr>
90                         </tbody>
91                 </table>
92                 <span class='hide_me' id='oils_rpt_tree_label'>Template Types</span>
93
94
95                 <div id='oils_rpt_column_editor' class='floaty hide_me'>
96
97                         <table id='oils_rpt_editor_tab_table' class='oils_rpt_tab_table'><tbody>
98                                 <tr>
99                                         <td width='25%' class='oils_rpt_tab_picker_selected'><a id='oils_rpt_tform_tab' href='javascript:void(0);'>Display Items</a></td>
100                                         <td width='25%'><a id='oils_rpt_filter_tab' href='javascript:void(0);'>Filters</a></td>
101                                         <td width='25%'><a id='oils_rpt_agg_filter_tab' href='javascript:void(0);'>Aggregate Filters</a></td>
102                                         <!--
103                                         <td width='25%'><a id='oils_rpt_order_by_tab' href='javascript:void(0);'>Column Sorting</a></td>
104                                         -->
105                                 </tr>
106                         </tbody></table>
107
108                         <div style='margin-bottom: 10px;'>
109                                 <b style='padding-right: 8px;' id='oils_rpt_editor_window_label'/>
110                                 (<span id='oils_rpt_editor_window_datatype'/>)
111                         </div>
112                         <div id='oils_rpt_tform_div'>
113                                 <input size='42' id='oils_rpt_tform_label_input'/>
114                                 <div class='oils_rpt_field_editor_window'>
115                                         <div style='margin-bottom: 10px;'>Select how this field should be displayed:</div>
116                                         <div id='oils_rpt_tform_table'/>
117                                 </div>
118                                 <br/><br/>
119                                 <button id='oils_rpt_tform_submit'>Add Item</button>
120                         </div>
121
122                         <div id='oils_rpt_filter_div' class='hide_me'>
123                                 <div class='oils_rpt_field_editor_window'>
124                                         <div style='margin-bottom: 10px;'>Select what filter should be applied to this field:</div>
125                                         <div>
126                                                 <table><tbody><tr>
127                                                         <td>Choose a Transform: </td>
128                                                         <td>
129                                                                 <div id='oils_rpt_filter_tform_table'/>
130                                                         </td>
131                                                 </tr>
132                                                 <tr>    
133                                                         <td>Choose a Filter: </td>
134                                                         <td>
135                                                                 <div id='oils_rpt_filter_op_table'/>
136                                                         </td>
137                                                 </tr></tbody></table>
138                                         </div>
139
140                                 </div>
141                                 <button id='oils_rpt_filter_submit'>Create Filter</button>
142                         </div>
143
144                         <div id='oils_rpt_agg_filter_div' class='hide_me'>
145                                 <div class='oils_rpt_field_editor_window'>
146                                         <div style='margin-bottom: 10px;'>
147                                                 Select what aggregate filter should be applied to this field:
148                                         </div>
149                                         <div>
150                                                 <table><tbody><tr>
151                                                         <td>Choose a Transform: </td>
152                                                         <td>
153                                                                 <div id='oils_rpt_agg_filter_tform_table'/>
154                                                         </td>
155                                                 </tr>
156                                                 <tr>    
157                                                         <td>Choose a Filter: </td>
158                                                         <td>
159                                                                 <div id='oils_rpt_agg_filter_op_table'/>
160                                                         </td>
161                                                 </tr></tbody></table>
162                                         </div>
163                                 </div>
164                                 <button id='oils_rpt_agg_filter_submit'>Create Aggregate Filter</button>
165                         </div>
166
167
168
169                         <div id='oils_rpt_order_by_div' class='hide_me'>
170                                 <div class='oils_rpt_field_editor_window'>
171                                         <div style='margin-bottom: 10px;'>
172                                                 Select how the columns should be sorted
173                                         </div>
174                                         <div>
175                                                 <table><tbody>
176                                                         <tr>
177                                                         <td>Choose a column: </td>
178                                                         <td>
179                                                                 <select id='oils_rpt_order_by_selector'/>
180                                                         </td>
181                                                 </tr>
182                                                 <tr>    
183                                                         <td>Choose the direction the sorting should occur: </td>
184                                                         <td>
185                                                                 <select id='oils_rpt_order_by_dir'>
186                                                                         <option value='ascending' selected='selected'>Ascending</option>
187                                                                         <option value='descending'>Descending</option>
188                                                                 </select>
189                                                         </td>
190                                                 </tr></tbody></table>
191                                         </div>
192                                 </div>
193                                 <button id='oils_rpt_order_by_submit'>Add Sort</button>
194                         </div>
195
196
197
198                         <div id='oils_rpt_column_editor_close_div'>
199                                 <button id='oils_rpt_column_editor_close_button'>Close Window</button>
200                         </div>
201                 </div>
202
203
204                 <span class='hide_me' id='oils_rpt_confirm_new_report'>
205                         This will destroy the report you are currently constructing.  
206                         Are you sure you wish to do this?
207                 </span>
208
209         </body>
210 </html>
211
212