LP#1694577 Reports template searching and paging
[Evergreen.git] / Open-ILS / web / reports / oils_rpt_folder_window.xhtml
1 <div id='oils_rpt_folder_window_contents_div'>
2
3
4         <!--
5         <div style='width:100%;text-align: right; margin: 10px; vertical-align: top'>
6                 <a id='oils_rpt_folder_window_contents_new_template' href='javascript:void(0);'><b>Create a new Template for this folder</b></a>
7         </div>
8         -->
9         <table id='oils_rpt_folder_window_contents_table'>
10                 <tbody>
11                         <tr>
12                                 <td colspan='2' _class='hidden-for-search-results'> 
13                                         <span>
14                                                 <select id='oils_rpt_folder_contents_action_selector' style='width: auto;'>
15                                                         <option type='template' value='create_report'>&reports.oils_rpt_folder_window.new_report_from_template;</option>
16                                                         <option type='template' value='clone_template'>&reports.oils_rpt_folder_window.clone_template;</option>
17                                                         <option type='template' value='delete_template'>&reports.oils_rpt_folder_window.delete_template;</option>
18                                                         <option type='report' value='change_params' disabled='disabled'>&reports.oils_rpt_folder_window.clone_report;</option>
19                                                         <option type='report' value='schedule_report' disabled='disabled'>&reports.oils_rpt_folder_window.schedule_report;</option>
20                                                         <option type='report' value='delete_report'>&reports.oils_rpt_folder_window.delete_reports;</option>
21                                                         <option type='output' value='show_output'>&reports.oils_rpt_folder_window.view_report_output;</option>
22                                                         <option type='output' value='delete_output'>&reports.oils_rpt_folder_window.delete_output;</option>
23
24                                                         <option type='template' value='move_template'>&reports.oils_rpt_folder_window.move_templates;</option>
25                                                         <option type='report' value='move_report'>&reports.oils_rpt_folder_window.move_reports;</option>
26                                                         <option type='output' value='move_output'>&reports.oils_rpt_folder_window.move_output;</option>
27                                                 </select>
28                                         </span>
29                                         <input type='submit' value='&reports.oils_rpt_folder_window.submit;' id='oils_rpt_folder_content_action_go'/>
30                                 </td>
31                         </tr>
32
33                         <tr id='oils_rpt_content_count_row'>
34                                 <td style='text-align:left;'>
35                                         <div>
36                                                 &reports.oils_rpt_folder_window.limit_output;
37                                                 <select id='oils_rpt_output_limit_selector'>
38                                                         <option value='5'>5</option>
39                                                         <option value='10'>10</option>
40                                                         <option value='25'>25</option>
41                                                         <option value='50'>50</option>
42                                                         <option value=''>&reports.oils_rpt_folder_window.all;</option>
43                                                 </select>
44                         <a id='oils_rpt_output_first_selector' href='javascript:void(0);'>&reports.oils_rpt_paging_start;</a>
45                         <a id='oils_rpt_output_prev_selector' href='javascript:void(0);'>&reports.oils_rpt_paging_prev;</a>
46                         <a id='oils_rpt_output_next_selector' href='javascript:void(0);'>&reports.oils_rpt_paging_next;</a>
47                                                 <span><b id='oils_rpt_pending_output' class='hide_me'>&reports.oils_rpt_folder_window.pending_items;</b></span>
48                                         </div>
49                                 </td>
50                                 <td style='text-align:right;' class='hidden-for-search-results'>
51                                         <a id='oils_rpt_folder_window_contents_new_template' 
52                                                 href='javascript:void(0);'><b>&reports.oils_rpt_folder_window.new_template;</b></a>
53                                 </td>
54                         </tr>
55
56                         <tr class='oils_rpt_folder_window_contents_row' id='oils_rpt_content_row'>
57                                 <td colspan='2'>
58                                         <div id='oils_rpt_folder_contents_selector'></div>
59                                 </td>
60                         </tr>
61
62                         <tr class='hide_me' id='oils_rpt_content_row_empty'>
63                                 <td style='text-align:left;'><b>&reports.oils_rpt_folder_window.no_items_to_display;</b></td>
64                         </tr>
65
66
67                         <!-- =================================================================== -->
68                         <!--  Second set of folder data for schedule objects that have completed-->
69                         <!-- =================================================================== -->
70                         <tr id='oils_rpt_content_count_row_2' class='hide_me'>
71                                 <td style='text-align:left;padding-top: 20px;'>
72                                         <div>
73                                                 &reports.oils_rpt_folder_window.limit_output;
74                                                 <select id='oils_rpt_output_limit_selector_2'>
75                                                         <option value='5'>5</option>
76                                                         <option value='10'>10</option>
77                                                         <option value='25'>25</option>
78                                                         <option value='50'>50</option>
79                                                         <option value=''>&reports.oils_rpt_folder_window.all;</option>
80                                                 </select>
81                                                 <span><b>&reports.oils_rpt_folder_window.completed_items;</b></span>
82                                         </div>
83                                 </td>
84                         </tr>
85
86                         <tr class='oils_rpt_folder_window_contents_row hide_me' id='oils_rpt_content_row_2'>
87                                 <td colspan='2'>
88                                         <div id='oils_rpt_folder_contents_selector_2'></div>
89                                 </td>
90                         </tr>
91                         <!-- =================================================================== -->
92
93                 </tbody>
94         </table>
95
96         <div id='oils_rpt_move_folder_div' class='hide_me' style='width:100%; padding: 5px; margin-left: 10px;'>
97                 <div>&reports.oils_rpt_folder_window.selected_folder;<b id='oils_rpt_move_folder_selected'/></div>
98                 <hr/>
99                 <div id='oils_rpt_move_folder_picker'></div>
100                 <hr/>
101                 <input type='submit' value='&reports.oils_rpt_folder_window.select_folder;' id='oils_rpt_change_folder_submit'/>
102                 <input type='submit' value='&reports.oils_rpt_folder_window.cancel;' id='oils_rpt_change_folder_cancel'/>
103         </div>
104
105         <span class='hide_me' id='oils_rpt_folder_contents_confirm_delete'>
106                 &reports.oils_rpt_folder_window.confirm_delete;
107         </span>
108
109         <span class='hide_me' id='oils_rpt_folder_contents_template_no_delete'>
110                 &reports.oils_rpt_folder_window.dependant_reports_no_delete;
111         </span>
112
113         <span class='hide_me' id='oils_rpt_folder_contents_report_no_delete'>
114                 &reports.oils_rpt_folder_window.dependant_outputs_no_delete;
115         </span>
116
117
118         <span class='hide_me' id='oils_rpt_folder_contents_no_delete'>
119                 &reports.oils_rpt_folder_window.cannot_delete_another_users_data;
120         </span>
121
122         <span class='hide_me' id='oils_rpt_change_folder_not_allowed'>
123                 &reports.oils_rpt_folder_window.cannot_move_another_users_data;
124         </span>
125
126         <span class='hide_me' id='oils_rpt_verify_template_delete'>
127                 &reports.oils_rpt_folder_window.delete_all_attached_reports;
128         </span>
129
130         <span class='hide_me' id='oils_rpt_verify_report_delete'>
131                 &reports.oils_rpt_folder_window.delete_all_attached_outputs;
132         </span>
133
134         <span class='hide_me' id='oils_rpt_view_edit_report_links'>
135         <a href='' name='view'>&reports.oils_rpt_folder_window.view_report;</a> / 
136         <a href='' name='edit'>&reports.oils_rpt_folder_window.edit_report;</a>
137         </span>
138
139 </div>
140