|
Lines 52-131
Link Here
|
| 52 |
[% END #/ WRAPPER breadcrumbs %] |
52 |
[% END #/ WRAPPER breadcrumbs %] |
| 53 |
[% END #/ WRAPPER sub-header.inc %] |
53 |
[% END #/ WRAPPER sub-header.inc %] |
| 54 |
|
54 |
|
| 55 |
<div class="main container-fluid"> |
55 |
[% WRAPPER 'main-container.inc' wide_centered => ( op == 'illlist' ? 0 : 1 ) aside = ( op == 'illlist' ? 'ill-filter' : '' ) %] |
| 56 |
<div class="row"> |
|
|
| 57 |
|
56 |
|
| 58 |
[% IF op == 'illlist' %] |
57 |
[% IF op == 'illlist' %] |
| 59 |
<script> |
58 |
<script> |
| 60 |
var ill_table_actions = [% table_actions | $raw %]; |
59 |
var ill_table_actions = [% table_actions | $raw %]; |
| 61 |
</script> |
60 |
</script> |
| 62 |
<div class="col-sm-2"> |
|
|
| 63 |
<aside> |
| 64 |
<form method="get" id="illfilter_form"> |
| 65 |
<fieldset class="brief"> |
| 66 |
<h3>Filters</h3> |
| 67 |
<ol> |
| 68 |
<li> |
| 69 |
<label for="illfilter_keyword">Keyword:</label> |
| 70 |
<input type="text" name="illfilter_keyword" id="illfilter_keyword" /> |
| 71 |
</li> |
| 72 |
<li> |
| 73 |
<label for="illfilter_backend">Backend:</label> |
| 74 |
<select name="illfilter_backend" id="illfilter_backend"> |
| 75 |
<option value="">All backends</option> |
| 76 |
</select> |
| 77 |
</li> |
| 78 |
<li> |
| 79 |
<label for="illfilter_status">Status:</label> |
| 80 |
<select name="illfilter_status" id="illfilter_status"> |
| 81 |
</select> |
| 82 |
</li> |
| 83 |
<li> |
| 84 |
<label for="illfilter_dateplaced_start">Date placed between:</label> |
| 85 |
<input type="text" name="illfilter_dateplaced_start" id="illfilter_dateplaced_start" class="flatpickr" data-date_to="illfilter_dateplaced_end"/> |
| 86 |
</li> |
| 87 |
<li> |
| 88 |
<label for="illfilter_dateplaced_end">and:</label> |
| 89 |
<input type="text" name="illfilter_dateplaced_end" id="illfilter_dateplaced_end" class="flatpickr" /> |
| 90 |
</li> |
| 91 |
<li> |
| 92 |
<label for="illfilter_datemodified_start">Updated between:</label> |
| 93 |
<input type="text" name="illfilter_datemodified_start" id="illfilter_datemodified_start" class="flatpickr" data-date_to="illfilter_datemodified_end" /> |
| 94 |
</li> |
| 95 |
<li> |
| 96 |
<label for="illfilter_datemodified_end">and:</label> |
| 97 |
<input type="text" name="illfilter_datemodified_end" id="illfilter_datemodified_end" class="flatpickr" /> |
| 98 |
</li> |
| 99 |
<li> |
| 100 |
<label for="illfilter_branchname">Library:</label> |
| 101 |
<select name="illfilter_branchname" id="illfilter_branchname"> |
| 102 |
<option value="">All libraries</option> |
| 103 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => userbranch, only_from_group => 1 ) %] |
| 104 |
</select> |
| 105 |
</li> |
| 106 |
<li> |
| 107 |
<label for="illfilter_patron">Patron:</label> |
| 108 |
<input type="text" name="illfilter_patron" id="illfilter_patron" /> |
| 109 |
</li> |
| 110 |
</ol> |
| 111 |
</fieldset> |
| 112 |
<fieldset class="action"> |
| 113 |
<input type="submit" class="btn btn-primary" value="Search" /> |
| 114 |
<input type="button" value="Clear" class="clear_search" /> |
| 115 |
</fieldset> |
| 116 |
</form> <!-- /#illfilter_form --> |
| 117 |
</aside> |
| 118 |
</div> <!-- /.col-sm-2 --> |
| 119 |
[% END %] |
| 120 |
[% IF op == 'illlist' %] |
| 121 |
[% SET div_class = 'col-sm-10' %] |
| 122 |
[% ELSE %] |
| 123 |
[% SET div_class = 'col-sm-10 offset-sm-2' %] |
| 124 |
[% END %] |
61 |
[% END %] |
| 125 |
<div class="[% div_class | html %]"> |
62 |
|
| 126 |
<main> |
63 |
<div id="interlibraryloans"> |
| 127 |
[% INCLUDE 'messages.inc' %] |
64 |
|
| 128 |
<div id="interlibraryloans"> |
|
|
| 129 |
[% IF !backends_available || !has_branch || ill_deprecated_backend_freeform_is_installed %] |
65 |
[% IF !backends_available || !has_branch || ill_deprecated_backend_freeform_is_installed %] |
| 130 |
<div class="alert alert-info">ILL module configuration problem. Take a look at the <a href="/cgi-bin/koha/about.pl?tab=sysinfo">about page</a></div> |
66 |
<div class="alert alert-info">ILL module configuration problem. Take a look at the <a href="/cgi-bin/koha/about.pl?tab=sysinfo">about page</a></div> |
| 131 |
[% ELSE %] |
67 |
[% ELSE %] |
|
Lines 927-936
Link Here
|
| 927 |
[% END %] |
863 |
[% END %] |
| 928 |
[% END %] |
864 |
[% END %] |
| 929 |
</div> <!-- /#interlibraryloans --> |
865 |
</div> <!-- /#interlibraryloans --> |
| 930 |
</main> |
866 |
|
| 931 |
</div> <!-- /.col-sm-10 --> |
867 |
[% END %] |
| 932 |
</div> <!-- /.row --> |
|
|
| 933 |
</div> <!-- /.main.container-fluid --> |
| 934 |
|
868 |
|
| 935 |
|
869 |
|
| 936 |
[% MACRO jsinclude BLOCK %] |
870 |
[% MACRO jsinclude BLOCK %] |
| 937 |
- |
|
|