Lines 43-331
Link Here
|
43 |
<div class="row"> |
43 |
<div class="row"> |
44 |
<div class="col-sm-10 col-sm-push-2"> |
44 |
<div class="col-sm-10 col-sm-push-2"> |
45 |
<main> |
45 |
<main> |
46 |
|
46 |
<h1>Catalog statistics</h1> |
47 |
<h1>Catalog statistics</h1> |
47 |
[% IF ( do_it ) %] |
48 |
[% IF ( do_it ) %] |
48 |
[% FOREACH mainloo IN mainloop %] |
49 |
[% FOREACH mainloo IN mainloop %] |
49 |
[% IF ( mainloo.loopfilter ) %] |
50 |
[% IF ( mainloo.loopfilter ) %] |
50 |
<p>Filtered on:</p> |
51 |
<p>Filtered on:</p> |
51 |
[% FOREACH loopfilte IN mainloo.loopfilter %] |
52 |
[% FOREACH loopfilte IN mainloo.loopfilter %] |
52 |
<p>[% loopfilte.crit | html %] =[% loopfilte.filter | html %]</p> |
53 |
<p>[% loopfilte.crit | html %] =[% loopfilte.filter | html %]</p> |
53 |
[% END %] |
54 |
[% END %] |
|
|
55 |
[% END %] |
56 |
|
57 |
<table id="catalogue_stats"> |
58 |
<thead> |
59 |
<tr> |
60 |
<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th> |
61 |
[% FOREACH loopco IN mainloo.loopcol %] |
62 |
<th>[% loopco.coltitle | html %]</th> |
63 |
[% END %] |
64 |
<th>TOTAL</th> |
65 |
</tr> |
66 |
</thead> |
67 |
<tbody> |
68 |
[% FOREACH loopro IN mainloo.looprow %] |
69 |
<tr> |
70 |
[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %] |
71 |
[% loopro.rowtitle | html %]</td> |
72 |
[% FOREACH loopcel IN loopro.loopcell %] |
73 |
[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %] |
74 |
[% IF ( loopcel.value ) %][% loopcel.value | html %] |
75 |
[% ELSE %] |
76 |
[% END %] |
77 |
</td> |
78 |
[% END %] |
79 |
[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %] |
80 |
[% loopro.totalrow | html %] |
81 |
</td> |
82 |
</tr> |
83 |
[% END %] |
84 |
</tbody> |
85 |
<tfoot> |
86 |
<tr> |
87 |
<th>TOTAL (all results)</th> |
88 |
[% FOREACH loopfoote IN mainloo.loopfooter %] |
89 |
<th> |
90 |
[% loopfoote.totalcol | html %] |
91 |
</th> |
92 |
[% END %] |
93 |
<th>[% mainloo.total | html %]</th> |
94 |
</tr> |
95 |
</tfoot> |
96 |
</table> |
97 |
[% END %] |
98 |
[% ELSE %] |
99 |
|
100 |
<form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl"> |
101 |
<fieldset class="rows"> |
102 |
<legend>Catalog statistics</legend> |
103 |
<table> |
104 |
<thead> |
105 |
<tr> |
106 |
<th>Title</th> |
107 |
<th>Row</th> |
108 |
<th>Column</th> |
109 |
<th>Filter</th> |
110 |
</tr> |
111 |
</thead> |
112 |
<tbody> |
113 |
<tr> |
114 |
<td>Koha full call number</td> |
115 |
<td><input type="radio" name="Line" value="items.itemcallnumber" /></td> |
116 |
<td><input type="radio" name="Column" value="items.itemcallnumber" /></td> |
117 |
<td><label for="callnoFrom">From</label> <input type="text" name="Filter" id="callnoFrom" /> <label for="callnoTo">To</label> <input type="text" name="Filter" id="callnoTo" /></td> |
118 |
</tr> |
119 |
<tr> |
120 |
<td> </td> |
121 |
<td colspan="2"><select name="cotedigits" id="cotedigits"> |
122 |
<option value=""> </option> |
123 |
<option value ="1">1</option> |
124 |
<option value ="2">2</option> |
125 |
<option value ="3">3</option> |
126 |
<option value ="4">4</option> |
127 |
<option value ="5">5</option> |
128 |
</select> |
129 |
<label for="cotedigits">characters</label> |
130 |
</td> |
131 |
<td> </td> |
132 |
</tr> |
133 |
<tr> |
134 |
<td>Item type</td> |
135 |
<td><input type="radio" name="Line" value="[% item_itype | html %]" /></td> |
136 |
<td><input type="radio" checked="checked" name="Column" value="[% item_itype | html %]" /></td> |
137 |
<td><select name="Filter" id="[% item_itype | html %]"> |
138 |
<option value=""> </option> |
139 |
[% FOREACH itemtype IN itemtypes %] |
140 |
<option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option> |
141 |
[% END %] |
142 |
</select> |
143 |
</td> |
144 |
</tr> |
145 |
<tr> |
146 |
<td>Publisher</td> |
147 |
<td><input type="radio" name="Line" value="publishercode" /></td> |
148 |
<td><input type="radio" name="Column" value="publishercode" /></td> |
149 |
<td><input type="text" name="Filter" /></td> |
150 |
</tr> |
151 |
<tr> |
152 |
<td>Publication year</td> |
153 |
<td><input type="radio" name="Line" value="publicationyear" /></td> |
154 |
<td><input type="radio" name="Column" value="publicationyear" /></td> |
155 |
<td><label for="pubyearFrom">From</label> <input type="text" name="Filter" id="pubYearFrom" /> <label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /></td> |
156 |
</tr> |
157 |
<tr> |
158 |
<td>Home library</td> |
159 |
<td><input type="radio" checked="checked" name="Line" value="items.homebranch" /></td> |
160 |
<td><input type="radio" name="Column" value="items.homebranch" /></td> |
161 |
<td><select name="Filter" id="branch"> |
162 |
<option value=""> </option> |
163 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
164 |
</select> |
165 |
</td> |
166 |
</tr> |
167 |
<tr> |
168 |
<td>Shelving location</td> |
169 |
<td><input type="radio" name="Line" value="items.location" /></td> |
170 |
<td><input type="radio" name="Column" value="items.location" /></td> |
171 |
<td><select name="Filter" id="location"> |
172 |
<option value=""> </option> |
173 |
[% FOREACH locationloo IN locationloop %] |
174 |
[% IF ( locationloo.selected ) %]<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>[% ELSE %]<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>[% END %] |
175 |
[% END %] |
176 |
</select> |
177 |
</td> |
178 |
</tr> |
179 |
<tr> |
180 |
<td>Collection</td> |
181 |
<td><input type="radio" name="Line" value="items.ccode" /></td> |
182 |
<td><input type="radio" name="Column" value="items.ccode" /></td> |
183 |
<td><select name="Filter" id="ccode"> |
184 |
<option value=""> </option> |
185 |
[% FOREACH authval IN authvals %] |
186 |
[% IF ( authval.selected ) %]<option value="[% authval.code | html %]" selected="selected">[% authval.description | html %]</option>[% ELSE %]<option value="[% authval.code | html %]">[% authval.description | html %]</option>[% END %] |
187 |
[% END %] |
188 |
</select> |
189 |
</td> |
190 |
</tr> |
191 |
[% IF (notforloan) %] |
192 |
<tr> |
193 |
<td>[% notforloan_label | html %]</td> |
194 |
<td><input type="radio" name="Line" value="items.notforloan" /></td> |
195 |
<td><input type="radio" name="Column" value="items.notforloan" /></td> |
196 |
<td> |
197 |
[% IF (notforloan_avlist) %] |
198 |
<select name="Filter" id="notforloan"> |
199 |
<option value=""> </option> |
200 |
[% FOREACH av IN notforloan_avlist %] |
201 |
<option value="[% av.authorised_value | html %]"> |
202 |
[% av.lib | html %] |
203 |
</option> |
204 |
[% END %] |
205 |
</select> |
206 |
[% ELSE %] |
207 |
<input type="text" name="Filter" id="notforloan" /> |
208 |
[% END %] |
209 |
</td> |
210 |
</tr> |
211 |
[% ELSE %] |
212 |
<tr style="display:none"> |
213 |
<td colspan="4"><input type="hidden" name="Filter" /></td> |
214 |
</tr> |
215 |
[% END %] |
216 |
[% IF (materials) %] |
217 |
<tr> |
218 |
<td>[% materials_label | html %]</td> |
219 |
<td><input type="radio" name="Line" value="items.materials" /></td> |
220 |
<td><input type="radio" name="Column" value="items.materials" /></td> |
221 |
<td> |
222 |
[% IF (materials_avlist) %] |
223 |
<select name="Filter" id="materials"> |
224 |
<option value=""> </option> |
225 |
[% FOREACH av IN materials_avlist %] |
226 |
<option value="[% av.authorised_value | html %]"> |
227 |
[% av.lib | html %] |
228 |
</option> |
229 |
[% END %] |
230 |
</select> |
231 |
[% ELSE %] |
232 |
<input type="text" name="Filter" id="materials" /> |
233 |
[% END %] |
54 |
[% END %] |
234 |
</td> |
|
|
235 |
</tr> |
236 |
[% ELSE %] |
237 |
<tr style="display:none"> |
238 |
<td colspan="4"><input type="hidden" name="Filter" /></td> |
239 |
</tr> |
240 |
[% END %] |
241 |
<tr> |
242 |
<td colspan="3">Filter barcode</td> |
243 |
<td> |
244 |
<select name="Filter" id="like"> |
245 |
<option value="1">like</option> |
246 |
<option value="0">not like</option> |
247 |
</select> |
248 |
<input type="text" name="Filter" id="barcode" /> |
249 |
(use * to do a fuzzy search) |
250 |
</td> |
251 |
</tr> |
252 |
<tr> |
253 |
<td>Date acquired (item)</td> |
254 |
<td><input type="radio" name="Line" value="items.dateaccessioned" /></td> |
255 |
<td><input type="radio" name="Column" value="items.dateaccessioned" /></td> |
256 |
<td> |
257 |
<label for="acqdateFrom">From</label> |
258 |
<input type="text" name="Filter" id="acqdateFrom" data-date_to="acqdateTo" class="flatpickr" /> |
259 |
|
55 |
|
260 |
<label for="acqdateTo">To</label> |
56 |
<table id="catalogue_stats"> |
261 |
<input type="text" name="Filter" id="acqdateTo" class="flatpickr" /> |
57 |
<thead> |
262 |
</td> |
58 |
<tr> |
263 |
</tr> |
59 |
<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th> |
264 |
<tr id="removeddatetr"> |
60 |
[% FOREACH loopco IN mainloo.loopcol %] |
265 |
<td>Date deleted (item)</td> |
61 |
<th>[% loopco.coltitle | html %]</th> |
266 |
<td><input type="radio" name="Line" value="deleteditems.timestamp" /></td> |
62 |
[% END %] |
267 |
<td><input type="radio" name="Column" value="deleteditems.timestamp" /></td> |
63 |
<th>TOTAL</th> |
268 |
<td> |
64 |
</tr> |
269 |
<label for="deldateFrom">From</label> |
65 |
</thead> |
270 |
<input type="text" name="Filter" id="deldateFrom" data-date_to="deldateTo" class="flatpickr" /> |
66 |
<tbody> |
|
|
67 |
[% FOREACH loopro IN mainloo.looprow %] |
68 |
<tr> |
69 |
[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %] |
70 |
[% loopro.rowtitle | html %]</td> |
71 |
[% FOREACH loopcel IN loopro.loopcell %] |
72 |
[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %] |
73 |
[% IF ( loopcel.value ) %] |
74 |
[% loopcel.value | html %] |
75 |
[% ELSE %] |
76 |
|
77 |
[% END %] |
78 |
</td> |
79 |
[% END %] |
80 |
[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %] |
81 |
[% loopro.totalrow | html %] |
82 |
</td> |
83 |
</tr> |
84 |
[% END %] |
85 |
</tbody> |
86 |
<tfoot> |
87 |
<tr> |
88 |
<th>TOTAL (all results)</th> |
89 |
[% FOREACH loopfoote IN mainloo.loopfooter %] |
90 |
<th> |
91 |
[% loopfoote.totalcol | html %] |
92 |
</th> |
93 |
[% END %] |
94 |
<th>[% mainloo.total | html %]</th> |
95 |
</tr> |
96 |
</tfoot> |
97 |
</table> |
98 |
[% END %] |
99 |
[% ELSE %] |
100 |
<form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl"> |
101 |
<fieldset class="rows"> |
102 |
<legend>Catalog statistics</legend> |
103 |
<table> |
104 |
<thead> |
105 |
<tr> |
106 |
<th>Title</th> |
107 |
<th>Row</th> |
108 |
<th>Column</th> |
109 |
<th>Filter</th> |
110 |
</tr> |
111 |
</thead> |
112 |
<tbody> |
113 |
<tr> |
114 |
<td>Koha full call number</td> |
115 |
<td><input type="radio" name="Line" value="items.itemcallnumber" /></td> |
116 |
<td><input type="radio" name="Column" value="items.itemcallnumber" /></td> |
117 |
<td><label for="callnoFrom">From</label> <input type="text" name="Filter" id="callnoFrom" /> <label for="callnoTo">To</label> <input type="text" name="Filter" id="callnoTo" /></td> |
118 |
</tr> |
119 |
<tr> |
120 |
<td> </td> |
121 |
<td colspan="2"> |
122 |
<select name="cotedigits" id="cotedigits"> |
123 |
<option value=""> </option> |
124 |
<option value ="1">1</option> |
125 |
<option value ="2">2</option> |
126 |
<option value ="3">3</option> |
127 |
<option value ="4">4</option> |
128 |
<option value ="5">5</option> |
129 |
</select> |
130 |
<label for="cotedigits">characters</label> |
131 |
</td> |
132 |
<td> </td> |
133 |
</tr> |
134 |
<tr> |
135 |
<td>Item type</td> |
136 |
<td><input type="radio" name="Line" value="[% item_itype | html %]" /></td> |
137 |
<td><input type="radio" checked="checked" name="Column" value="[% item_itype | html %]" /></td> |
138 |
<td> |
139 |
<select name="Filter" id="[% item_itype | html %]"> |
140 |
<option value=""> </option> |
141 |
[% FOREACH itemtype IN itemtypes %] |
142 |
<option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option> |
143 |
[% END %] |
144 |
</select> |
145 |
</td> |
146 |
</tr> |
147 |
<tr> |
148 |
<td>Publisher</td> |
149 |
<td><input type="radio" name="Line" value="publishercode" /></td> |
150 |
<td><input type="radio" name="Column" value="publishercode" /></td> |
151 |
<td><input type="text" name="Filter" /></td> |
152 |
</tr> |
153 |
<tr> |
154 |
<td>Publication year</td> |
155 |
<td><input type="radio" name="Line" value="publicationyear" /></td> |
156 |
<td><input type="radio" name="Column" value="publicationyear" /></td> |
157 |
<td> |
158 |
<label for="pubyearFrom">From</label> |
159 |
<input type="text" name="Filter" id="pubYearFrom" /> |
160 |
<label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /> |
161 |
</td> |
162 |
</tr> |
163 |
<tr> |
164 |
<td>Home library</td> |
165 |
<td><input type="radio" checked="checked" name="Line" value="items.homebranch" /></td> |
166 |
<td><input type="radio" name="Column" value="items.homebranch" /></td> |
167 |
<td> |
168 |
<select name="Filter" id="branch"> |
169 |
<option value=""> </option> |
170 |
[% PROCESS options_for_libraries libraries => Branches.all() %] |
171 |
</select> |
172 |
</td> |
173 |
</tr> |
174 |
<tr> |
175 |
<td>Shelving location</td> |
176 |
<td><input type="radio" name="Line" value="items.location" /></td> |
177 |
<td><input type="radio" name="Column" value="items.location" /></td> |
178 |
<td> |
179 |
<select name="Filter" id="location"> |
180 |
<option value=""> </option> |
181 |
[% FOREACH locationloo IN locationloop %] |
182 |
[% IF ( locationloo.selected ) %] |
183 |
<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option> |
184 |
[% ELSE %] |
185 |
<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option> |
186 |
[% END %] |
187 |
[% END %] |
188 |
</select> |
189 |
</td> |
190 |
</tr> |
191 |
<tr> |
192 |
<td>Collection</td> |
193 |
<td><input type="radio" name="Line" value="items.ccode" /></td> |
194 |
<td><input type="radio" name="Column" value="items.ccode" /></td> |
195 |
<td> |
196 |
<select name="Filter" id="ccode"> |
197 |
<option value=""> </option> |
198 |
[% FOREACH authval IN authvals %] |
199 |
[% IF ( authval.selected ) %] |
200 |
<option value="[% authval.code | html %]" selected="selected">[% authval.description | html %]</option> |
201 |
[% ELSE %] |
202 |
<option value="[% authval.code | html %]">[% authval.description | html %]</option> |
203 |
[% END %] |
204 |
[% END %] |
205 |
</select> |
206 |
</td> |
207 |
</tr> |
208 |
[% IF (notforloan) %] |
209 |
<tr> |
210 |
<td>[% notforloan_label | html %]</td> |
211 |
<td><input type="radio" name="Line" value="items.notforloan" /></td> |
212 |
<td><input type="radio" name="Column" value="items.notforloan" /></td> |
213 |
<td> |
214 |
[% IF (notforloan_avlist) %] |
215 |
<select name="Filter" id="notforloan"> |
216 |
<option value=""> </option> |
217 |
[% FOREACH av IN notforloan_avlist %] |
218 |
<option value="[% av.authorised_value | html %]"> |
219 |
[% av.lib | html %] |
220 |
</option> |
221 |
[% END %] |
222 |
</select> |
223 |
[% ELSE %] |
224 |
<input type="text" name="Filter" id="notforloan" /> |
225 |
[% END %] |
226 |
</td> |
227 |
</tr> |
228 |
[% ELSE %] |
229 |
<tr style="display:none"> |
230 |
<td colspan="4"><input type="hidden" name="Filter" /></td> |
231 |
</tr> |
232 |
[% END %] |
233 |
[% IF (materials) %] |
234 |
<tr> |
235 |
<td>[% materials_label | html %]</td> |
236 |
<td><input type="radio" name="Line" value="items.materials" /></td> |
237 |
<td><input type="radio" name="Column" value="items.materials" /></td> |
238 |
<td> |
239 |
[% IF (materials_avlist) %] |
240 |
<select name="Filter" id="materials"> |
241 |
<option value=""> </option> |
242 |
[% FOREACH av IN materials_avlist %] |
243 |
<option value="[% av.authorised_value | html %]"> |
244 |
[% av.lib | html %] |
245 |
</option> |
246 |
[% END %] |
247 |
</select> |
248 |
[% ELSE %] |
249 |
<input type="text" name="Filter" id="materials" /> |
250 |
[% END %] |
251 |
</td> |
252 |
</tr> |
253 |
[% ELSE %] |
254 |
<tr style="display:none"> |
255 |
<td colspan="4"><input type="hidden" name="Filter" /></td> |
256 |
</tr> |
257 |
[% END %] |
258 |
<tr> |
259 |
<td colspan="3">Filter barcode</td> |
260 |
<td> |
261 |
<select name="Filter" id="like"> |
262 |
<option value="1">like</option> |
263 |
<option value="0">not like</option> |
264 |
</select> |
265 |
<input type="text" name="Filter" id="barcode" /> |
266 |
(use * to do a fuzzy search) |
267 |
</td> |
268 |
</tr> |
269 |
<tr> |
270 |
<td>Date acquired (item)</td> |
271 |
<td><input type="radio" name="Line" value="items.dateaccessioned" /></td> |
272 |
<td><input type="radio" name="Column" value="items.dateaccessioned" /></td> |
273 |
<td> |
274 |
<label for="acqdateFrom">From</label> |
275 |
<input type="text" name="Filter" id="acqdateFrom" data-date_to="acqdateTo" class="flatpickr" /> |
276 |
<label for="acqdateTo">To</label> |
277 |
<input type="text" name="Filter" id="acqdateTo" class="flatpickr" /> |
278 |
</td> |
279 |
</tr> |
280 |
<tr id="removeddatetr"> |
281 |
<td>Date deleted (item)</td> |
282 |
<td><input type="radio" name="Line" value="deleteditems.timestamp" /></td> |
283 |
<td><input type="radio" name="Column" value="deleteditems.timestamp" /></td> |
284 |
<td> |
285 |
<label for="deldateFrom">From</label> |
286 |
<input type="text" name="Filter" id="deldateFrom" data-date_to="deldateTo" class="flatpickr" /> |
287 |
<label for="deldateTo">To</label> |
288 |
<input type="text" name="Filter" id="deldateTo" class="flatpickr" /> |
289 |
</td> |
290 |
</tr> |
291 |
</tbody> |
292 |
</table> |
293 |
</fieldset> |
271 |
|
294 |
|
272 |
<label for="deldateTo">To</label> |
295 |
<fieldset class="rows"> |
273 |
<input type="text" name="Filter" id="deldateTo" class="flatpickr" /> |
296 |
<legend>Cell value</legend> |
274 |
</td> |
297 |
<ol> |
275 |
</tr> |
298 |
<li> |
276 |
</tbody> |
299 |
<label for="cellvalue_items">Count total items</label> |
277 |
</table><br /></fieldset> |
300 |
<input type="radio" name="Cellvalue" value="items" id="cellvalue_items" checked="checked" /> |
|
|
301 |
</li> |
302 |
<li> |
303 |
<label for="cellvalue_biblios">Count unique bibliographic records</label> |
304 |
<input type="radio" name="Cellvalue" value="biblios" id="cellvalue_biblios" /> |
305 |
</li> |
306 |
<li> |
307 |
<label for="cellvalue_deleteditems">Count deleted items</label> |
308 |
<input type="radio" name="Cellvalue" value="deleteditems" id="cellvalue_deleteditems" /> |
309 |
</li> |
310 |
</ol> |
311 |
</fieldset> |
278 |
|
312 |
|
279 |
<fieldset class="rows"> |
313 |
<fieldset class="rows"> |
280 |
<legend>Cell value</legend> |
314 |
<legend>Output</legend> |
281 |
<ol> |
315 |
<ol> |
282 |
<li> |
316 |
<li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li> |
283 |
<label for="cellvalue_items">Count total items</label> |
317 |
<li> |
284 |
<input type="radio" name="Cellvalue" value="items" id="cellvalue_items" checked="checked" /> |
318 |
<label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" /> |
285 |
</li> |
319 |
<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> |
286 |
<li> |
320 |
<label class="inline" for="MIME">Into an application: </label> |
287 |
<label for="cellvalue_biblios">Count unique bibliographic records</label> |
321 |
<select name="MIME" id="MIME"> |
288 |
<input type="radio" name="Cellvalue" value="biblios" id="cellvalue_biblios" /> |
322 |
[% FOREACH CGIextChoic IN CGIextChoice %] |
289 |
</li> |
323 |
<option value="[% CGIextChoic.type | html %]">[% CGIextChoic.type | html %]</option> |
290 |
<li> |
324 |
[% END %] |
291 |
<label for="cellvalue_deleteditems">Count deleted items</label> |
325 |
</select> |
292 |
<input type="radio" name="Cellvalue" value="deleteditems" id="cellvalue_deleteditems" /> |
326 |
<!-- <label class="inline" for="sep">Delimiter: </label> --> |
293 |
</li> |
327 |
<select name="sep" id="sep"> |
294 |
</ol> |
328 |
[% FOREACH value IN CGIsepChoice.values.sort() %] |
295 |
</fieldset> |
329 |
[% IF ( value == CGIsepChoice.default ) %] |
296 |
|
330 |
<option value="[% value | html %]" selected="selected">[% value | html %]</option> |
297 |
<fieldset class="rows"> |
331 |
[% ELSE %] |
298 |
<legend>Output</legend> |
332 |
<option value="[% value | html %]">[% value | html %]</option> |
299 |
<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li> |
333 |
[% END %] |
300 |
<li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" /> |
334 |
[% END %] |
301 |
<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" /> |
335 |
</select> |
302 |
<label class="inline" for="MIME">Into an application: </label> |
336 |
</li> |
303 |
<select name="MIME" id="MIME"> |
337 |
</ol> |
304 |
[% FOREACH CGIextChoic IN CGIextChoice %] |
338 |
</fieldset> |
305 |
<option value="[% CGIextChoic.type | html %]">[% CGIextChoic.type | html %]</option> |
|
|
306 |
[% END %] |
307 |
</select> |
308 |
<!-- <label class="inline" for="sep">Delimiter: </label> --> |
309 |
<select name="sep" id="sep"> |
310 |
[% FOREACH value IN CGIsepChoice.values.sort() %] |
311 |
[% IF ( value == CGIsepChoice.default ) %] |
312 |
<option value="[% value | html %]" selected="selected">[% value | html %]</option> |
313 |
[% ELSE %] |
314 |
<option value="[% value | html %]">[% value | html %]</option> |
315 |
[% END %] |
316 |
[% END %] |
317 |
</select> |
318 |
</li> |
319 |
</ol> |
320 |
</fieldset> |
321 |
|
339 |
|
322 |
<fieldset class="action"> |
340 |
<fieldset class="action"> |
323 |
<input type="submit" class="btn btn-primary" value="Submit" /> |
341 |
<input type="submit" class="btn btn-primary" value="Submit" /> |
324 |
<input type="hidden" name="report_name" value="[% report_name | html %]" /> |
342 |
<input type="hidden" name="report_name" value="[% report_name | html %]" /> |
325 |
<input type="hidden" name="do_it" value="1" /> |
343 |
<input type="hidden" name="do_it" value="1" /> |
326 |
</fieldset> |
344 |
</fieldset> |
327 |
</form> |
345 |
</form> |
328 |
[% END %] |
346 |
[% END %] |
329 |
|
347 |
|
330 |
</main> |
348 |
</main> |
331 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
349 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
332 |
- |
|
|