]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/reports/oils_rpt_folder_window.xhtml
Implemented template cloning
[working/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'> 
13                                         <span>
14                                                 <select id='oils_rpt_folder_contents_action_selector' style='width: auto;'>
15                                                         <option type='template' value='create_report'>Create a new report from selected template</option>
16                                                         <option type='template' value='clone_template'>Clone selected template</option>
17                                                         <option type='template' value='delete_template'>Delete selected template(s)</option>
18                                                         <option type='report' value='change_params' disabled='disabled'>Clone report</option>
19                                                         <option type='report' value='schedule_report' disabled='disabled'>Schedule report</option>
20                                                         <option type='report' value='delete_report'>Delete selected report(s)</option>
21                                                         <option type='output' value='show_output'>View report output</option>
22                                                         <option type='output' value='delete_output'>Delete selected output(s)</option>
23
24                                                         <option type='template' value='move_template'>Move the selected template(s) to a different folder</option>
25                                                         <option type='report' value='move_report'>Move the select report(s) to a different folder</option>
26                                                         <option type='output' value='move_output'>Move the selected output(s) to a different folder</option>
27                                                 </select>
28                                         </span>
29                                         <input type='submit' value='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                                                 Limit output to 
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=''>All</option>
43                                                 </select>
44                                                 <span><b id='oils_rpt_pending_output' class='hide_me'>Pending Items</b></span>
45                                         </div>
46                                 </td>
47                                 <td style='text-align:right;'>
48                                         <a id='oils_rpt_folder_window_contents_new_template' 
49                                                 href='javascript:void(0);'><b>Create a new Template for this folder</b></a>
50                                 </td>
51                         </tr>
52
53                         <tr class='oils_rpt_folder_window_contents_row' id='oils_rpt_content_row'>
54                                 <td colspan='2'>
55                                         <div id='oils_rpt_folder_contents_selector'/>
56                                 </td>
57                         </tr>
58
59                         <tr class='hide_me' id='oils_rpt_content_row_empty'>
60                                 <td style='text-align:left;'><b>No items to display</b></td>
61                         </tr>
62
63
64                         <!-- =================================================================== -->
65                         <!--  Second set of folder data for schedule objects that have completed-->
66                         <!-- =================================================================== -->
67                         <tr id='oils_rpt_content_count_row_2' class='hide_me'>
68                                 <td style='text-align:left;padding-top: 20px;'>
69                                         <div>
70                                                 Limit output to 
71                                                 <select id='oils_rpt_output_limit_selector_2'>
72                                                         <option value='5'>5</option>
73                                                         <option value='10'>10</option>
74                                                         <option value='25'>25</option>
75                                                         <option value='50'>50</option>
76                                                         <option value=''>All</option>
77                                                 </select>
78                                                 <span><b>Completed Items</b></span>
79                                         </div>
80                                 </td>
81                         </tr>
82
83                         <tr class='oils_rpt_folder_window_contents_row hide_me' id='oils_rpt_content_row_2'>
84                                 <td colspan='2'>
85                                         <div id='oils_rpt_folder_contents_selector_2'/>
86                                 </td>
87                         </tr>
88                         <!-- =================================================================== -->
89
90                 </tbody>
91         </table>
92
93         <div id='oils_rpt_move_folder_div' class='hide_me' style='width:100%; padding: 5px; margin-left: 10px;'>
94                 <div>Selected Folder: <b id='oils_rpt_move_folder_selected'/></div>
95                 <hr/>
96                 <div id='oils_rpt_move_folder_picker'/>
97                 <hr/>
98                 <input type='submit' value='Select Folder' id='oils_rpt_change_folder_submit'/>
99                 <input type='submit' value='Cancel' id='oils_rpt_change_folder_cancel'/>
100         </div>
101
102         <span class='hide_me' id='oils_rpt_folder_contents_confirm_delete'>
103                 Are you sure you wish to delete the selected item(s)?
104         </span>
105
106         <span class='hide_me' id='oils_rpt_folder_contents_template_no_delete'>
107                 One or more of the selected templates could not be deleted because 
108                 there are reports that depend on them.
109         </span>
110
111         <span class='hide_me' id='oils_rpt_folder_contents_report_no_delete'>
112                 One or more of The selected reports could not be deleted because 
113                 there are outputs that depend on them.
114         </span>
115
116
117         <span class='hide_me' id='oils_rpt_folder_contents_no_delete'>
118                 You may not delete another user's items
119         </span>
120
121         <span class='hide_me' id='oils_rpt_change_folder_not_allowed'>
122                 You may not move another user's items
123         </span>
124
125
126 </div>
127