5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Access files</title>
7 [% INCLUDE 'doc-head-close.inc' %]
9 <body id="tools_access_files" class="tools">
10 [% WRAPPER 'header.inc' %]
11 [% INCLUDE 'cat-search.inc' %]
14 [% WRAPPER 'sub-header.inc' %]
15 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
18 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
21 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
24 <a href="#" aria-current="page">
32 <div class="main container-fluid">
34 <div class="col-sm-10 col-sm-push-2">
39 [% IF ( error_no_dir ) %]
40 <div class="dialog alert"><strong>Error: </strong>Files could not be found because the "access_dir" option was not set in "koha-conf.xml". Contact your system administrator to add this option.</div>
42 [% IF ( files_loop ) %]
43 <div class="page-section">
49 <th>Date last modified</th>
53 [% FOREACH file IN files_loop %]
55 <td><a href="/cgi-bin/koha/tools/access_files.pl?id=[% file.id |url %]">[% file.name | html %]</a></td>
56 <td align="right">[% file.size | html %]</td>
57 <td data-order="[% file.date | html %]">[% file.date | $KohaDates %]</td>
64 <div class="dialog message">No files found.</div>
69 </div> <!-- /.col-sm-10.col-sm-push-2 -->
71 <div class="col-sm-2 col-sm-pull-10">
73 [% INCLUDE 'tools-menu.inc' %]
75 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
79 [% MACRO jsinclude BLOCK %]
80 [% Asset.js("js/tools-menu.js") | $raw %]
81 [% INCLUDE 'datatables.inc' %]
83 $(document).ready(function() {
84 $("#files").dataTable($.extend(true, {}, dataTablesDefaults, {
86 { "aTargets": [ -1 ], "asSorting" : [ "desc", "asc" ], "bSearchable": false }
94 [% INCLUDE 'intranet-bottom.inc' %]