]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/reports/oils_rpt_builder.xhtml
fixed tab opening to contain navigation and print buttons
[working/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                                                 <div id='oils_rpt_tree_div'>
55                                                 </div>
56                                         </td>
57                                         <td id='oils_rpt_table_right_td' align='right'>
58                                                 <div class='oils_rpt_info_div'>
59                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Template Display Items</div>
60                                                         <select id='oils_rpt_display_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
61                                                         <button onclick='oilsDelSelectedDisplayItems();'><u>X</u> Remove Selected</button>
62                                                         <button onclick='oilsMoveUpDisplayItems();'>Move &uarr;</button>
63                                                         <button onclick='oilsMoveDownDisplayItems();'>Move &darr;</button>
64                                                 </div>
65                                                 <div class='oils_rpt_info_div'>
66                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Template Filters</div>
67                                                         <select id='oils_rpt_filter_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
68                                                         <button onclick='oilsDelSelectedFilterItems();'><u>X</u> Remove Selected</button>
69                                                 </div>
70                                                 <div class='oils_rpt_info_div'>
71                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Report Aggregate Filters</div>
72                                                         <select id='oils_rpt_agg_filter_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
73                                                         <button onclick='oilsDelSelectedAggFilterItems();'><u>X</u> Remove Selected</button>
74                                                 </div>
75                                         </td>   
76                                 </tr>
77                         </tbody>
78                 </table>
79                 <span class='hide_me' id='oils_rpt_tree_label'>Template Types</span>
80
81
82                 <div id='oils_rpt_column_editor' class='floaty hide_me'>
83
84                         <table id='oils_rpt_editor_tab_table' class='oils_rpt_tab_table'><tbody>
85                                 <tr>
86                                         <td width='25%' class='oils_rpt_tab_picker_selected'><a id='oils_rpt_tform_tab' href='javascript:void(0);'>Display Items</a></td>
87                                         <td width='25%'><a id='oils_rpt_filter_tab' href='javascript:void(0);'>Filters</a></td>
88                                         <td width='25%'><a id='oils_rpt_agg_filter_tab' href='javascript:void(0);'>Aggregate Filters</a></td>
89                                         <!--
90                                         <td width='25%'><a id='oils_rpt_order_by_tab' href='javascript:void(0);'>Column Sorting</a></td>
91                                         -->
92                                 </tr>
93                         </tbody></table>
94
95                         <div style='margin-bottom: 10px;'>
96                                 <b style='padding-right: 8px;' id='oils_rpt_editor_window_label'/>
97                                 (<span id='oils_rpt_editor_window_datatype'/>)
98                         </div>
99                         <div id='oils_rpt_tform_div'>
100                                 <input size='28' id='oils_rpt_tform_label_input'/>
101                                 <div class='oils_rpt_field_editor_window'>
102                                         <div style='margin-bottom: 10px;'>Select how this field should be displayed:</div>
103                                         <div id='oils_rpt_tform_table'/>
104                                 </div>
105                                 <br/><br/>
106                                 <button id='oils_rpt_tform_submit'>Add Item</button>
107                         </div>
108
109                         <div id='oils_rpt_filter_div' class='hide_me'>
110                                 <div class='oils_rpt_field_editor_window'>
111                                         <div style='margin-bottom: 10px;'>Select what filter should be applied to this field:</div>
112                                         <div>
113                                                 <table><tbody><tr>
114                                                         <td>Choose a Transform: </td>
115                                                         <td>
116                                                                 <div id='oils_rpt_filter_tform_table'/>
117                                                         </td>
118                                                 </tr>
119                                                 <tr>    
120                                                         <td>Choose a Filter: </td>
121                                                         <td>
122                                                                 <div id='oils_rpt_filter_op_table'/>
123                                                         </td>
124                                                 </tr></tbody></table>
125                                         </div>
126
127                                 </div>
128                                 <button id='oils_rpt_filter_submit'>Create Filter</button>
129                         </div>
130
131                         <div id='oils_rpt_agg_filter_div' class='hide_me'>
132                                 <div class='oils_rpt_field_editor_window'>
133                                         <div style='margin-bottom: 10px;'>
134                                                 Select what aggregate filter should be applied to this field:
135                                         </div>
136                                         <div>
137                                                 <table><tbody><tr>
138                                                         <td>Choose a Transform: </td>
139                                                         <td>
140                                                                 <div id='oils_rpt_agg_filter_tform_table'/>
141                                                         </td>
142                                                 </tr>
143                                                 <tr>    
144                                                         <td>Choose a Filter: </td>
145                                                         <td>
146                                                                 <div id='oils_rpt_agg_filter_op_table'/>
147                                                         </td>
148                                                 </tr></tbody></table>
149                                         </div>
150                                 </div>
151                                 <button id='oils_rpt_agg_filter_submit'>Create Aggregate Filter</button>
152                         </div>
153
154
155
156                         <div id='oils_rpt_order_by_div' class='hide_me'>
157                                 <div class='oils_rpt_field_editor_window'>
158                                         <div style='margin-bottom: 10px;'>
159                                                 Select how the columns should be sorted
160                                         </div>
161                                         <div>
162                                                 <table><tbody>
163                                                         <tr>
164                                                         <td>Choose a column: </td>
165                                                         <td>
166                                                                 <select id='oils_rpt_order_by_selector'/>
167                                                         </td>
168                                                 </tr>
169                                                 <tr>    
170                                                         <td>Choose the direction the sorting should occur: </td>
171                                                         <td>
172                                                                 <select id='oils_rpt_order_by_dir'>
173                                                                         <option value='ascending' selected='selected'>Ascending</option>
174                                                                         <option value='descending'>Descending</option>
175                                                                 </select>
176                                                         </td>
177                                                 </tr></tbody></table>
178                                         </div>
179                                 </div>
180                                 <button id='oils_rpt_order_by_submit'>Add Sort</button>
181                         </div>
182
183
184
185                         <div id='oils_rpt_column_editor_close_div'>
186                                 <button id='oils_rpt_column_editor_close_button'>Close Window</button>
187                         </div>
188                 </div>
189
190
191                 <span class='hide_me' id='oils_rpt_confirm_new_report'>
192                         This will destroy the report you are currently constructing.  
193                         Are you sure you wish to do this?
194                 </span>
195
196         </body>
197 </html>
198
199