]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/reports/oils_rpt_builder.xhtml
added is/is not NULL
[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                 </div>
25
26                 <div id='oils_rpt_tree_loading'>
27                         Loading...
28                 </div>
29
30                 <table class='hide_me' id='oils_rpt_table'>
31                         <tbody>
32                                 <tr>
33                                         <td id='oils_rpt_table_left_td' align='left'>
34
35                                                 <table id='oils_rpt_name_table'><tbody>
36                                                         <tr>
37                                                                 <td width='20%'>Template Name: </td>
38                                                                 <td><input size='32' id='oils_rpt_builder_new_name'/></td>
39                                                         </tr><tr>
40                                                                 <td>Template Description: </td>
41                                                                 <td><textarea cols='50' rows='2' id='oils_rpt_builder_new_desc'/></td>
42                                                         </tr><tr>
43                                                                 <td>Template Type: </td>
44                                                                 <td><select id='oils_rpt_builder_type_selector'/></td>
45                                                         </tr><tr>
46                                                                 <td>Save this Template: </td>
47                                                                 <td><input type='submit' value='Save Template' id='oils_rpt_builder_save_template'/></td>
48                                                         </tr>
49                                                 </tbody></table>
50
51                                                 <div id='oils_rpt_tree_div'>
52                                                 </div>
53                                         </td>
54                                         <td id='oils_rpt_table_right_td' align='right'>
55                                                 <div class='oils_rpt_info_div'>
56                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Template Display Items</div>
57                                                         <select id='oils_rpt_display_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
58                                                         <button onclick='oilsDelSelectedDisplayItems();'><u>X</u> Remove Selected</button>
59                                                 </div>
60                                                 <div class='oils_rpt_info_div'>
61                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Template Filters</div>
62                                                         <select id='oils_rpt_filter_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
63                                                         <button onclick='oilsDelSelectedFilterItems();'><u>X</u> Remove Selected</button>
64                                                 </div>
65                                                 <div class='oils_rpt_info_div'>
66                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Report Aggregate Filters</div>
67                                                         <select id='oils_rpt_agg_filter_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
68                                                         <button onclick='oilsDelSelectedAggFilterItems();'><u>X</u> Remove Selected</button>
69                                                 </div>
70                                         </td>   
71                                 </tr>
72                         </tbody>
73                 </table>
74                 <span class='hide_me' id='oils_rpt_tree_label'>Template Types</span>
75
76
77                 <div id='oils_rpt_column_editor' class='floaty hide_me'>
78
79                         <table id='oils_rpt_editor_tab_table' class='oils_rpt_tab_table'><tbody>
80                                 <tr>
81                                         <td width='33%'><a id='oils_rpt_tform_tab' href='javascript:void(0);'>Display Items</a></td>
82                                         <td width='33%'><a id='oils_rpt_filter_tab' href='javascript:void(0);'>Filters</a></td>
83                                         <td width='33%'><a id='oils_rpt_agg_filter_tab' href='javascript:void(0);'>Aggregate Filters</a></td>
84                                 </tr>
85                         </tbody></table>
86
87                         <div style='margin-bottom: 10px;'>
88                                 <b style='padding-right: 8px;' id='oils_rpt_editor_window_label'/>
89                                 (<span id='oils_rpt_editor_window_datatype'/>)
90                         </div>
91                         <div id='oils_rpt_tform_div'>
92                                 <input size='28' id='oils_rpt_tform_label_input'/>
93                                 <div class='oils_rpt_field_editor_window'>
94                                         <div style='margin-bottom: 10px;'>Select how this field should be displayed:</div>
95                                         <div id='oils_rpt_tform_table'/>
96                                 </div>
97                                 <br/><br/>
98                                 <button id='oils_rpt_tform_submit'>Add Item</button>
99                         </div>
100
101                         <div id='oils_rpt_filter_div' class='hide_me'>
102                                 <div class='oils_rpt_field_editor_window'>
103                                         <div style='margin-bottom: 10px;'>Select what filter should be applied to this field:</div>
104                                         <div>
105                                                 <table><tbody><tr>
106                                                         <td>Choose a Transform: </td>
107                                                         <td>
108                                                                 <div id='oils_rpt_filter_tform_table'/>
109                                                         </td>
110                                                 </tr>
111                                                 <tr>    
112                                                         <td>Choose a Filter: </td>
113                                                         <td>
114                                                                 <!--#set var="OILS_RPT_OP_TABLE_ID" value="oils_rpt_filter_op_table"-->
115                                                                 <!--#include virtual="oils_rpt_ops.xhtml"-->
116                                                         </td>
117                                                 </tr></tbody></table>
118                                         </div>
119
120                                 </div>
121                                 <button id='oils_rpt_filter_submit'>Create Filter</button>
122                         </div>
123
124                         <div id='oils_rpt_agg_filter_div' class='hide_me'>
125                                 <button id='oils_rpt_agg_filter_submit'>Create Aggregate Filter</button>
126                         </div>
127
128                         <div id='oils_rpt_column_editor_close_div'>
129                                 <button id='oils_rpt_column_editor_close_button'>Close Window</button>
130                         </div>
131                 </div>
132
133
134                 <span class='hide_me' id='oils_rpt_confirm_new_report'>
135                         This will destroy the report you are currently constructing.  
136                         Are you sure you wish to do this?
137                 </span>
138
139         </body>
140 </html>
141
142