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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-filter.inc (+58 lines)
Line 0 Link Here
1
[% USE raw %]
2
[% USE Koha %]
3
[% PROCESS 'html_helpers.inc' %]
4
[% USE Branches %]
5
6
<form method="get" id="illfilter_form">
7
    <fieldset class="brief">
8
        <h3>Filters</h3>
9
        <ol>
10
            <li>
11
                <label for="illfilter_keyword">Keyword:</label>
12
                <input type="text" name="illfilter_keyword" id="illfilter_keyword" />
13
            </li>
14
            <li>
15
                <label for="illfilter_backend">Backend:</label>
16
                <select name="illfilter_backend" id="illfilter_backend">
17
                    <option value="">All backends</option>
18
                </select>
19
            </li>
20
            <li>
21
                <label for="illfilter_status">Status:</label>
22
                <select name="illfilter_status" id="illfilter_status">
23
                </select>
24
            </li>
25
            <li>
26
                <label for="illfilter_dateplaced_start">Date placed between:</label>
27
                <input type="text" name="illfilter_dateplaced_start" id="illfilter_dateplaced_start" class="flatpickr" data-date_to="illfilter_dateplaced_end"/>
28
            </li>
29
            <li>
30
                <label for="illfilter_dateplaced_end">and:</label>
31
                <input type="text" name="illfilter_dateplaced_end" id="illfilter_dateplaced_end" class="flatpickr" />
32
            </li>
33
            <li>
34
                <label for="illfilter_datemodified_start">Updated between:</label>
35
                <input type="text" name="illfilter_datemodified_start" id="illfilter_datemodified_start" class="flatpickr" data-date_to="illfilter_datemodified_end" />
36
            </li>
37
            <li>
38
                <label for="illfilter_datemodified_end">and:</label>
39
                <input type="text" name="illfilter_datemodified_end" id="illfilter_datemodified_end" class="flatpickr" />
40
            </li>
41
            <li>
42
                <label for="illfilter_branchname">Library:</label>
43
                <select name="illfilter_branchname" id="illfilter_branchname">
44
                    <option value="">All libraries</option>
45
                    [% PROCESS options_for_libraries libraries => Branches.all( selected => userbranch, only_from_group => 1 ) %]
46
                </select>
47
            </li>
48
            <li>
49
                <label for="illfilter_patron">Patron:</label>
50
                <input type="text" name="illfilter_patron" id="illfilter_patron" />
51
            </li>
52
        </ol>
53
    </fieldset>
54
    <fieldset class="action">
55
        <input type="submit" class="btn btn-primary" value="Search" />
56
        <input type="button" value="Clear" class="clear_search" />
57
    </fieldset>
58
</form> <!-- /#illfilter_form -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/main-container.inc (+1 lines)
Lines 23-28 Link Here
23
                        [% CASE 'circ-nav' %][% INCLUDE 'circ-nav.inc' %]
23
                        [% CASE 'circ-nav' %][% INCLUDE 'circ-nav.inc' %]
24
                        [% CASE 'facets' %][% INCLUDE 'facets.inc' %]
24
                        [% CASE 'facets' %][% INCLUDE 'facets.inc' %]
25
                        [% CASE 'guided-reports-view' %][% INCLUDE 'guided-reports-view.inc' %]
25
                        [% CASE 'guided-reports-view' %][% INCLUDE 'guided-reports-view.inc' %]
26
                        [% CASE 'ill-filter' %][% INCLUDE 'ill-filter.inc' %]
26
                        [% CASE 'vendor-menu' %][% INCLUDE 'vendor-menu.inc' %]
27
                        [% CASE 'vendor-menu' %][% INCLUDE 'vendor-menu.inc' %]
27
                        [% CASE 'pos-menu' %][% INCLUDE 'pos-menu.inc' %]
28
                        [% CASE 'pos-menu' %][% INCLUDE 'pos-menu.inc' %]
28
                        [% CASE 'prefs-menu' %][% INCLUDE 'prefs-menu.inc' %]
29
                        [% CASE 'prefs-menu' %][% INCLUDE 'prefs-menu.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-73 / +6 lines)
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
- 

Return to bug 38718