]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/reports/oils_rpt_builder.xhtml
top level folder work, added template creation code
[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                                         <!--#set var="OILS_RPT_TFORM_TABLE_ID" value="oils_rpt_tform_table"-->
96                                         <!--#include virtual="oils_rpt_tforms.xhtml"-->
97                                 </div>
98                                 <br/><br/>
99                                 <button id='oils_rpt_tform_submit'>Add Item</button>
100                         </div>
101
102                         <div id='oils_rpt_filter_div' class='hide_me'>
103                                 <div class='oils_rpt_field_editor_window'>
104                                         <div style='margin-bottom: 10px;'>Select what filter should be applied to this field:</div>
105                                         <div>
106                                                 <table><tbody><tr>
107                                                         <td>Choose a Transform: </td>
108                                                         <td>
109                                                                 <!--#set var="OILS_RPT_TFORM_TABLE_ID" value="oils_rpt_filter_tform_table"-->
110                                                                 <!--#include virtual="oils_rpt_tforms.xhtml"-->
111                                                         </td>
112                                                 </tr>
113                                                 <tr>    
114                                                         <td>Choose a Filter: </td>
115                                                         <td>
116                                                                 <!--#set var="OILS_RPT_OP_TABLE_ID" value="oils_rpt_filter_op_table"-->
117                                                                 <!--#include virtual="oils_rpt_ops.xhtml"-->
118                                                         </td>
119                                                 </tr></tbody></table>
120                                         </div>
121
122                                 </div>
123                                 <button id='oils_rpt_filter_submit'>Create Filter</button>
124                         </div>
125
126                         <div id='oils_rpt_agg_filter_div' class='hide_me'>
127                                 <button id='oils_rpt_agg_filter_submit'>Create Aggregate Filter</button>
128                         </div>
129
130                         <div id='oils_rpt_column_editor_close_div'>
131                                 <button id='oils_rpt_column_editor_close_button'>Close Window</button>
132                         </div>
133                 </div>
134
135
136                 <span class='hide_me' id='oils_rpt_confirm_new_report'>
137                         This will destroy the report you are currently constructing.  
138                         Are you sure you wish to do this?
139                 </span>
140
141         </body>
142 </html>
143
144