]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/reports/oils_rpt_builder.xhtml
started working on user folders for the main page
[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                                                 <table id='oils_rpt_name_table'><tbody>
35                                                         <tr>
36                                                                 <td width='20%'>Report Name: </td>
37                                                                 <td><input size='32' onchange="oilsRpt.name=this.value"/></td>
38                                                         </tr><tr>
39                                                                 <td>Report Type: </td>
40                                                                 <td><select id='oils_rpt_builder_type_selector'/></td>
41                                                         </tr>
42                                                 </tbody></table>
43                                                 <div id='oils_rpt_tree_div'>
44                                                 </div>
45                                         </td>
46                                         <td id='oils_rpt_table_right_td' align='right'>
47                                                 <div class='oils_rpt_info_div'>
48                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Report Display Items</div>
49                                                         <select id='oils_rpt_display_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
50                                                         <button onclick='oilsDelSelectedDisplayItems();'><u>X</u> Remove Selected</button>
51                                                 </div>
52                                                 <div class='oils_rpt_info_div'>
53                                                         <div class='oils_rpt_info_item oils_rpt_info_title'>Report Filters</div>
54                                                         <select id='oils_rpt_filter_selector' class='oils_rpt_info_item oils_rpt_info_selector' multiple='multiple'/>
55                                                         <button onclick='oilsDelSelectedFilterItems();'><u>X</u> Remove Selected</button>
56                                                 </div>
57                                         </td>   
58                                 </tr>
59                         </tbody>
60                 </table>
61                 <span class='hide_me' id='oils_rpt_tree_label'>Report Types</span>
62
63
64                 <div id='oils_rpt_column_editor' class='floaty hide_me'>
65
66                         <table id='oils_rpt_editor_tab_table'><tbody>
67                                 <tr>
68                                         <td width='33%'><a id='oils_rpt_tform_tab' href='javascript:void(0);'>Display Items</a></td>
69                                         <td width='33%'><a id='oils_rpt_filter_tab' href='javascript:void(0);'>Filters</a></td>
70                                         <td width='33%'><a id='oils_rpt_agg_filter_tab' href='javascript:void(0);'>Aggregate Filters</a></td>
71                                 </tr>
72                         </tbody></table>
73
74                         <div style='margin-bottom: 10px;'>
75                                 <b style='padding-right: 8px;' id='oils_rpt_editor_window_label'/>
76                                 (<span id='oils_rpt_editor_window_datatype'/>)
77                         </div>
78                         <div id='oils_rpt_tform_div'>
79                                 <input size='28' id='oils_rpt_tform_label_input'/>
80                                 <div class='oils_rpt_field_editor_window'>
81                                         <div style='margin-bottom: 10px;'>Select how this field should be displayed:</div>
82                                         <!--#set var="OILS_RPT_TFORM_TABLE_ID" value="oils_rpt_tform_table"-->
83                                         <!--#include virtual="oils_rpt_tforms.xhtml"-->
84                                 </div>
85                                 <br/><br/>
86                                 <button id='oils_rpt_tform_submit'>Add Item</button>
87                         </div>
88
89                         <div id='oils_rpt_filter_div' class='hide_me'>
90                                 <div class='oils_rpt_field_editor_window'>
91                                         <div style='margin-bottom: 10px;'>Select what filter should be applied to this field:</div>
92                                         <div>
93                                                 <!--#set var="OILS_RPT_TFORM_TABLE_ID" value="oils_rpt_filter_tform_table"-->
94                                                 <!--#include virtual="oils_rpt_tforms.xhtml"-->
95                                         </div>
96                                         <div>
97                                                 <!--#set var="OILS_RPT_OP_TABLE_ID" value="oils_rpt_filter_op_table"-->
98                                                 <!--#include virtual="oils_rpt_ops.xhtml"-->
99                                         </div>
100
101                                 </div>
102                                 <button id='oils_rpt_filter_submit'>Create Filter</button>
103                         </div>
104
105                         <div id='oils_rpt_agg_filter_div' class='hide_me'>
106                                 <button id='oils_rpt_agg_filter_submit'>Create Aggregate Filter</button>
107                         </div>
108
109                         <div id='oils_rpt_column_editor_close_div'>
110                                 <button id='oils_rpt_column_editor_close_button'>Close Window</button>
111                         </div>
112                 </div>
113
114
115                 <span class='hide_me' id='oils_rpt_confirm_new_report'>
116                         This will destroy the report you are currently constructing.  
117                         Are you sure you wish to do this?
118                 </span>
119
120         </body>
121 </html>
122
123