View | Details | Raw Unified | Return to bug 14854
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-3 / +10 lines)
Lines 6-11 Link Here
6
    <title>Koha &rsaquo; Tools &rsaquo; Upload</title>
6
    <title>Koha &rsaquo; Tools &rsaquo; Upload</title>
7
[% END %]
7
[% END %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9
10
10
[% BLOCK plugin_pars %]
11
[% BLOCK plugin_pars %]
11
    [% IF plugin %]
12
    [% IF plugin %]
Lines 147-153 Link Here
147
[% END %]
148
[% END %]
148
149
149
[% BLOCK table_results %]
150
[% BLOCK table_results %]
150
    <table>
151
    <table id="uploadresults">
151
    <thead>
152
    <thead>
152
    <tr>
153
    <tr>
153
        <th>Filename</th>
154
        <th>Filename</th>
Lines 156-162 Link Here
156
        <th>Category</th>
157
        <th>Category</th>
157
        [% IF !plugin %]<th>Public</th>[% END %]
158
        [% IF !plugin %]<th>Public</th>[% END %]
158
        [% IF !plugin %]<th>Temporary</th>[% END %]
159
        [% IF !plugin %]<th>Temporary</th>[% END %]
159
        <th>Actions</th>
160
        <th class="nosort">Actions</th>
160
    </tr>
161
    </tr>
161
    </thead>
162
    </thead>
162
    <tbody>
163
    <tbody>
Lines 185-190 Link Here
185
   </table>
186
   </table>
186
[% END %]
187
[% END %]
187
188
189
[% INCLUDE 'datatables.inc' %]
188
<style type="text/css">
190
<style type="text/css">
189
    #fileuploadstatus,#fileuploadfailed { display : none; }
191
    #fileuploadstatus,#fileuploadfailed { display : none; }
190
    #fileuploadstatus { margin:.4em; }
192
    #fileuploadstatus { margin:.4em; }
Lines 304-309 function Choose(hashval) { Link Here
304
    window.close();
306
    window.close();
305
}
307
}
306
$(document).ready(function() {
308
$(document).ready(function() {
309
    $("#uploadresults").dataTable($.extend(true, {}, dataTablesDefaults, {
310
        "aoColumnDefs": [
311
            { 'bSortable': false, 'aTargets': [ 'nosort' ] }
312
        ],
313
        "sPaginationType": "four_button"
314
    }));
307
    [% IF msg %]
315
    [% IF msg %]
308
        ShowAlerts( [% msg %] );
316
        ShowAlerts( [% msg %] );
309
    [% END %]
317
    [% END %]
310
- 

Return to bug 14854