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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/_header.scss (-19 / +58 lines)
Lines 54-72 a.navbar-toggle { Link Here
54
    display: flex;
54
    display: flex;
55
    padding: 0 .8em;
55
    padding: 0 .8em;
56
56
57
    .residentsearch {
57
    ul {
58
        padding: 0;
59
        border: 0;
60
        background-color: transparent;
61
        display: none;
62
        flex-basis: 50%;
63
64
        &:first-of-type {
65
            display: block;
66
        }
67
    }
68
69
    > ul {
70
        padding: 0;
58
        padding: 0;
71
        margin: 0;
59
        margin: 0;
72
        border-radius: 0 16px 16px 0;
60
        border-radius: 0 16px 16px 0;
Lines 87-92 a.navbar-toggle { Link Here
87
            padding-bottom: 0;
75
            padding-bottom: 0;
88
            list-style-type: none;
76
            list-style-type: none;
89
            margin: 0;
77
            margin: 0;
78
            white-space: nowrap;
90
79
91
            a {
80
            a {
92
                color: #FFF;
81
                color: #FFF;
Lines 96-106 a.navbar-toggle { Link Here
96
            }
85
            }
97
        }
86
        }
98
    }
87
    }
99
    .ui-state-hover, .ui-state-active {
100
        a {
101
            border-bottom: 2px solid #FFFFFF;
102
        }
103
    }
104
88
105
    form {
89
    form {
106
        display: flex;
90
        display: flex;
Lines 148-153 a.navbar-toggle { Link Here
148
                border-left: 1px solid #e0e0e0;
132
                border-left: 1px solid #e0e0e0;
149
            }
133
            }
150
        }
134
        }
135
136
        input + input {
137
            padding-right: .5em;
138
        }
139
    }
140
141
    .form-control {
142
        font-size: 1em;
151
    }
143
    }
152
144
153
    .form-extra-content {
145
    .form-extra-content {
Lines 184-191 a.navbar-toggle { Link Here
184
    }
176
    }
185
177
186
    .form-extra-content-toggle {
178
    .form-extra-content-toggle {
187
        opacity: .5;
188
        background-color: transparent;
179
        background-color: transparent;
180
        opacity: .5;
181
        padding-right: 1em;
189
182
190
        &:hover {
183
        &:hover {
191
            opacity: 1;
184
            opacity: 1;
Lines 219-224 a.navbar-toggle { Link Here
219
            box-shadow: unset;
212
            box-shadow: unset;
220
        }
213
        }
221
    }
214
    }
215
216
    .tab-content {
217
        background-color: transparent;
218
        padding: 0;
219
220
        &:first-of-type {
221
            flex-basis: 50%;
222
        }
223
    }
224
225
    .nav-tabs {
226
        > li {
227
228
            > a {
229
                background-color: $background-color-primary;
230
                border: 2px solid $background-color-primary;
231
                border-radius: 0;
232
                color: #FFF;
233
                font-weight: normal;
234
                line-height: 1.3;
235
                margin: 0 .25em;
236
                padding: 0 .25em;
237
238
                &:hover, &:focus, &:active {
239
                    background-color: $background-color-primary;
240
                    border: 2px solid $background-color-primary;
241
                    border-bottom-color: $background-color-secondary;
242
                    border-bottom: 0;
243
                    padding: 0 .25em;
244
                    text-decoration: none;
245
                }
246
            }
247
248
            &.active {
249
                a {
250
                    cursor: default;
251
                    padding: 0 .25em;
252
                    border-bottom: 2px solid #FFF;
253
254
                    &:hover,
255
                    &:focus {
256
                    }
257
                }
258
            }
259
        }
260
    }
222
}
261
}
223
262
224
#logged-in-menu {
263
#logged-in-menu {
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-80 lines)
Lines 724-735 ul { Link Here
724
            list-style-type: none;
724
            list-style-type: none;
725
        }
725
        }
726
    }
726
    }
727
728
    &.ui-tabs-nav {
729
        li {
730
            list-style: none;
731
        }
732
    }
733
}
727
}
734
728
735
ol {
729
ol {
Lines 2656-2735 td.bundle { Link Here
2656
    background: #FFF url("../img/spinner-small.gif") right center no-repeat;
2650
    background: #FFF url("../img/spinner-small.gif") right center no-repeat;
2657
}
2651
}
2658
2652
2659
// jQuery UI standard tabs
2660
.ui-menu {
2661
    li {
2662
        list-style: none;
2663
    }
2664
}
2665
2666
.ui-tabs-nav {
2667
    .ui-tabs-active a,
2668
    a:hover,
2669
    a:focus,
2670
    a:active,
2671
    span.a {
2672
        background: none repeat scroll 0 0 transparent;
2673
        outline: 0 none;
2674
    }
2675
2676
    &.ui-widget-header {
2677
        background: none;
2678
        border: 0;
2679
        padding: .2em .9em 0 .9em;
2680
    }
2681
}
2682
2683
.ui-tabs {
2684
    .ui-tabs-panel {
2685
        background: #FFF none;
2686
        border-radius: 4px;
2687
        border: 2px solid $background-color-primary;
2688
2689
        fieldset {
2690
            box-shadow: none;
2691
        }
2692
    }
2693
    .ui-tabs-nav {
2694
        li {
2695
            background: $background-color-secondary;
2696
            border: 0;
2697
            margin-right: .4em;
2698
            border-radius: 4px 4px 0 0;
2699
2700
            a {
2701
                color: #111;
2702
            }
2703
2704
            &.ui-tabs-active, &.ui-state-hover {
2705
                background-color: $background-color-primary;
2706
2707
                a {
2708
                    color: #fff;
2709
                }
2710
            }
2711
        }
2712
    }
2713
2714
    &.ui-widget-content {
2715
        background: transparent none;
2716
        border: 0;
2717
    }
2718
2719
2720
    .ui-state-hover {
2721
        a {
2722
            color: $green-text-color;
2723
2724
            &:link,
2725
            &:visited {
2726
                color: $green-text-color;
2727
            }
2728
        }
2729
    }
2730
2731
}
2732
2733
.ui-widget {
2653
.ui-widget {
2734
    font-family: inherit;
2654
    font-family: inherit;
2735
2655
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc (-47 / +50 lines)
Lines 1-53 Link Here
1
<!-- Begin Acquisitions Resident Search Box -->
1
<!-- acquisitions-search.inc -->
2
2
<div id="header_search" role="tablist">
3
<div id="header_search">
3
    <div class="tab-content">
4
    <div id="supplier_search" class="residentsearch">
4
        <div id="supplier_search" role="tabpanel" class="tab-pane active">
5
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
5
            <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
6
            <span class="form-title">
6
                <div class="form-title">
7
                <label class="control-label">Vendor search</label>
7
                    <label class="control-label">Vendor search</label>
8
            </span>
8
                </div>
9
10
            <span class="form-content">
11
                <input type="text" name="supplier" id="supplier" class="head-searchbox form-control" placeholder="Search vendors" />
12
            </span>
13
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
14
        </form>
15
    </div>
16
17
    <div id="orders_search" class="residentsearch">
18
        <form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
19
            <span class="form-title">
20
                <label class="control-label">Orders search</label>
21
            </span>
22
23
            <span class="form-content">
24
                <input type="text" id="title" class="form-control" placeholder="Title" name="title" size="13" value="[% title | html %]" />
25
                <input type="text" id="searchsupplier" class="form-control" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
26
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
27
                <input type="hidden" id="do_search" name="do_search" value="do" />
28
            </span>
29
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
30
9
31
            <div class="form-extra-content">
10
                <div class="form-content">
32
                <div>
11
                    <input type="text" name="supplier" id="supplier" class="head-searchbox form-control" placeholder="Search vendors" />
33
                    <label for="basket" class="control-label">Basket</label>
34
                    <input type="text" class="form-control" placeholder="Basket" name="basket" id="basket" />
35
                </div>
12
                </div>
36
                <div>
13
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
37
                    <label for="booksellerinvoicenumber" class="control-label">Invoice number</label>
14
            </form>
38
                    <input type="text" class="form-control" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
15
        </div>
16
17
        <div id="orders_search" role="tabpanel" class="tab-pane">
18
            <form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
19
                <div class="form-title">
20
                    <label class="control-label">Orders search</label>
39
                </div>
21
                </div>
40
                <div>
22
41
                    <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
23
                <div class="form-content">
24
                    <input type="text" id="title" class="form-control" placeholder="Title" name="title" size="13" value="[% title | html %]" />
25
                    <input type="text" id="searchsupplier" class="form-control" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
26
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
27
                    <input type="hidden" id="do_search" name="do_search" value="do" />
42
                </div>
28
                </div>
43
            </div>
29
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
44
        </form>
45
    </div>
46
30
47
    <ul>
31
                <div class="form-extra-content">
48
        <li><a title="Vendor search" href="#supplier_search"><i class="fa fa-upload"></i> <span class="tab-title">Vendor search</span></a></li>
32
                    <div>
49
        <li><a title="Orders search" href="#orders_search"><i class="fa fa-download"></i> <span class="tab-title">Orders search</span></a></li>
33
                        <label for="basket" class="control-label">Basket</label>
34
                        <input type="text" class="form-control" placeholder="Basket" name="basket" id="basket" />
35
                    </div>
36
                    <div>
37
                        <label for="booksellerinvoicenumber" class="control-label">Invoice number</label>
38
                        <input type="text" class="form-control" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
39
                    </div>
40
                    <div>
41
                        <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
42
                    </div>
43
                </div>
44
            </form>
45
        </div>
46
    </div><!-- /.tab-content -->
47
    <ul class="nav nav-tabs" role="tablist">
48
        <li role="presentation" class="active">
49
            <a title="Vendor search" href="#supplier_search" aria-controls="supplier_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Vendor search</span></a>
50
        </li>
51
        <li role="presentation">
52
            <a title="Orders search" href="#orders_search" aria-controls="orders_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Orders search</span></a>
53
        </li>
50
    </ul>
54
    </ul>
51
</div><!-- /header_search -->
55
</div><!-- /#header_search -->
52
56
<!-- /acquisitions-search.inc -->
53
<!-- End Main page Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/adv-search.inc (-13 / +30 lines)
Lines 1-17 Link Here
1
<!-- Begin main page resident search box -->
1
<!-- adv-search.inc -->
2
<div id="header_search">
2
<div id="header_search" role="tablist">
3
    <div class="tab-content">
3
4
4
    [% INCLUDE 'patron-search-box.inc' %]
5
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
5
    [% INCLUDE 'checkin-search-box.inc' %]
6
            [% INCLUDE 'patron-search-box.inc' bs_tab_active= 1 %]
6
    [% INCLUDE 'renew-search-box.inc' %]
7
            [% INCLUDE 'checkin-search-box.inc' %]
7
    [% INCLUDE 'member-search-box.inc' %]
8
            [% INCLUDE 'renew-search-box.inc' %]
9
        [% END %]
10
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]
11
            [% INCLUDE 'member-search-box.inc' %]
12
        [% END %]
8
13
9
    <ul>
14
    </div><!-- /.tab-content -->
10
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
15
    <ul class="nav nav-tabs" role="tablist">
11
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a></li>[% END %]
16
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
12
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a></li>[% END %]
17
            <li role="presentation" class="active">
13
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]<li><a title="Search patrons" href="#patron_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title">Search patrons</span></a></li>[% END %]
18
                <a title="Check out" href="#circ_search" aria-controls="circ_search" aria-expanded="true" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
19
            </li>
20
            <li role="presentation">
21
                <a title="Check in" href="#checkin_search" aria-controls="checkin_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a>
22
            </li>
23
            <li role="presentation">
24
                <a title="Renew" href="#renew_search" aria-controls="renew_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a>
25
            </li>
26
        [% END %]
27
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]
28
            <li role="presentation">
29
                <a title="Search patrons" href="#patron_search" aria-controls="patron_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title">Search patrons</span></a>
30
            </li>
31
        [% END %]
14
    </ul>
32
    </ul>
15
</div><!-- /#header_search -->
33
</div><!-- /#header_search -->
16
34
<!-- adv-search.inc -->
17
<!-- End advanced search page resident search box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc (-135 / +145 lines)
Lines 1-4 Link Here
1
<!-- Begin Authorities Resident Search Box -->
1
<!-- authorities-search.inc -->
2
2
3
[% BLOCK orderby %]
3
[% BLOCK orderby %]
4
    <div>
4
    <div>
Lines 7-25 Link Here
7
7
8
            <select name="orderby" class="form-control">
8
            <select name="orderby" class="form-control">
9
                [% IF ( orderby == 'HeadingAsc' ) %]
9
                [% IF ( orderby == 'HeadingAsc' ) %]
10
                <option value="HeadingAsc" selected="selected">Heading A-Z</option>
10
                    <option value="HeadingAsc" selected="selected">Heading A-Z</option>
11
                [% ELSE %]
11
                [% ELSE %]
12
                <option value="HeadingAsc">Heading A-Z</option>
12
                    <option value="HeadingAsc">Heading A-Z</option>
13
                [% END %]
13
                [% END %]
14
                [% IF ( orderby == 'HeadingDsc' ) %]
14
                [% IF ( orderby == 'HeadingDsc' ) %]
15
                <option value="HeadingDsc" selected="selected">Heading Z-A</option>
15
                    <option value="HeadingDsc" selected="selected">Heading Z-A</option>
16
                [% ELSE %]
16
                [% ELSE %]
17
                <option value="HeadingDsc">Heading Z-A</option>
17
                    <option value="HeadingDsc">Heading Z-A</option>
18
                [% END %]
18
                [% END %]
19
                [% IF ( orderby == '' && op ) %]
19
                [% IF ( orderby == '' && op ) %]
20
                <option value="" selected="selected">None</option>
20
                    <option value="" selected="selected">None</option>
21
                [% ELSE %]
21
                [% ELSE %]
22
                <option value="">None</option>
22
                    <option value="">None</option>
23
                [% END %]
23
                [% END %]
24
            </select>
24
            </select>
25
        </label>
25
        </label>
Lines 33-51 Link Here
33
33
34
            <select name="operator" class="form-control">
34
            <select name="operator" class="form-control">
35
                [% IF ( operator == 'contains' ) %]
35
                [% IF ( operator == 'contains' ) %]
36
                <option value="contains" selected="selected">contains</option>
36
                    <option value="contains" selected="selected">contains</option>
37
                [% ELSE %]
37
                [% ELSE %]
38
                <option value="contains">contains</option>
38
                    <option value="contains">contains</option>
39
                [% END %]
39
                [% END %]
40
                [% IF ( operator == 'start' ) %]
40
                [% IF ( operator == 'start' ) %]
41
                <option value="start" selected="selected">starts with</option>
41
                    <option value="start" selected="selected">starts with</option>
42
                [% ELSE %]
42
                [% ELSE %]
43
                <option value="start">starts with</option>
43
                    <option value="start">starts with</option>
44
                [% END %]
44
                [% END %]
45
                [% IF ( operator == 'exact' ) %]
45
                [% IF ( operator == 'exact' ) %]
46
                <option value="exact" selected="selected">is exactly</option>
46
                    <option value="exact" selected="selected">is exactly</option>
47
                [% ELSE %]
47
                [% ELSE %]
48
                <option value="exact">is exactly</option>
48
                    <option value="exact">is exactly</option>
49
                [% END %]
49
                [% END %]
50
            </select>
50
            </select>
51
        </label>
51
        </label>
Lines 56-188 Link Here
56
    <div>
56
    <div>
57
        <label>
57
        <label>
58
            Authority type
58
            Authority type
59
60
            <select name="authtypecode" class="form-control">
59
            <select name="authtypecode" class="form-control">
61
            [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
60
                [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
62
            [% FOREACH authority_type IN authority_types %]
61
                [% FOREACH authority_type IN authority_types %]
63
                [% IF authority_type.authtypecode == authtypecode %]
62
                    [% IF authority_type.authtypecode == authtypecode %]
64
                <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
63
                        <option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
65
                [% ELSE %]
64
                    [% ELSE %]
66
                <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
65
                        <option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
66
                    [% END %]
67
                [% END %]
67
                [% END %]
68
            [% END %]
69
            </select>
68
            </select>
70
        </label>
69
        </label>
71
    </div>
70
    </div>
72
[% END %]
71
[% END %]
73
72
74
<div id="header_search">
73
<div id="header_search" role="tablist">
75
    <div id="mainmain_heading" class="residentsearch">
74
    <div class="tab-content">
76
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
75
        <div id="mainmain_heading" role="tabpanel" class="tab-pane active">
77
            <input type="hidden" name="op" value="do_search" />
76
            <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
78
            <input type="hidden" name="type" value="intranet" />
77
                <input type="hidden" name="op" value="do_search" />
79
            <input type="hidden" name="marclist" value="mainmainentry" />
78
                <input type="hidden" name="type" value="intranet" />
80
            <input type="hidden" name="and_or" value="and" />
79
                <input type="hidden" name="marclist" value="mainmainentry" />
81
            <input type="hidden" name="excluding" value="" />
80
                <input type="hidden" name="and_or" value="and" />
82
81
                <input type="hidden" name="excluding" value="" />
83
            <span class="form-title">
82
84
                <label class="control-label">Search main heading ($a only)</label>
83
                <div class="form-title">
85
            </span>
84
                    <label class="control-label">Search main heading ($a only)</label>
86
85
                </div>
87
            <span class="form-content">
86
88
                <input id="value_mainentry" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading ($a only)" />
87
                <div class="form-content">
89
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
88
                    <input id="value_mainentry" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading ($a only)" />
90
            </span>
89
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
91
90
                </div>
92
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
91
93
92
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
94
            <span class="form-extra-content">
93
95
                [% INCLUDE authtype %]
94
                <span class="form-extra-content">
96
                [% INCLUDE operator %]
95
                    [% INCLUDE authtype %]
97
                [% INCLUDE orderby %]
96
                    [% INCLUDE operator %]
98
            </span>
97
                    [% INCLUDE orderby %]
99
        </form>
98
                </span>
100
    </div>
99
            </form>
101
100
        </div>
102
    <div id="main_heading" class="residentsearch">
101
103
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
102
        <div id="main_heading" role="tabpanel" class="tab-pane">
104
            <input type="hidden" name="marclist" value="mainentry" />
103
            <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
105
            <input type="hidden" name="and_or" value="and" />
104
                <input type="hidden" name="marclist" value="mainentry" />
106
            <input type="hidden" name="excluding" value="" />
105
                <input type="hidden" name="and_or" value="and" />
107
            <input type="hidden" name="op" value="do_search" />
106
                <input type="hidden" name="excluding" value="" />
108
            <input type="hidden" name="type" value="intranet" />
107
                <input type="hidden" name="op" value="do_search" />
109
108
                <input type="hidden" name="type" value="intranet" />
110
            <span class="form-title">
109
111
                <label class="control-label">Search main heading</label>
110
                <div class="form-title">
112
            </span>
111
                    <label class="control-label">Search main heading</label>
113
112
                </div>
114
            <span class="form-content">
113
115
                <input id="value_mainheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading" />
114
                <div class="form-content">
116
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
115
                    <input id="value_mainheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search main heading" />
117
            </span>
116
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
118
117
                </div>
119
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
118
120
119
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
121
            <span class="form-extra-content">
120
122
                [% INCLUDE authtype %]
121
                <span class="form-extra-content">
123
                [% INCLUDE operator %]
122
                    [% INCLUDE authtype %]
124
                [% INCLUDE orderby %]
123
                    [% INCLUDE operator %]
125
            </span>
124
                    [% INCLUDE orderby %]
126
        </form>
125
                </span>
127
    </div>
126
            </form>
128
127
        </div>
129
    <div id="matchheading_search" class="residentsearch">
128
130
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
129
        <div id="matchheading_search" role="tabpanel" class="tab-pane">
131
            <input type="hidden" name="op" value="do_search" />
130
            <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
132
            <input type="hidden" name="type" value="intranet" />
131
                <input type="hidden" name="op" value="do_search" />
133
            <input type="hidden" name="marclist" value="match" />
132
                <input type="hidden" name="type" value="intranet" />
134
133
                <input type="hidden" name="marclist" value="match" />
135
            <span class="form-title">
134
136
                <label class="control-label">Search all headings</label>
135
                <div class="form-title">
137
            </span>
136
                    <label class="control-label">Search all headings</label>
138
137
                </div>
139
            <span class="form-content">
138
140
                <input id="value_matchheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any heading" />
139
                <div class="form-content">
141
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
140
                    <input id="value_matchheading" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any heading" />
142
            </span>
141
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
143
142
                </div>
144
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
143
145
144
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
146
            <span class="form-extra-content">
145
147
                [% INCLUDE authtype %]
146
                <span class="form-extra-content">
148
                [% INCLUDE operator %]
147
                    [% INCLUDE authtype %]
149
                [% INCLUDE orderby %]
148
                    [% INCLUDE operator %]
150
            </span>
149
                    [% INCLUDE orderby %]
151
        </form>
150
                </span>
152
    </div>
151
            </form>
153
152
        </div>
154
    <div id="entire_record" class="residentsearch">
153
155
        <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
154
        <div id="entire_record" role="tabpanel" class="tab-pane">
156
            <input type="hidden" name="op" value="do_search" />
155
            <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
157
            <input type="hidden" name="type" value="intranet" />
156
                <input type="hidden" name="op" value="do_search" />
158
            <input type="hidden" name="marclist" value="all" />
157
                <input type="hidden" name="type" value="intranet" />
159
            <input type="hidden" name="and_or" value="and" />
158
                <input type="hidden" name="marclist" value="all" />
160
            <input type="hidden" name="excluding" value="" />
159
                <input type="hidden" name="and_or" value="and" />
161
160
                <input type="hidden" name="excluding" value="" />
162
            <span class="form-title">
161
163
                <label class="control-label">Search entire record</label>
162
                <div class="form-title">
164
            </span>
163
                    <label class="control-label">Search entire record</label>
165
164
                </div>
166
            <span class="form-content">
165
167
                <input id="value_anywhere" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any authority field" />
166
                <div class="form-content">
168
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
167
                    <input id="value_anywhere" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search any authority field" />
169
            </span>
168
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
170
169
                </div>
171
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
170
172
171
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
173
            <span class="form-extra-content">
172
174
                [% INCLUDE authtype %]
173
                <span class="form-extra-content">
175
                [% INCLUDE operator %]
174
                    [% INCLUDE authtype %]
176
                [% INCLUDE orderby %]
175
                    [% INCLUDE operator %]
177
            </span>
176
                    [% INCLUDE orderby %]
178
        </form>
177
                </span>
179
    </div>
178
            </form>
180
179
        </div>
181
    <ul>
180
182
        <li><a title="Search main heading ($a only)" href="#mainmain_heading" class="keep_text"><i style="font-weight:bold">$a</i> <span class="tab-title">Main heading ($a only)</span></a></li>
181
    </div><!-- /.tab-content -->
183
        <li><a title="Search main heading" href="#main_heading" class="keep_text"><i class="fa fa-header"></i> <span class="tab-title">Main heading</span></a></li>
182
    <ul class="nav nav-tabs" role="tablist">
184
        <li><a title="Search all headings" href="#matchheading_search" class="keep_text"><i class="fa fa-align-center"></i> <span class="tab-title">All headings</span></a></li>
183
        <li role="presentation" class="active">
185
        <li><a title="Search entire record" href="#entire_record" class="keep_text"><i class="fa fa-folder-open-o"></i> <span class="tab-title">Entire record</span></a></li>
184
            <a title="Search main heading ($a only)" href="#mainmain_heading" aria-controls="mainmain_heading" role="tab"  aria-expanded="true" data-toggle="tab" class="keep_text"><i style="font-weight:bold">$a</i> <span class="tab-title">Main heading ($a only)</span></a>
185
        </li>
186
        <li role="presentation">
187
            <a title="Search main heading" href="#main_heading" aria-controls="main_heading" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-header"></i> <span class="tab-title">Main heading</span></a>
188
        </li>
189
        <li role="presentation">
190
            <a title="Search all headings" href="#matchheading_search" aria-controls="matchheading_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-align-center"></i> <span class="tab-title">All headings</span></a>
191
        </li>
192
        <li role="presentation">
193
            <a title="Search entire record" href="#entire_record" aria-controls="entire_record" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-folder-open-o"></i> <span class="tab-title">Entire record</span></a>
194
        </li>
195
        <li role="presentation">
186
    </ul>
196
    </ul>
187
</div><!-- /header_search -->
197
</div><!-- /#header_search -->
188
<!-- End Authorities Resident Search Box -->
198
<!-- /authorities-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc (-4 / +4 lines)
Lines 79-91 $(document).ready(function () { Link Here
79
    var searchType = '[% marclist | html %]';
79
    var searchType = '[% marclist | html %]';
80
    if (searchType) {
80
    if (searchType) {
81
        if ('mainmainentry' == searchType) {
81
        if ('mainmainentry' == searchType) {
82
            $("#header_search").tabs( "option", "active", 0 );
82
            $("#header_search a[href='#mainmain_heading']").tab("show");
83
        } else if ('mainentry' == searchType) {
83
        } else if ('mainentry' == searchType) {
84
            $("#header_search").tabs( "option", "active", 1 );
84
            $("#header_search a[href='#main_heading']").tab("show");
85
        } else if ('match' == searchType) {
85
        } else if ('match' == searchType) {
86
            $("#header_search").tabs( "option", "active", 2 );
86
            $("#header_search a[href='#matchheading_search']").tab("show");
87
        } else if ('all' == searchType) {
87
        } else if ('all' == searchType) {
88
            $("#header_search").tabs( "option", "active", 3 );
88
            $("#header_search a[href='#entire_record']").tab("show");
89
        }
89
        }
90
    }
90
    }
91
91
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc (-36 / +51 lines)
Lines 1-49 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
2
[% USE Branches %]
3
<div id="header_search">
3
<!-- budgets-admin-search.inc -->
4
4
5
    <div id="budgets_search" class="residentsearch">
5
<div id="header_search" role="tablist">
6
        <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
6
    <div class="tab-content">
7
            <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
7
        <div id="budgets_search" role="tabpanel" class="tab-pane active">
8
            <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
9
                <input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
8
10
9
            <span class="form-title">
11
                <div class="form-title">
10
                <label class="control-label">Search funds</label>
12
                    <label class="control-label">Search funds</label>
11
            </span>
13
                </div>
12
14
13
            <span class="form-content">
15
                <div class="form-content">
14
                <input class="query form-control" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" placeholder="Search funds" />
16
                    <input class="query form-control" type="text" name="filter_budgetname" id="filter_budgetname" value="[% filter_budgetname | html %]" placeholder="Search funds" />
15
17
16
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
18
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
17
            </span>
19
                </div>
18
20
19
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
21
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
20
22
21
            <div class="form-extra-content">
23
                <div class="form-extra-content">
22
                <label for="filter_budgetbranch">Library</label>
24
                    <label for="filter_budgetbranch">Library</label>
23
25
24
                <select name="filter_budgetbranch" id="filter_budgetbranch" class="form-control">
26
                    <select name="filter_budgetbranch" id="filter_budgetbranch" class="form-control">
25
                    <option value="">All libraries</option>
27
                        <option value="">All libraries</option>
26
                    [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
28
                        [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
27
                        [% IF branchloo.selected %]
29
                            [% IF branchloo.selected %]
28
                            <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
30
                                <option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
29
                        [% ELSE %]
31
                            [% ELSE %]
30
                            <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
32
                                <option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
33
                            [% END %]
31
                        [% END %]
34
                        [% END %]
32
                    [% END %]
35
                    </select>
33
                </select>
36
                </div>
34
            </div>
37
            </form>
35
        </form>
38
        </div>
36
    </div>
37
39
38
    [% INCLUDE 'patron-search-box.inc' %]
40
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
41
            [% INCLUDE 'patron-search-box.inc' %]
42
        [% END %]
43
        [% IF ( CAN_user_catalogue ) %]
44
            [% INCLUDE 'catalogue-search-box.inc' %]
45
        [% END %]
39
46
40
    [% INCLUDE 'catalogue-search-box.inc' %]
47
    </div><!-- /.tab-content -->
41
48
    <ul class="nav nav-tabs" role="tablist">
42
    <ul>
49
        <li role="presentation" class="active">
43
        <li><a title="Search funds" href="#budgets_search" class="keep_text"><i class="fa fa-credit-card"></i> <span class="tab-title">Search funds</span></a></li>
50
            <a title="Search funds" href="#budgets_search" aria-controls="budgets_search" aria-expanded="true" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-credit-card"></i> <span class="tab-title">Search funds</span></a>
44
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
51
        </li>
45
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
52
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
53
            <li role="presentation">
54
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
55
            </li>
56
        [% END %]
57
        [% IF ( CAN_user_catalogue ) %]
58
            <li role="presentation">
59
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
60
            </li>
61
        [% END %]
46
    </ul>
62
    </ul>
47
</div><!-- /header_search -->
63
</div><!-- /#header_search -->
48
64
<!-- /budgets-admin-search.inc -->
49
<!-- End Suggestions Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc (-14 / +32 lines)
Lines 1-16 Link Here
1
<div id="header_search">
1
<!-- cat-search.inc -->
2
<div id="header_search" role="tablist">
3
    <div class="tab-content">
2
4
3
[% INCLUDE 'patron-search-box.inc' %]
5
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
4
[% INCLUDE 'checkin-search-box.inc' %]
6
            [% INCLUDE 'patron-search-box.inc' %]
5
[% INCLUDE 'renew-search-box.inc' %]
7
            [% INCLUDE 'checkin-search-box.inc' %]
6
[% INCLUDE 'catalogue-search-box.inc' %]
8
            [% INCLUDE 'renew-search-box.inc' %]
9
        [% END %]
10
        [% IF ( CAN_user_catalogue ) %]
11
            [% INCLUDE 'catalogue-search-box.inc' bs_tab_active= 1 %]
12
        [% END %]
7
13
8
<ul>
14
    </div><!-- /.tab-content -->
9
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
15
    <ul class="nav nav-tabs" role="tablist">
10
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a></li>[% END %]
16
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
11
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a></li>[% END %]
17
            <li role="presentation">
12
    [% IF ( CAN_user_catalogue ) %]<li class="ui-tabs-active"><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
18
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
13
</ul>
19
            </li>
14
20
            <li role="presentation">
15
</div><!-- /header_search -->
21
                <a title="Check in" href="#checkin_search" aria-controls="checkin_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a>
16
<!-- End Catalogue Resident Search Box -->
22
            </li>
23
            <li role="presentation">
24
                <a title="Renew" href="#renew_search" aria-controls="renew_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a>
25
            </li>
26
        [% END %]
27
        [% IF ( CAN_user_catalogue ) %]
28
            <li role="presentation" class="active">
29
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
30
            </li>
31
        [% END %]
32
    </ul>
33
</div><!-- /#header_search -->
34
<!-- /cat-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc (-26 / +45 lines)
Lines 1-35 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% PROCESS 'html_helpers.inc' %]
2
[% PROCESS 'html_helpers.inc' %]
3
[% PROCESS 'patronfields.inc' %]
3
[% PROCESS 'patronfields.inc' %]
4
<!-- Begin Patrons Resident Search Box -->
4
<!-- cataloging-search.inc -->
5
<div id="header_search" role="tablist">
6
    <div class="tab-content">
5
7
6
<div id="header_search">
8
        <div id="addbooks_search" role="tabpanel" class="tab-pane active">
9
            <form name="search" action="addbooks.pl">
10
                <div class="form-title">
11
                    <label class="control-label">Cataloging search</label>
12
                </div>
7
13
8
    <div id="addbooks_search" class="residentsearch">
14
                <div class="form-content">
9
        <form name="search" action="addbooks.pl">
15
                    <input class="head-searchbox form-control" type="text" name="q" id="cat_search" placeholder="Search the catalog and the reservoir" size="40" />
10
            <span class="form-title">
16
                </div>
11
                <label class="control-label">Cataloging search</label>
12
            </span>
13
17
14
            <span class="form-content">
18
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
15
                <input class="head-searchbox form-control" type="text" name="q" id="cat_search" placeholder="Search the catalog and the reservoir" size="40" />
19
            </form>
16
            </span>
20
        </div>
17
21
18
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
22
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
19
        </form>
23
            [% INCLUDE 'patron-search-box.inc' %]
20
    </div>
24
            [% INCLUDE 'checkin-search-box.inc' %]
25
            [% INCLUDE 'renew-search-box.inc' %]
26
        [% END %]
27
        [% IF ( CAN_user_catalogue ) %]
28
            [% INCLUDE 'catalogue-search-box.inc' %]
29
        [% END %]
21
30
22
    [% INCLUDE 'patron-search-box.inc' %]
31
    </div><!-- /.tab-content -->
23
    [% INCLUDE 'checkin-search-box.inc' %]
32
    <ul class="nav nav-tabs" role="tablist">
24
    [% INCLUDE 'renew-search-box.inc' %]
33
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
25
    [% INCLUDE 'catalogue-search-box.inc' %]
34
            <li role="presentation" class="active">
26
35
                <a title="Cataloging search" href="#addbooks_search" aria-controls="addbooks_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Cataloging search</span></a>
27
    <ul>
36
            </li>
28
        <li><a title="Cataloging search" href="#addbooks_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Cataloging search</span></a></li>
37
            <li role="presentation">
29
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
38
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
30
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a></li>[% END %]
39
            </li>
31
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a></li>[% END %]
40
            <li role="presentation">
32
        <li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>
41
                <a title="Check in" href="#checkin_search" aria-controls="checkin_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a>
42
            </li>
43
            <li role="presentation">
44
                <a title="Renew" href="#renew_search" aria-controls="renew_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a>
45
            </li>
46
        [% END %]
47
        [% IF ( CAN_user_catalogue ) %]
48
            <li role="presentation">
49
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
50
            </li>
51
        [% END %]
33
    </ul>
52
    </ul>
34
</div><!-- /header_search -->
53
</div><!-- /#header_search -->
35
<!-- End Main page Resident Search Box -->
54
<!-- /cataloging-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc (-5 / +11 lines)
Lines 1-13 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
2
[% USE Branches %]
3
[% IF ( CAN_user_catalogue ) %]
3
[% IF ( CAN_user_catalogue ) %]
4
    <div id="catalog_search" class="residentsearch">
4
    <!-- catalogue-search-box.inc -->
5
    [% IF( bs_tab_active ) %]
6
        <div id="catalog_search" role="tabpanel" class="tab-pane active">
7
    [% ELSE %]
8
        <div id="catalog_search" role="tabpanel" class="tab-pane">
9
    [% END %]
5
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
10
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
6
            <span class="form-title">
11
            <div class="form-title">
7
                <label class="control-label">Search catalog</label>
12
                <label class="control-label">Search catalog</label>
8
            </span>
13
            </div>
9
14
10
            <span class="form-content">
15
            <div class="form-content">
11
                [% IF ( Koha.Preference('RetainCatalogSearchTerms') ) %]
16
                [% IF ( Koha.Preference('RetainCatalogSearchTerms') ) %]
12
                    <input type="text" name="q" id="search-form" size="20" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="query form-text head-searchbox form-control" placeholder="Enter search keywords" />
17
                    <input type="text" name="q" id="search-form" size="20" value="[% ms_value | html %]" title="Enter the terms you wish to search for." class="query form-text head-searchbox form-control" placeholder="Enter search keywords" />
13
                [% ELSE %]
18
                [% ELSE %]
Lines 17-23 Link Here
17
                [% IF Koha.Preference('IntranetCatalogSearchPulldown') || Koha.Preference('IntranetAddMastheadLibraryPulldown') %]
22
                [% IF Koha.Preference('IntranetCatalogSearchPulldown') || Koha.Preference('IntranetAddMastheadLibraryPulldown') %]
18
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
23
                    <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
19
                [% END %]
24
                [% END %]
20
            </span>
25
            </div>
21
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
26
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
22
27
23
            <div class="form-extra-content">
28
            <div class="form-extra-content">
Lines 40-43 Link Here
40
            </div>
45
            </div>
41
        </form>
46
        </form>
42
    </div>
47
    </div>
48
    <!-- /catalogue-search-box.inc -->
43
[% END %]
49
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search-box.inc (-5 / +11 lines)
Lines 1-14 Link Here
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
2
    <div id="checkin_search" class="residentsearch">
2
    <!-- checkin-search-box.inc -->
3
    [% IF( bs_tab_active ) %]
4
        <div id="checkin_search" role="tabpanel" class="tab-pane active">
5
    [% ELSE %]
6
        <div id="checkin_search" role="tabpanel" class="tab-pane">
7
    [% END %]
3
        <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
8
        <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
4
            <span class="form-title">
9
            <div class="form-title">
5
                <label class="control-label">Check in</label>
10
                <label class="control-label">Check in</label>
6
            </span>
11
            </div>
7
12
8
            <span class="form-content">
13
            <div class="form-content">
9
                <input name="barcode" id="ret_barcode" class="head-searchbox form-control" accesskey="r" type="text" placeholder="Scan a barcode to check in" size="40"/>
14
                <input name="barcode" id="ret_barcode" class="head-searchbox form-control" accesskey="r" type="text" placeholder="Scan a barcode to check in" size="40"/>
10
            </span>
15
            </div>
11
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
16
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
12
        </form>
17
        </form>
13
    </div>
18
    </div>
19
    <!-- /checkin-search-box.inc -->
14
[% END %]
20
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc (-15 / +27 lines)
Lines 1-17 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- Begin Main page Resident Search Box -->
2
<!-- checkin-search.inc -->
3
3
<div id="header_search" role="tabpanel" class="tab-pane active">
4
<div id="header_search">
4
    <div class="tab-content">
5
5
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
6
    [% INCLUDE 'patron-search-box.inc' %]
6
            [% INCLUDE 'patron-search-box.inc' bs_tab_active= 1 %]
7
    [% INCLUDE 'renew-search-box.inc' %]
7
            [% INCLUDE 'renew-search-box.inc' %]
8
    [% INCLUDE 'catalogue-search-box.inc' %]
8
        [% END %]
9
9
        [% IF ( CAN_user_catalogue ) %]
10
    <ul>
10
            [% INCLUDE 'catalogue-search-box.inc' %]
11
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
11
        [% END %]
12
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a></li>[% END %]
12
    </div><!-- /.tab-content -->
13
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
13
    <ul class="nav nav-tabs" role="tablist">
14
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
15
            <li role="presentation" class="active">
16
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
17
            </li>
18
            <li role="presentation">
19
                <a title="Renew" href="#renew_search" aria-controls="renew_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a>
20
            </li>
21
        [% END %]
22
        [% IF ( CAN_user_catalogue ) %]
23
            <li role="presentation">
24
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
25
            </li>
26
        [% END %]
14
    </ul>
27
    </ul>
15
</div><!-- /header_search -->
28
</div><!-- /#header_search -->
16
<!-- End Main page Resident Search Box -->
29
<!-- /checkin-search.inc -->
17
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc (-14 / +31 lines)
Lines 1-18 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- Begin Main page Resident Search Box -->
2
<!-- circ-search.inc -->
3
<div id="header_search" role="tablist">
4
    <div class="tab-content">
3
5
4
<div id="header_search">
6
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
7
            [% INCLUDE 'patron-search-box.inc' bs_tab_active= 1 %]
8
            [% INCLUDE 'checkin-search-box.inc' %]
9
            [% INCLUDE 'renew-search-box.inc' %]
10
        [% END %]
11
        [% IF ( CAN_user_catalogue ) %]
12
            [% INCLUDE 'catalogue-search-box.inc' %]
13
        [% END %]
5
14
6
    [% INCLUDE 'patron-search-box.inc' %]
15
    </div><!-- /.tab-content -->
7
    [% INCLUDE 'checkin-search-box.inc' %]
16
    <ul class="nav nav-tabs" role="tablist">
8
    [% INCLUDE 'renew-search-box.inc' %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
9
    [% INCLUDE 'catalogue-search-box.inc' %]
18
            <li role="presentation" class="active">
10
19
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
11
    <ul>
20
            </li>
12
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
21
            <li role="presentation">
13
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a></li>[% END %]
22
                <a title="Check in" href="#checkin_search" aria-controls="checkin_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a>
14
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a></li>[% END %]
23
            </li>
15
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search"><i class="fa fa-fw fa-search" class="keep_text"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
24
            <li role="presentation">
25
                <a title="Renew" href="#renew_search" aria-controls="renew_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a>
26
            </li>
27
        [% END %]
28
        [% IF ( CAN_user_catalogue ) %]
29
            <li role="presentation">
30
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
31
            </li>
32
        [% END %]
16
    </ul>
33
    </ul>
17
</div>
34
</div><!-- /#header_search -->
18
<!-- End Main page Resident Search Box -->
35
<!-- /circ-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc (-21 / +37 lines)
Lines 1-27 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="header_search">
2
<!-- cities-admin-search.inc -->
3
    <div id="city_search" class="residentsearch">
3
<div id="header_search" role="tablist">
4
        <form action="[% script_name | html %]" method="post">
4
    <div class="tab-content">
5
            <span class="form-title">
5
        <div id="city_search" role="tabpanel" class="tab-pane active">
6
                <label class="control-label">Search cities</label>
6
            <form action="[% script_name | html %]" method="post">
7
            </span>
7
                <div class="form-title">
8
                    <label class="control-label">Search cities</label>
9
                </div>
8
10
9
            <span class="form-content">
11
                <div class="form-content">
10
                <input class="head-searchbox form-control" type="text" name="city_name_filter" id="city_name_filter" value="[% city_name_filter | html %]" placeholder="City search" />
12
                    <input class="head-searchbox form-control" type="text" name="city_name_filter" id="city_name_filter" value="[% city_name_filter | html %]" placeholder="City search" />
11
            </span>
13
                </div>
12
14
13
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
15
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
14
        </form>
16
            </form>
15
    </div>
17
        </div>
16
18
17
    [% INCLUDE 'patron-search-box.inc' %]
19
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
20
            [% INCLUDE 'patron-search-box.inc' %]
21
        [% END %]
22
        [% IF ( CAN_user_catalogue ) %]
23
            [% INCLUDE 'catalogue-search-box.inc' %]
24
        [% END %]
18
25
19
    [% INCLUDE 'catalogue-search-box.inc' %]
26
    </div><!-- /.tab-content -->
20
27
    <ul class="nav nav-tabs" role="tablist">
21
    <ul>
28
        <li role="presentation" class="active">
22
        <li><a title="Search cities" href="#city_search" class="keep_text"><i class="fa fa-building-o"></i> <span class="tab-title">Search cities</span></a></li>
29
            <a title="Search cities" href="#city_search" aria-controls="city_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-building-o"></i> <span class="tab-title">Search cities</span></a>
23
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
30
        </li>
24
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
31
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
32
            <li role="presentation">
33
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
34
            </li>
35
        [% END %]
36
        [% IF ( CAN_user_catalogue ) %]
37
            <li role="presentation">
38
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
39
            </li>
40
        [% END %]
25
    </ul>
41
    </ul>
26
</div>
42
</div><!-- /#header_search -->
27
<!-- End Cities Resident Search Box -->
43
<!-- cities-admin-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc (-22 / +37 lines)
Lines 1-28 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- contracts-admin-search.inc -->
3
<div id="header_search" role="tablist">
4
    <div class="tab-content">
5
        <div id="contract_description_search" role="tabpanel" class="tab-pane active">
6
            <form action="[% script_name | html %]" method="post">
7
                <div class="form-title">
8
                    <label class="control-label">Search contracts</label>
9
                </div>
2
10
3
<div id="header_search">
11
                <div class="form-content">
4
    <div id="contract_description_search" class="residentsearch">
12
                    <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Search by contract name or/and description:" size="40"/>
5
        <form action="[% script_name | html %]" method="post">
13
                </div>
6
            <span class="form-title">
7
                <label class="control-label">Search contracts</label>
8
            </span>
9
14
10
            <span class="form-content">
15
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
11
                <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Search by contract name or/and description:" size="40"/>
16
            </form>
12
            </span>
17
        </div>
13
18
14
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
19
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
15
        </form>
20
            [% INCLUDE 'patron-search-box.inc' %]
16
    </div>
21
        [% END %]
22
        [% IF ( CAN_user_catalogue ) %]
23
            [% INCLUDE 'catalogue-search-box.inc' %]
24
        [% END %]
17
25
18
    [% INCLUDE 'patron-search-box.inc' %]
26
    </div><!-- /.tab-content -->
19
27
    <ul class="nav nav-tabs" role="tablist">
20
    [% INCLUDE 'catalogue-search-box.inc' %]
28
        <li role="presentation" class="active">
21
29
            <a title="Search contracts" href="#contract_description_search" aria-controls="contract_description_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-pencil-square-o"></i> <span class="tab-title">Search contracts</span></a>
22
    <ul>
30
        </li>
23
        <li><a title="Search contracts" href="#contract_description_search" class="keep_text"><i class="fa fa-pencil-square-o"></i> <span class="tab-title">Search contracts</span></a></li>
31
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
24
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
32
            <li role="presentation">
25
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
33
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
34
            </li>
35
        [% END %]
36
        [% IF ( CAN_user_catalogue ) %]
37
            <li role="presentation">
38
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
39
            </li>
40
        [% END %]
26
    </ul>
41
    </ul>
27
</div>
42
</div><!-- /#header_search -->
28
<!-- End Patrons Admin Resident Search Box -->
43
<!-- contracts-admin-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc (-22 / +37 lines)
Lines 1-28 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- currencies-admin-search.inc -->
3
<div id="header_search" role="tablist">
4
    <div class="tab-content">
5
        <div id="currency_search" role="tabpanel" class="tab-pane active">
6
            <form action="[% script_name | html %]" method="post">
7
                <div class="form-title">
8
                    <label class="control-label">Search currencies</label>
9
                </div>
2
10
3
<div id="header_search">
11
                <div class="form-content">
4
    <div id="currency_search" class="residentsearch">
12
                    <input class="head-searchbox form-control" type="text" name="description" id="description" value="[% searchfield | html %]" placeholder="Currencies search" />
5
        <form action="[% script_name | html %]" method="post">
13
                </div>
6
            <span class="form-title">
7
                <label class="control-label">Search currencies</label>
8
            </span>
9
14
10
            <span class="form-content">
15
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
11
                <input class="head-searchbox form-control" type="text" name="description" id="description" value="[% searchfield | html %]" placeholder="Currencies search" />
16
            </form>
12
            </span>
17
        </div>
13
18
14
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
19
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
15
        </form>
20
            [% INCLUDE 'patron-search-box.inc' %]
16
    </div>
21
        [% END %]
22
        [% IF ( CAN_user_catalogue ) %]
23
            [% INCLUDE 'catalogue-search-box.inc' %]
24
        [% END %]
17
25
18
    [% INCLUDE 'patron-search-box.inc' %]
26
    </div><!-- /.tab-content -->
19
27
    <ul class="nav nav-tabs" role="tablist">
20
    [% INCLUDE 'catalogue-search-box.inc' %]
28
        <li role="presentation" class="active">
21
29
            <a title="Search currencies" href="#currency_search" aria-controls="currency_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-dollar"></i> <span class="tab-title">Search currencies</span></a>
22
    <ul>
30
        </li>
23
        <li><a title="Search currencies" href="#currency_search" class="keep_text"><i class="fa fa-dollar"></i> <span class="tab-title">Search currencies</span></a></li>
31
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
24
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
32
            <li role="presentation">
25
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
33
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
34
            </li>
35
        [% END %]
36
        [% IF ( CAN_user_catalogue ) %]
37
            <li role="presentation">
38
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
39
            </li>
40
        [% END %]
26
    </ul>
41
    </ul>
27
</div>
42
</div><!-- /#header_search -->
28
<!-- End Currencies Resident Search Box -->
43
<!-- /currencies-admin-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc (-21 / +37 lines)
Lines 1-27 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="header_search">
2
<!-- desks-admin-search.inc -->
3
    <div id="desk_search" class="residentsearch">
3
<div id="header_search" role="tablist">
4
        <form action="[% script_name|html %]" method="post">
4
    <div class="tab-content">
5
            <span class="form-title">
5
        <div id="desk_search" role="tabpanel" class="tab-pane active">
6
                <label class="control-label">Search desks</label>
6
            <form action="[% script_name|html %]" method="post">
7
            </span>
7
                <div class="form-title">
8
                    <label class="control-label">Search desks</label>
9
                </div>
8
10
9
            <span class="form-content">
11
                <div class="form-content">
10
                <input class="head-searchbox form-control" type="text" name="desk_name" placeholder="Search desks" id="desk_name" value="[% searchfield|html %]" size="40" />
12
                    <input class="head-searchbox form-control" type="text" name="desk_name" placeholder="Search desks" id="desk_name" value="[% searchfield|html %]" size="40" />
11
            </span>
13
                </div>
12
14
13
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
15
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
14
        </form>
16
            </form>
15
    </div>
17
        </div>
16
18
17
    [% INCLUDE 'patron-search-box.inc' %]
19
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
20
            [% INCLUDE 'patron-search-box.inc' %]
21
        [% END %]
22
        [% IF ( CAN_user_catalogue ) %]
23
            [% INCLUDE 'catalogue-search-box.inc' %]
24
        [% END %]
18
25
19
    [% INCLUDE 'catalogue-search-box.inc' %]
26
    </div><!-- /.tab-content -->
20
27
    <ul class="nav nav-tabs" role="tablist">
21
    <ul>
28
        <li role="presentation" class="active">
22
        <li><a title="Search desks" href="#desk_search" class="keep_text"><i class="fa fa-desktop"></i> <span class="tab-title">Search desks</span></a></li>
29
            <a title="Search desks" href="#desk_search" aria-controls="desk_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-desktop"></i> <span class="tab-title">Search desks</span></a>
23
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
30
        </li>
24
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
31
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
32
            <li role="presentation">
33
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
34
            </li>
35
        [% END %]
36
        [% IF ( CAN_user_catalogue ) %]
37
            <li role="presentation">
38
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
39
            </li>
40
        [% END %]
25
    </ul>
41
    </ul>
26
</div>
42
</div><!-- /#header_search -->
27
<!-- End Desks Resident Search Box -->
43
<!-- /desks-admin-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/erm-search.inc (-40 / +48 lines)
Lines 1-46 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- Begin ERM Resident Search Box -->
2
<!-- erm-search.inc -->
3
<div id="header_search">
3
<div id="header_search" role="tablist">
4
    <div id="agreement_search" class="residentsearch">
4
    <div class="tab-content">
5
        <form action="/cgi-bin/koha/erm/agreements" method="get">
5
        <div id="agreement_search" role="tabpanel" class="tab-pane active">
6
            <span class="form-title">
6
            <form action="/cgi-bin/koha/erm/agreements" method="get">
7
                <label class="control-label">Agreement search</label>
7
                <div class="form-title">
8
            </span>
8
                    <label class="control-label">Agreement search</label>
9
            <span class="form-content">
9
                </div>
10
                <input type="text" name="q" id="agreement_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
10
                <div class="form-content">
11
            </span>
11
                    <input type="text" name="q" id="agreement_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
12
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
12
                </div>
13
        </form>
13
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
14
    </div>
14
            </form>
15
        </div>
15
16
16
    <div id="package_search" class="residentsearch">
17
        <div id="package_search" role="tabpanel" class="tab-pane">
17
        <form action="/cgi-bin/koha/erm/eholdings/local/packages" method="get">
18
            <form action="/cgi-bin/koha/erm/eholdings/local/packages" method="get">
18
            <span class="form-title">
19
                <div class="form-title">
19
                <label class="control-label">Package search</label>
20
                    <label class="control-label">Package search</label>
20
            </span>
21
                </div>
21
            <span class="form-content">
22
                <div class="form-content">
22
                <input type="text" name="package_name" id="package_name_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
23
                    <input type="text" name="package_name" id="package_name_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
23
            </span>
24
                </div>
24
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
25
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
25
        </form>
26
            </form>
26
    </div>
27
        </div>
27
28
28
    <div id="title_search" class="residentsearch">
29
        <div id="title_search" role="tabpanel" class="tab-pane">
29
        <form action="/cgi-bin/koha/erm/eholdings/local/titles" method="get">
30
            <form action="/cgi-bin/koha/erm/eholdings/local/titles" method="get">
30
            <span class="form-title">
31
                <div class="form-title">
31
                <label class="control-label">Title search</label>
32
                    <label class="control-label">Title search</label>
32
            </span>
33
                </div>
33
            <span class="form-content">
34
                <div class="form-content">
34
                <input type="text" name="publication_title" id="title_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
35
                    <input type="text" name="publication_title" id="title_filter" class="head-searchbox form-control" placeholder="Enter search keywords" size="40" />
35
            </span>
36
                </div>
36
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
37
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
37
        </form>
38
            </form>
38
    </div>
39
        </div>
40
    </div><!-- /.tab-content -->
39
41
40
    <ul>
42
    <ul>
41
        <li><a title="Search agreements" href="#agreement_search" class="keep_text"><i class="fa fa-check-circle-o"></i> <span class="tab-title">Search agreements</span></a></li>
43
        <li role="presentation" class="active">
42
        <li><a title="Search packages" href="#package_search" class="keep_text"><i class="fa fa-archive"></i> <span class="tab-title">Search packages</span></a></li>
44
            <a title="Search agreements" href="#agreement_search" aria-controls="agreement_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-check-circle-o"></i> <span class="tab-title">Search agreements</span></a>
43
        <li><a title="Search titles" href="#title_search" class="keep_text"><i class="fa fa-sort-alpha-asc"></i> <span class="tab-title">Search titles</span></a></li>
45
        </li>
46
        <li role="presentation">
47
            <a title="Search packages" href="#package_search" aria-controls="package_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-archive"></i> <span class="tab-title">Search packages</span></a>
48
        </li>
49
        <li role="presentation">
50
            <a title="Search titles" href="#title_search" aria-controls="title_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-sort-alpha-asc"></i> <span class="tab-title">Search titles</span></a>
51
        </li>
44
    </ul>
52
    </ul>
45
</div>
53
</div><!-- /#header_search -->
46
<!-- End ERM Resident Search Box -->
54
<!-- /erm-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc (-18 / +39 lines)
Lines 1-19 Link Here
1
<!-- Begin Main page Resident Search Box -->
1
<!-- home-search.inc -->
2
2
<div id="header_search" role="tablist">
3
<div id="header_search">
3
    <div class="tab-content">
4
    [% INCLUDE 'patron-search-box.inc' %]
4
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
5
    [% INCLUDE 'checkin-search-box.inc' %]
5
            [% INCLUDE 'patron-search-box.inc' bs_tab_active= 1 %]
6
    [% INCLUDE 'renew-search-box.inc' %]
6
            [% INCLUDE 'checkin-search-box.inc' %]
7
    [% INCLUDE 'member-search-box.inc' %]
7
            [% INCLUDE 'renew-search-box.inc' %]
8
    [% INCLUDE 'catalogue-search-box.inc' %]
8
        [% END %]
9
9
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]
10
    <ul>
10
            [% INCLUDE 'member-search-box.inc' %]
11
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
11
        [% END %]
12
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a></li>[% END %]
12
        [% IF ( CAN_user_catalogue ) %]
13
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a></li>[% END %]
13
            [% INCLUDE 'catalogue-search-box.inc' %]
14
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]<li><a title="Search patrons" href="#patron_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title">Search patrons</span></a></li>[% END %]
14
        [% END %]
15
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
15
    </div><!-- /.tab-content -->
16
    <ul class="nav nav-tabs" role="tablist">
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
18
            <li role="presentation" class="active">
19
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
20
            </li>
21
            <li role="presentation">
22
                <a title="Check in" href="#checkin_search" aria-controls="checkin_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title">Check in</span></a>
23
            </li>
24
            <li role="presentation">
25
                <a title="Renew" href="#renew_search" aria-controls="renew_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title">Renew</span></a>
26
            </li>
27
        [% END %]
28
        [% IF ( CAN_user_borrowers_edit_borrowers ) %]
29
            <li role="presentation">
30
                <a title="Search patrons" href="#patron_search" aria-controls="patron_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title">Search patrons</span></a>
31
            </li>
32
        [% END %]
33
        [% IF ( CAN_user_catalogue ) %]
34
            <li role="presentation">
35
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
36
            </li>
37
        [% END %]
16
    </ul>
38
    </ul>
17
</div><!-- /header_search -->
39
</div><!-- /#header_search -->
18
40
<!-- /home-search.inc -->
19
<!-- End Main page Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc (-22 / +37 lines)
Lines 1-28 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- letters-search.inc -->
3
<div id="header_search" role="tablist">
4
    <div class="tab-content">
5
        <div id="notices_search" role="tabpanel" class="tab-pane">
6
            <form action="/cgi-bin/koha/tools/letter.pl" method="post">
7
                <div class="form-title">
8
                    <label class="control-label">Search notices</label>
9
                </div>
2
10
3
<div id="header_search">
11
                <div class="form-content">
4
    <div id="notices_search" class="residentsearch">
12
                    <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="" placeholder="Search existing notices"/>
5
        <form action="/cgi-bin/koha/tools/letter.pl" method="post">
13
                </div>
6
            <span class="form-title">
7
                <label class="control-label">Search notices</label>
8
            </span>
9
14
10
            <span class="form-content">
15
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
11
                <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="" placeholder="Search existing notices"/>
16
            </form>
12
            </span>
17
        </div>
13
18
14
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
19
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
15
        </form>
20
            [% INCLUDE 'patron-search-box.inc' %]
16
    </div>
21
        [% END %]
17
22
18
    [% INCLUDE 'patron-search-box.inc' %]
23
        [% IF ( CAN_user_catalogue ) %]
19
24
            [% INCLUDE 'catalogue-search-box.inc' %]
20
    [% INCLUDE 'catalogue-search-box.inc' %]
25
        [% END %]
21
26
    </div><!-- /.tab-content -->
22
    <ul>
27
    <ul class="nav nav-tabs" role="tablist">
23
        <li><a title="Search notices" href="#notices_search" class="keep_text"><i class="fa fa-commenting-o"></i> <span class="tab-title">Search notices</span></a></li>
28
        <li role="presentation" class="active">
24
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
29
            <a title="Search notices" href="#notices_search" aria-controls="notices_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-commenting-o"></i> <span class="tab-title">Search notices</span></a>
25
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
30
        </li>
31
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
32
            <li role="presentation">
33
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
34
            </li>
35
        [% END %]
36
        [% IF ( CAN_user_catalogue ) %]
37
            <li role="presentation">
38
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
39
            </li>
40
        [% END %]
26
    </ul>
41
    </ul>
27
</div>
42
</div><!-- /#header_search -->
28
<!-- End Notices Resident Search Box -->
43
<!-- /letters-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc (-13 / +19 lines)
Lines 1-17 Link Here
1
<!-- member-search-box.inc -->
1
[% USE Branches %]
2
[% USE Branches %]
2
[% USE Categories %]
3
[% USE Categories %]
3
[% USE Koha %]
4
[% USE Koha %]
4
[% PROCESS 'patronfields.inc' %]
5
[% PROCESS 'patronfields.inc' %]
5
[% IF CAN_user_borrowers_edit_borrowers %]
6
[% IF CAN_user_borrowers_edit_borrowers %]
6
    <div id="patron_search" class="residentsearch">
7
    [% IF( bs_tab_active ) %]
8
        <div id="patron_search" role="tabpanel" class="tab-pane active">
9
    [% ELSE %]
10
        <div id="patron_search" role="tabpanel" class="tab-pane">
11
    [% END %]
7
        <form method="post" action="/cgi-bin/koha/members/member.pl">
12
        <form method="post" action="/cgi-bin/koha/members/member.pl">
8
            <input type="hidden" name="quicksearch" value="1" />
13
            <input type="hidden" name="quicksearch" value="1" />
9
14
10
            <span class="form-title">
15
            <div class="form-title">
11
                <label class="control-label">Search patrons</label>
16
                <label class="control-label">Search patrons</label>
12
            </span>
17
            </div>
13
18
14
            <span class="form-content">
19
            <div class="form-content">
15
                [% IF ( Koha.Preference('RetainPatronsSearchTerms') ) %]
20
                [% IF ( Koha.Preference('RetainPatronsSearchTerms') ) %]
16
                    <input name="searchmember" id="searchmember" class="head-searchbox form-control" type="text" placeholder="Enter patron card number or partial name" size="25" value="[% searchmember | html %]"/>
21
                    <input name="searchmember" id="searchmember" class="head-searchbox form-control" type="text" placeholder="Enter patron card number or partial name" size="25" value="[% searchmember | html %]"/>
17
                [% ELSE %]
22
                [% ELSE %]
Lines 19-25 Link Here
19
                [% END %]
24
                [% END %]
20
25
21
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
26
                <button type="button" class="form-extra-content-toggle"><i class="fa fa-sliders"></i></button>
22
            </span>
27
            </div>
23
28
24
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
29
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
25
30
Lines 45-57 Link Here
45
                <div>
50
                <div>
46
                    <label for="searchtype" class="control-label">Search type</label>
51
                    <label for="searchtype" class="control-label">Search type</label>
47
                    <select name="searchtype" id="searchtype" class="form-control">
52
                    <select name="searchtype" id="searchtype" class="form-control">
48
                    [% IF searchtype == 'start_with' %]
53
                        [% IF searchtype == 'start_with' %]
49
                        <option value='start_with'>Starts with</option>
54
                            <option value='start_with'>Starts with</option>
50
                        <option value='contain'>Contains</option>
55
                            <option value='contain'>Contains</option>
51
                    [% ELSE %]
56
                        [% ELSE %]
52
                        <option value='start_with'>Starts with</option>
57
                            <option value='start_with'>Starts with</option>
53
                        <option value='contain'>Contains</option>
58
                            <option value='contain'>Contains</option>
54
                    [% END %]
59
                        [% END %]
55
                    </select>
60
                    </select>
56
                </div>
61
                </div>
57
62
Lines 60-66 Link Here
60
                    <label for="branchcode" class="control-label">Library</label>
65
                    <label for="branchcode" class="control-label">Library</label>
61
                    <select name="branchcode_filter" id="branchcode" class="form-control">
66
                    <select name="branchcode_filter" id="branchcode" class="form-control">
62
                        [% IF branches.size != 1 %]
67
                        [% IF branches.size != 1 %]
63
                        <option value="">Any</option>
68
                            <option value="">Any</option>
64
                        [% END %]
69
                        [% END %]
65
                        [% PROCESS options_for_libraries libraries => branches %]
70
                        [% PROCESS options_for_libraries libraries => branches %]
66
                    </select>
71
                    </select>
Lines 84-86 Link Here
84
        </form>
89
        </form>
85
    </div>
90
    </div>
86
[% END %]
91
[% END %]
92
<!-- /member-search-box.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/merge-record.inc (+1 lines)
Lines 48-53 Link Here
48
    <div id="tabs" class="toptabs">
48
    <div id="tabs" class="toptabs">
49
        <h2>Source records</h2>
49
        <h2>Source records</h2>
50
        <ul class="nav nav-tabs" role="tablist">
50
        <ul class="nav nav-tabs" role="tablist">
51
    <div class="tab-content">
51
            [% FOREACH record IN sourcerecords %]
52
            [% FOREACH record IN sourcerecords %]
52
                <li role="presentation">
53
                <li role="presentation">
53
                    <a href="#tabrecord[% record.recordid | uri %]" aria-controls="tabrecord[% record.recordid | uri %]" role="tab" data-toggle="tab">
54
                    <a href="#tabrecord[% record.recordid | uri %]" aria-controls="tabrecord[% record.recordid | uri %]" role="tab" data-toggle="tab">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc (-6 / +12 lines)
Lines 1-20 Link Here
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
2
    <div id="circ_search" class="residentsearch">
2
    <!-- patron-search-box.inc -->
3
    [% IF( bs_tab_active ) %]
4
        <div id="circ_search" role="tabpanel" class="tab-pane active">
5
    [% ELSE %]
6
        <div id="circ_search" role="tabpanel" class="tab-pane">
7
    [% END %]
3
        <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post">
8
        <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post">
4
            <span class="form-title">
9
            <div class="form-title">
5
                <label class="control-label">Check out</label>
10
                <label class="control-label" for="findborrower">Check out</label>
6
            </span>
11
            </div>
7
12
8
            <span class="form-content">
13
            <div class="form-content">
9
                <input autocomplete="off" id="findborrower" name="findborrower" class="head-searchbox form-control" type="text" placeholder="Enter patron card number or partial name" size="40"/>
14
                <input autocomplete="off" id="findborrower" name="findborrower" class="head-searchbox form-control" type="text" placeholder="Enter patron card number or partial name" size="40"/>
10
15
11
                [% IF ( stickyduedate ) %]
16
                [% IF ( stickyduedate ) %]
12
                    <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
17
                    <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
13
                    <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
18
                    <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
14
                [% END %]
19
                [% END %]
15
            </span>
20
            </div>
16
21
17
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
22
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
18
        </form>
23
        </form>
19
    </div>
24
    </div>
25
    <!-- /patron-search-box.inc -->
20
[% END %]
26
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-header.inc (-13 / +37 lines)
Lines 1-15 Link Here
1
<div id="header_search">
1
<!-- patron-search-header.inc -->
2
    [% INCLUDE 'member-search-box.inc' %]
2
<div id="header_search" role="tablist">
3
    [% INCLUDE 'patron-search-box.inc' %]
3
    <div class="tab-content">
4
    [% INCLUDE 'checkin-search-box.inc' %]
4
        [% INCLUDE 'member-search-box.inc' bs_tab_active= 1 %]
5
    [% INCLUDE 'renew-search-box.inc' %]
6
    [% INCLUDE 'catalogue-search-box.inc' %]
7
5
8
    <ul>
6
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
9
        <li><a title="Search patrons" href="#patron_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title"><span class="tab-title">Search patrons</span></span></a></li>
7
            [% INCLUDE 'patron-search-box.inc' %]
10
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title"><span class="tab-title">Check out</span></span></a></li>[% END %]
8
            [% INCLUDE 'checkin-search-box.inc' %]
11
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check in" href="#checkin_search" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title"><span class="tab-title">Check in</span></span></a></li>[% END %]
9
            [% INCLUDE 'renew-search-box.inc' %]
12
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Renew" href="#renew_search" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title"><span class="tab-title">Renew</span></span></a></li>[% END %]
10
        [% END %]
13
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title"><span class="tab-title">Search catalog</span></span></a></li>[% END %]
11
12
        [% IF ( CAN_user_catalogue ) %]
13
            [% INCLUDE 'catalogue-search-box.inc' %]
14
        [% END %]
15
    </div><!-- /.tab-content -->
16
    <ul class="nav nav-tabs" role="tablist">
17
        <li role="presentation" class="active">
18
            <a title="Search patrons" href="#patron_search" aria-controls="patron_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title">Search patrons</span></a>
19
        </li>
20
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
21
            <li role="presentation">
22
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title"><span class="tab-title">Check out</span></span></a>
23
            </li>
24
            <li role="presentation">
25
                <a title="Check in" href="#checkin_search" aria-controls="checkin_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-download"></i> <span class="tab-title"><span class="tab-title">Check in</span></span></a>
26
            </li>
27
            <li role="presentation">
28
                <a title="Renew" href="#renew_search" aria-controls="renew_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-retweet"></i> <span class="tab-title"><span class="tab-title">Renew</span></span></a>
29
            </li>
30
        [% END %]
31
32
        [% IF ( CAN_user_catalogue ) %]
33
            <li role="presentation">
34
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title"><span class="tab-title">Search catalog</span></span></a>
35
            </li>
36
        [% END %]
14
    </ul>
37
    </ul>
15
</div><!-- /header_search -->
38
</div><!-- /#header_search -->
39
<!-- /patron-search-header.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc (-21 / +37 lines)
Lines 1-28 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="header_search">
2
<!-- patrons-admin-search.inc -->
3
<div id="header_search" role="tablist">
4
    <div class="tab-content">
5
        <div id="patron_category_search" role="tabpanel" class="tab-pane active">
6
            <form action="[% script_name | html %]" method="post">
7
                <div class="form-title">
8
                    <label class="control-label">Search patron categories</label>
9
                </div>
3
10
4
    <div id="patron_category_search" class="residentsearch">
11
                <div class="form-content">
5
        <form action="[% script_name | html %]" method="post">
12
                    <input class="head-searchbox form-control" type="text" name="description" value="[% searchfield | html %]" placeholder="Search by patron category name" />
6
            <span class="form-title">
13
                </div>
7
                <label class="control-label">Search patron categories</label>
8
            </span>
9
14
10
            <span class="form-content">
15
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
11
                <input class="head-searchbox form-control" type="text" name="description" value="[% searchfield | html %]" placeholder="Search by patron category name" />
16
            </form>
12
            </span>
17
        </div>
13
18
14
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
19
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
15
        </form>
20
            [% INCLUDE 'patron-search-box.inc' %]
16
    </div>
21
        [% END %]
17
22
18
    [% INCLUDE 'patron-search-box.inc' %]
23
        [% IF ( CAN_user_catalogue ) %]
24
            [% INCLUDE 'catalogue-search-box.inc' %]
25
        [% END %]
19
26
20
    [% INCLUDE 'catalogue-search-box.inc' %]
27
    </div> <!-- /.tab-content -->
21
28
    <ul class="nav nav-tabs" role="tablist">
22
    <ul>
29
        <li role="presentation" class="active">
23
        <li><a title="Search patron categories" href="#patron_category_search" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title">Search patron categories</span></a></li>
30
            <a title="Search patron categories" href="#patron_category_search" aria-controls="patron_category_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-id-card-o"></i> <span class="tab-title">Search patron categories</span></a>
24
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
31
        </li>
25
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
32
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
33
            <li role="presentation">
34
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
35
            </li>
36
        [% END %]
37
        [% IF ( CAN_user_catalogue ) %]
38
            <li role="presentation">
39
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
40
            </li>
41
        [% END %]
26
    </ul>
42
    </ul>
27
</div>
43
</div> <!-- /#header_search -->
28
<!-- End Patrons Admin Resident Search Box -->
44
<!-- /patrons-admin-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc (-23 / +39 lines)
Lines 1-29 Link Here
1
<div id="header_search">
1
<!-- prefs-admin-search.inc -->
2
    <div id="syspref_search" class="residentsearch">
2
<div id="header_search" role="tablist">
3
        <form action="/cgi-bin/koha/admin/preferences.pl">
3
    <div class="tab-content">
4
            <input type="hidden" name="tab" value="[% last_tab | html %]" />
4
        <div id="syspref_search" role="tabpanel" class="tab-pane active">
5
            <input type="hidden" name="op" value="search" />
5
            <form action="/cgi-bin/koha/admin/preferences.pl">
6
                <input type="hidden" name="tab" value="[% last_tab | html %]" />
7
                <input type="hidden" name="op" value="search" />
6
8
7
            <span class="form-title">
9
                <div class="form-title">
8
                <label class="control-label">Search system preferences</label>
10
                    <label class="control-label">Search system preferences</label>
9
            </span>
11
                </div>
10
12
11
            <span class="form-content">
13
                <div class="form-content">
12
                <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="" placeholder="System preference search">
14
                    <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="" placeholder="System preference search">
13
            </span>
15
                </div>
14
16
15
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
17
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
16
        </form>
18
            </form>
17
    </div>
19
        </div>
18
20
19
    [% INCLUDE 'patron-search-box.inc' %]
21
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
22
            [% INCLUDE 'patron-search-box.inc' %]
23
        [% END %]
20
24
21
    [% INCLUDE 'catalogue-search-box.inc' %]
25
        [% IF ( CAN_user_catalogue ) %]
22
26
            [% INCLUDE 'catalogue-search-box.inc' %]
23
    <ul>
27
        [% END %]
24
        <li><a title="Search system preferences" href="#syspref_search" class="keep_text"><i class="fa fa-fw fa-cogs"></i> <span class="tab-title">Search system preferences</span></a></li>
28
    </div><!-- /.tab-content -->
25
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
29
    <ul class="nav nav-tabs" role="tablist">
26
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
30
        <li role="presentation" class="active">
31
        <a title="Search system preferences" href="#syspref_search" aria-controls="syspref_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-cogs"></i> <span class="tab-title">Search system preferences</span></a>
32
        </li>
33
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
34
            <li role="presentation">
35
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
36
            </li>
37
        [% END %]
38
        [% IF ( CAN_user_catalogue ) %]
39
            <li role="presentation">
40
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
41
            </li>
42
        [% END %]
27
    </ul>
43
    </ul>
28
</div><!-- /header_search -->
44
</div><!-- /#header_search -->
29
<!-- End Main page Resident Search Box -->
45
<!-- /prefs-admin-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/renew-search-box.inc (-5 / +11 lines)
Lines 1-14 Link Here
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
2
    <div id="renew_search" class="residentsearch">
2
    <!-- renew-search-box.inc -->
3
    [% IF( bs_tab_active ) %]
4
        <div id="renew_search" role="tabpanel" class="tab-pane active">
5
    [% ELSE %]
6
        <div id="renew_search" role="tabpanel" class="tab-pane">
7
    [% END %]
3
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
8
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
4
            <span class="form-title">
9
            <div class="form-title">
5
                <label class="control-label">Renew</label>
10
                <label class="control-label">Renew</label>
6
            </span>
11
            </div>
7
12
8
            <span class="form-content">
13
            <div class="form-content">
9
                <input name="barcode" id="ren_barcode" class="head-searchbox form-control" accesskey="r" type="text" placeholder="Scan a barcode to renew" size="40"/>
14
                <input name="barcode" id="ren_barcode" class="head-searchbox form-control" accesskey="r" type="text" placeholder="Scan a barcode to renew" size="40"/>
10
            </span>
15
            </div>
11
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
16
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
12
        </form>
17
        </form>
13
    </div>
18
    </div>
19
    <!-- /renew-search-box.inc -->
14
[% END %]
20
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc (-37 / +37 lines)
Lines 4-170 Link Here
4
[% ELSE %]
4
[% ELSE %]
5
    <select class="advsearch" name="idx" id="idx">
5
    <select class="advsearch" name="idx" id="idx">
6
[% END %]
6
[% END %]
7
    [% IF ms_kw %]
7
[% IF ms_kw %]
8
        <option selected="selected" value="kw">Keyword</option>
8
        <option selected="selected" value="kw">Keyword</option>
9
    [% ELSE %]
9
    [% ELSE %]
10
        <option value="kw">Keyword</option>
10
        <option value="kw">Keyword</option>
11
    [% END %]
11
    [% END %]
12
    [% IF ms_kwcommaphr %]
12
[% IF ms_kwcommaphr %]
13
        <option selected="selected" value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
13
        <option selected="selected" value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
14
    [% ELSE %]
14
    [% ELSE %]
15
        <option value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
15
        <option value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
16
    [% END %]
16
    [% END %]
17
    [% IF ms_au %]
17
[% IF ms_au %]
18
        <option selected="selected" value="au">Author</option>
18
        <option selected="selected" value="au">Author</option>
19
    [% ELSE %]
19
    [% ELSE %]
20
        <option value="au">Author</option>
20
        <option value="au">Author</option>
21
    [% END %]
21
    [% END %]
22
    [% IF ms_aucommaphr %]
22
[% IF ms_aucommaphr %]
23
        <option selected="selected" value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
23
        <option selected="selected" value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
24
    [% ELSE %]
24
    [% ELSE %]
25
        <option value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
25
        <option value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
26
    [% END %]
26
    [% END %]
27
    [% IF ms_cpn %]
27
[% IF ms_cpn %]
28
        <option selected="selected" value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
28
        <option selected="selected" value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
29
    [% ELSE %]
29
    [% ELSE %]
30
        <option value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
30
        <option value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
31
    [% END %]
31
    [% END %]
32
    [% IF ms_cfn %]
32
[% IF ms_cfn %]
33
        <option selected="selected" value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
33
        <option selected="selected" value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
34
    [% ELSE %]
34
    [% ELSE %]
35
        <option value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
35
        <option value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
36
    [% END %]
36
    [% END %]
37
    [% IF ms_cpncommaphr %]
37
[% IF ms_cpncommaphr %]
38
        <option selected="selected" value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
38
        <option selected="selected" value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
39
    [% ELSE %]
39
    [% ELSE %]
40
        <option value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
40
        <option value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
41
    [% END %]
41
    [% END %]
42
    [% IF ms_cfncommaphr %]
42
[% IF ms_cfncommaphr %]
43
        <option selected="selected" value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
43
        <option selected="selected" value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
44
    [% ELSE %]
44
    [% ELSE %]
45
        <option value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
45
        <option value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
46
    [% END %]
46
    [% END %]
47
    [% IF ms_pn %]
47
[% IF ms_pn %]
48
        <option selected="selected" value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
48
        <option selected="selected" value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
49
    [% ELSE %]
49
    [% ELSE %]
50
        <option value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
50
        <option value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
51
    [% END %]
51
    [% END %]
52
    [% IF ms_pncommaphr %]
52
[% IF ms_pncommaphr %]
53
        <option selected="selected" value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
53
        <option selected="selected" value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
54
    [% ELSE %]
54
    [% ELSE %]
55
        <option value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
55
        <option value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
56
    [% END %]
56
    [% END %]
57
    [% IF ms_ti %]
57
[% IF ms_ti %]
58
        <option selected="selected" value="ti">Title</option>
58
        <option selected="selected" value="ti">Title</option>
59
    [% ELSE %]
59
    [% ELSE %]
60
        <option value="ti">Title</option>
60
        <option value="ti">Title</option>
61
    [% END %]
61
    [% END %]
62
    [% IF ms_ticommaphr %]
62
[% IF ms_ticommaphr %]
63
        <option selected="selected" value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
63
        <option selected="selected" value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
64
    [% ELSE %]
64
    [% ELSE %]
65
        <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
65
        <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
66
    [% END %]
66
    [% END %]
67
    [% IF ms_se %]
67
[% IF ms_se %]
68
        <option selected="seleced" value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
68
        <option selected="seleced" value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
69
    [% ELSE %]
69
    [% ELSE %]
70
        <option value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
70
        <option value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
71
    [% END %]
71
    [% END %]
72
    [% IF ms_su %]
72
[% IF ms_su %]
73
        <option selected="selected" value="su">Subject</option>
73
        <option selected="selected" value="su">Subject</option>
74
    [% ELSE %]
74
    [% ELSE %]
75
        <option value="su">Subject</option>
75
        <option value="su">Subject</option>
76
    [% END %]
76
    [% END %]
77
    [% IF ms_sucommaphr %]
77
[% IF ms_sucommaphr %]
78
        <option selected="selected" value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
78
        <option selected="selected" value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
79
    [% ELSE %]
79
    [% ELSE %]
80
        <option value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
80
        <option value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
81
    [% END %]
81
    [% END %]
82
    [% IF ( expanded_options ) %]
82
[% IF ( expanded_options ) %]
83
        [% IF ms_sudashbr %]
83
[% IF ms_sudashbr %]
84
            <option selected="selected" value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
84
            <option selected="selected" value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
85
        [% ELSE %]
85
        [% ELSE %]
86
            <option value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
86
            <option value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
87
        [% END %]
87
        [% END %]
88
        [% IF ms_sudashna %]
88
[% IF ms_sudashna %]
89
            <option selected="selected" value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
89
            <option selected="selected" value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
90
        [% ELSE %]
90
        [% ELSE %]
91
            <option value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
91
            <option value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
92
        [% END %]
92
        [% END %]
93
        [% IF ms_sudashrl %]
93
[% IF ms_sudashrl %]
94
            <option selected="selected" value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
94
            <option selected="selected" value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
95
        [% ELSE %]
95
        [% ELSE %]
96
            <option value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
96
            <option value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
97
        [% END %]
97
        [% END %]
98
    [% END %]
98
    [% END %]
99
    [% IF ms_bc %]
99
[% IF ms_bc %]
100
        <option selected="selected" value="bc">Barcode</option>
100
        <option selected="selected" value="bc">Barcode</option>
101
    [% ELSE %]
101
    [% ELSE %]
102
        <option value="bc">Barcode</option>
102
        <option value="bc">Barcode</option>
103
    [% END %]
103
    [% END %]
104
    [% IF ms_location %]
104
[% IF ms_location %]
105
        <option selected="selected" value="location" title="Enter location code value for search">Shelving location (code)</option>
105
        <option selected="selected" value="location" title="Enter location code value for search">Shelving location (code)</option>
106
    [% ELSE %]
106
    [% ELSE %]
107
        <option value="location" title="Enter location code value for search">Shelving location (code)</option>
107
        <option value="location" title="Enter location code value for search">Shelving location (code)</option>
108
    [% END %]
108
    [% END %]
109
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
109
[% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
110
        [% IF ms_identcommaphr %]
110
[% IF ms_identcommaphr %]
111
            <option selected="selected" value="ident,phr">Standard number</option>
111
            <option selected="selected" value="ident,phr">Standard number</option>
112
        [% ELSE %]
112
        [% ELSE %]
113
            <option value="ident,phr">Standard number</option>
113
            <option value="ident,phr">Standard number</option>
114
        [% END %]
114
        [% END %]
115
    [% ELSE %]
115
    [% ELSE %]
116
        [% IF ms_ident %]
116
[% IF ms_ident %]
117
            <option selected="selected" value="ident">Standard number</option>
117
            <option selected="selected" value="ident">Standard number</option>
118
        [% ELSE %]
118
        [% ELSE %]
119
            <option value="ident">Standard number</option>
119
            <option value="ident">Standard number</option>
120
        [% END %]
120
        [% END %]
121
    [% END %]
121
    [% END %]
122
    [% IF ms_nb %]
122
[% IF ms_nb %]
123
        <option selected="selected" value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
123
        <option selected="selected" value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
124
    [% ELSE %]
124
    [% ELSE %]
125
        <option value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
125
        <option value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
126
    [% END %]
126
    [% END %]
127
    [% IF ms_ns %]
127
[% IF ms_ns %]
128
        <option selected="selected" value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
128
        <option selected="selected" value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
129
    [% ELSE %]
129
    [% ELSE %]
130
        <option value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
130
        <option value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
131
    [% END %]
131
    [% END %]
132
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
132
[% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
133
        [% IF ms_callnumcommaphr %]
133
[% IF ms_callnumcommaphr %]
134
            <option selected="selected" value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
134
            <option selected="selected" value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
135
        [% ELSE %]
135
        [% ELSE %]
136
            <option value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
136
            <option value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
137
        [% END %]
137
        [% END %]
138
    [% ELSE %]
138
    [% ELSE %]
139
        [% IF ms_callnum %]
139
[% IF ms_callnum %]
140
            <option selected="selected" value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
140
            <option selected="selected" value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
141
        [% ELSE %]
141
        [% ELSE %]
142
            <option value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
142
            <option value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
143
        [% END %]
143
        [% END %]
144
    [% END %]
144
    [% END %]
145
    [% IF ms_lncommartrn %]
145
[% IF ms_lncommartrn %]
146
        <option selected="selected" value="ln,rtrn">Language</option>
146
        <option selected="selected" value="ln,rtrn">Language</option>
147
    [% ELSE %]
147
    [% ELSE %]
148
        <option value="ln,rtrn">Language</option>
148
        <option value="ln,rtrn">Language</option>
149
    [% END %]
149
    [% END %]
150
    [% IF ms_nt %]
150
[% IF ms_nt %]
151
        <option selected="selected" value="nt">Notes/Comments</option>
151
        <option selected="selected" value="nt">Notes/Comments</option>
152
    [% ELSE %]
152
    [% ELSE %]
153
        <option value="nt">Notes/Comments</option>
153
        <option value="nt">Notes/Comments</option>
154
    [% END %]
154
    [% END %]
155
    [% IF (marcflavour != 'UNIMARC' ) %]
155
[% IF (marcflavour != 'UNIMARC' ) %]
156
        [% IF ms_curriculum %]
156
[% IF ms_curriculum %]
157
            <option selected="selected" value="curriculum">Curriculum</option>
157
            <option selected="selected" value="curriculum">Curriculum</option>
158
        [% ELSE %]
158
        [% ELSE %]
159
            <option value="curriculum">Curriculum</option>
159
            <option value="curriculum">Curriculum</option>
160
        [% END %]
160
        [% END %]
161
    [% END %]
161
    [% END %]
162
    [% IF ms_pb %]
162
[% IF ms_pb %]
163
        <option selected="selected" value="pb">Publisher</option>
163
        <option selected="selected" value="pb">Publisher</option>
164
    [% ELSE %]
164
    [% ELSE %]
165
        <option value="pb">Publisher</option>
165
        <option value="pb">Publisher</option>
166
    [% END %]
166
    [% END %]
167
    [% IF ms_pl %]
167
[% IF ms_pl %]
168
        <option selected="selected" value="pl">Publisher location</option>
168
        <option selected="selected" value="pl">Publisher location</option>
169
    [% ELSE %]
169
    [% ELSE %]
170
        <option value="pl">Publisher location</option>
170
        <option value="pl">Publisher location</option>
Lines 176-187 Link Here
176
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
176
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
177
    [%# This search is also for date ranges due to the %]
177
    [%# This search is also for date ranges due to the %]
178
    [%# special Zebra r=r CCL mapping for 'yr' %]
178
    [%# special Zebra r=r CCL mapping for 'yr' %]
179
    [% IF ms_yrcommastdashyear %]
179
[% IF ms_yrcommastdashyear %]
180
        <option selected="selected" value="yr,st-year">Publication date (yyyy-yyyy)</option>
180
        <option selected="selected" value="yr,st-year">Publication date (yyyy-yyyy)</option>
181
    [% ELSE %]
181
    [% ELSE %]
182
        <option value="yr,st-year">Publication date (yyyy-yyyy)</option>
182
        <option value="yr,st-year">Publication date (yyyy-yyyy)</option>
183
    [% END %]
183
    [% END %]
184
    [% IF ms_acqdatecommastdashdatedashnormalized %]
184
[% IF ms_acqdatecommastdashdatedashnormalized %]
185
        <option selected="selected" value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
185
        <option selected="selected" value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
186
    [% ELSE %]
186
    [% ELSE %]
187
        <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
187
        <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc (-36 / +51 lines)
Lines 1-39 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<!-- Begin Main page Resident Search Box -->
2
<!-- serials-search.inc -->
3
3
<div id="header_search" role="tablist">
4
<div id="header_search">
4
    <div class="tab-content">
5
    <div id="subscription_search" class="residentsearch">
5
        <div id="subscription_search" role="tabpanel" class="tab-pane active">
6
        <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
6
            <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
7
            [% IF ( routing ) %]
7
                [% IF ( routing ) %]
8
            <input type="hidden" name="routing" value="[% routing | html %]" />
8
                    <input type="hidden" name="routing" value="[% routing | html %]" />
9
            [% END %]
10
            <input type="hidden" name="searched" value="1" />
11
12
            <span class="form-title">
13
                <label class="control-label">Search subscriptions</label>
14
            </span>
15
16
            <span class="form-content">
17
                <input type="text" class="form-control" placeholder="ISSN" size="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
18
19
                [% IF (UNIMARC) %]
20
                    <input type="text" class="form-control" placeholder="EAN" size="11" name="EAN_filter" id="EAN_filter" value="[% EAN_filter | html %]" />
21
                [% END %]
9
                [% END %]
22
10
                <input type="hidden" name="searched" value="1" />
23
                <input type="text" class="form-control" placeholder="Title" size="11" name="title_filter" id="title_filter" value="[% title_filter | html %]" />
11
24
            </span>
12
                <div class="form-title">
25
13
                    <label class="control-label">Search subscriptions</label>
26
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
14
                </div>
27
        </form>
15
28
    </div>
16
                <div class="form-content">
29
17
                    <input type="text" class="form-control" placeholder="ISSN" size="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
30
    [% INCLUDE 'patron-search-box.inc' %]
18
31
    [% INCLUDE 'catalogue-search-box.inc' %]
19
                    [% IF (UNIMARC) %]
32
20
                        <input type="text" class="form-control" placeholder="EAN" size="11" name="EAN_filter" id="EAN_filter" value="[% EAN_filter | html %]" />
33
    <ul>
21
                    [% END %]
34
        <li><a title="Search subscriptions" href="#subscription_search" class="keep_text"><i class="fa fa-book"></i> <span class="tab-title">Search subscriptions</span></a></li>
22
35
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
23
                    <input type="text" class="form-control" placeholder="Title" size="11" name="title_filter" id="title_filter" value="[% title_filter | html %]" />
36
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
24
                </div>
25
26
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
27
            </form>
28
        </div>
29
30
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
31
            [% INCLUDE 'patron-search-box.inc' %]
32
        [% END %]
33
        [% IF ( CAN_user_catalogue ) %]
34
            [% INCLUDE 'catalogue-search-box.inc' %]
35
        [% END %]
36
37
    </div><!-- /.tab-content -->
38
    <ul class="nav nav-tabs" role="tablist">
39
        <li role="presentation" class="active">
40
            <a title="Search subscriptions" href="#subscription_search" aria-controls="subscription_search" aria-expanded="true" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-book"></i> <span class="tab-title">Search subscriptions</span></a>
41
        </li>
42
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
43
            <li role="presentation">
44
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
45
            </li>
46
        [% END %]
47
        [% IF ( CAN_user_catalogue ) %]
48
            <li role="presentation">
49
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
50
            </li>
51
        [% END %]
37
    </ul>
52
    </ul>
38
</div><!-- /header_search -->
53
</div><!-- /#header_search -->
39
<!-- End Serials Resident Search Box -->
54
<!-- /serials-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc (-24 / +40 lines)
Lines 1-32 Link Here
1
[% USE Koha %]
2
<div id="header_search">
3
1
4
    <div id="suggestions_search" class="residentsearch">
2
[% USE Koha %]
5
        <form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
3
<div id="header_search" role="tablist">
6
            <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
4
    <div class="tab-content">
7
5
8
            <span class="form-title">
6
        <div id="suggestions_search" role="tabpanel" class="tab-pane active">
9
                <label class="control-label">Search suggestions</label>
7
            <form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
10
            </span>
8
                <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
11
9
12
            <span class="form-content">
10
                <div class="form-title">
13
                <input type="text" id="searchtitle" class="head-searchbox form-control" placeholder="Title" name="title" size="10" value="[% title | html %]" />
11
                    <label class="control-label">Search suggestions</label>
14
                <input type="text" id="searchauthor" class="head-searchbox form-control" placeholder="Author"  name="author" size="10" value="[% author | html %]" />
12
                </div>
15
                <input type="text" class="head-searchbox form-control" placeholder="Publisher" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode | html %]" />
16
            </span>
17
13
18
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
14
                <div class="form-content">
19
        </form>
15
                    <input type="text" id="searchtitle" class="head-searchbox form-control" placeholder="Title" name="title" size="10" value="[% title | html %]" />
20
    </div>
16
                    <input type="text" id="searchauthor" class="head-searchbox form-control" placeholder="Author"  name="author" size="10" value="[% author | html %]" />
17
                    <input type="text" class="head-searchbox form-control" placeholder="Publisher" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode | html %]" />
18
                </div>
21
19
22
    [% INCLUDE 'patron-search-box.inc' %]
20
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
21
            </form>
22
        </div>
23
23
24
    [% INCLUDE 'catalogue-search-box.inc' %]
24
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
25
            [% INCLUDE 'patron-search-box.inc' %]
26
        [% END %]
25
27
26
    <ul>
28
        [% IF ( CAN_user_catalogue ) %]
27
        <li><a title="Search suggestions" href="#suggestions_search" class="keep_text"><i class="fa fa-comment-o"></i> <span class="tab-title">Search suggestions</span></a></li>
29
            [% INCLUDE 'catalogue-search-box.inc' %]
28
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
30
        [% END %]
29
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
31
    </div><!-- /.tab-content -->
32
    <ul class="nav nav-tabs" role="tablist">
33
        <li role="presentation" class="active">
34
            <a title="Search suggestions" href="#suggestions_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-comment-o"></i> <span class="tab-title">Search suggestions</span></a>
35
        </li>
36
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
37
            <li role="presentation">
38
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
39
            </li>
40
        [% END %]
41
        [% IF ( CAN_user_catalogue ) %]
42
            <li role="presentation">
43
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
44
            </li>
45
        [% END %]
30
    </ul>
46
    </ul>
31
</div>
47
</div><!-- /#header_search -->
32
<!-- End Suggestions Resident Search Box -->
48
<!-- /suggestions-add-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc (-22 / +37 lines)
Lines 1-28 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="header_search">
2
<!-- z3950-admin-search.inc -->
3
<div id="header_search" role="tablist">
4
    <div class="tab-content">
5
        <div id="z3950_search" role="tabpanel" class="tab-pane active">
6
            <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
7
                <div class="form-title">
8
                    <label class="control-label">Search Z39.50/SRU servers</label>
9
                </div>
3
10
4
    <div id="z3950_search" class="residentsearch">
11
                <div class="form-content">
5
        <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
12
                    <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search" />
6
            <span class="form-title">
13
                </div>
7
                <label class="control-label">Search Z39.50/SRU servers</label>
8
            </span>
9
14
10
            <span class="form-content">
15
                <button type="submit"><i class="fa fa-arrow-right"></i></button>
11
                <input class="head-searchbox form-control" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search" />
16
            </form>
12
            </span>
17
        </div>
13
18
14
            <button type="submit"><i class="fa fa-arrow-right"></i></button>
19
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
15
        </form>
20
            [% INCLUDE 'patron-search-box.inc' %]
16
    </div>
21
        [% END %]
22
        [% IF ( CAN_user_catalogue ) %]
23
            [% INCLUDE 'catalogue-search-box.inc' %]
24
        [% END %]
17
25
18
    [% INCLUDE 'patron-search-box.inc' %]
26
    </div><!-- /.tab-content -->
19
27
    <ul class="nav nav-tabs" role="tablist">
20
    [% INCLUDE 'catalogue-search-box.inc' %]
28
        <li role="presentation" class="active">
21
29
            <a title="Search Z39.50/SRU servers" href="#z3950_search" aria-controls="z3950_search" role="tab" aria-expanded="true" data-toggle="tab" class="keep_text"><i class="fa fa-search"></i> <span class="tab-title">Search Z39.50/SRU servers</span></a>
22
    <ul>
30
        </li>
23
        <li><a title="Search Z39.50/SRU servers" href="#z3950_search" class="keep_text"><i class="fa fa-search"></i> <span class="tab-title">Search Z39.50/SRU servers</span></a></li>
31
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
24
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><li><a title="Check out" href="#circ_search" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a></li>[% END %]
32
            <li role="presentation">
25
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" href="#catalog_search" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a></li>[% END %]
33
                <a title="Check out" href="#circ_search" aria-controls="circ_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-upload"></i> <span class="tab-title">Check out</span></a>
34
            </li>
35
        [% END %]
36
        [% IF ( CAN_user_catalogue ) %]
37
            <li role="presentation">
38
                <a title="Search catalog" href="#catalog_search" aria-controls="catalog_search" role="tab" data-toggle="tab" class="keep_text"><i class="fa fa-fw fa-search"></i> <span class="tab-title">Search catalog</span></a>
39
            </li>
40
        [% END %]
26
    </ul>
41
    </ul>
27
</div>
42
</div><!-- /#header_search -->
28
<!-- End Members Resident Search Box -->
43
<!-- /z3950-admin-search.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt (-1 / +1 lines)
Lines 719-725 Link Here
719
                $('.offline-returns').hide();
719
                $('.offline-returns').hide();
720
                $('.offline-circulation').hide();
720
                $('.offline-circulation').hide();
721
                $('.offline-circulation-instructions').show();
721
                $('.offline-circulation-instructions').show();
722
                $('#header_search').tabs("option", "active", 0);
722
                $('#header_search').selectTabByID("#circ_search");
723
                setTimeout(function() { $('#circ_search input[name="findborrower"]').trigger('focus'), 1 });
723
                setTimeout(function() { $('#circ_search input[name="findborrower"]').trigger('focus'), 1 });
724
            });
724
            });
725
725
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-15 / +38 lines)
Lines 45-73 $.fn.tabIndex = function () { Link Here
45
    return $(this).parent().children('div').index(this);
45
    return $(this).parent().children('div').index(this);
46
};
46
};
47
$.fn.selectTabByID = function (tabID) {
47
$.fn.selectTabByID = function (tabID) {
48
    $(this).tabs("option", "active", $( tabID ).tabIndex());
48
    $("a[href='" + tabID + "']", $(this) ).tab("show");
49
};
49
};
50
50
51
$(document).ready(function() {
51
$(document).ready(function() {
52
    $('#header_search').tabs({
52
53
        create: function( e, ui ){
53
    $(".tab-pane.active input:text:first").focus();
54
            ui.panel.find("input:text:first").focus();
54
    $("#header_search a[data-toggle='tab']").on("shown.bs.tab", function (e) {
55
        },
55
        $( e.target.hash ).find("input:text:first").focus();
56
        activate: function ( e, ui ) {
57
            ui.newPanel.find("input:text:first").focus();
58
        }
59
    });
56
    });
60
57
61
    $(".close").click(function(){ window.close(); });
58
    $(".close").click(function(){ window.close(); });
62
59
63
    $("#checkin_search form").preventDoubleFormSubmit();
60
    $("#checkin_search form").preventDoubleFormSubmit();
64
61
65
    if($("#header_search #checkin_search").length > 0){ shortcut.add('Alt+r',function (){ $("#header_search").selectTabByID("#checkin_search"); $("#ret_barcode").focus(); }); } else { shortcut.add('Alt+r',function (){ location.href="/cgi-bin/koha/circ/returns.pl"; }); }
62
    if($("#header_search #checkin_search").length > 0){
66
    if($("#header_search #circ_search").length > 0){ shortcut.add('Alt+u',function (){ $("#header_search").selectTabByID("#circ_search"); $("#findborrower").focus(); }); } else { shortcut.add('Alt+u',function(){ location.href="/cgi-bin/koha/circ/circulation.pl"; }); }
63
        shortcut.add('Alt+r',function (){
67
    if($("#header_search #catalog_search").length > 0){ shortcut.add('Alt+q',function (){ $("#header_search").selectTabByID("#catalog_search"); $("#search-form").focus(); }); } else { shortcut.add('Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; }); }
64
            $("#header_search").selectTabByID("#checkin_search");
68
    if($("#header_search #renew_search").length > 0){ shortcut.add('Alt+w',function (){ $("#header_search").selectTabByID("#renew_search"); $("#ren_barcode").focus(); }); } else { shortcut.add('Alt+w',function(){ location.href="/cgi-bin/koha/circ/renew.pl"; }); }
65
            $("#ret_barcode").focus();
69
66
        });
70
    $("#header_search > ul > li").show();
67
    } else {
68
        shortcut.add('Alt+r',function (){
69
            location.href="/cgi-bin/koha/circ/returns.pl"; });
70
    }
71
    if($("#header_search #circ_search").length > 0){
72
        shortcut.add('Alt+u',function (){
73
            $("#header_search").selectTabByID("#circ_search");
74
            $("#findborrower").focus();
75
        });
76
    } else {
77
        shortcut.add('Alt+u',function(){ location.href="/cgi-bin/koha/circ/circulation.pl"; });
78
    }
79
    if($("#header_search #catalog_search").length > 0){
80
        shortcut.add('Alt+q',function (){
81
            $("#header_search").selectTabByID("#catalog_search");
82
            $("#search-form").focus();
83
        });
84
    } else {
85
        shortcut.add('Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; });
86
    }
87
    if($("#header_search #renew_search").length > 0){
88
        shortcut.add('Alt+w',function (){
89
            $("#header_search").selectTabByID("#renew_search");
90
            $("#ren_barcode").focus();
91
        });
92
    } else {
93
        shortcut.add('Alt+w',function(){ location.href="/cgi-bin/koha/circ/renew.pl"; });
94
    }
71
95
72
    $('#header_search .form-extra-content-toggle').on('click', function () {
96
    $('#header_search .form-extra-content-toggle').on('click', function () {
73
        const extraContent = $(this).closest('form').find('.form-extra-content');
97
        const extraContent = $(this).closest('form').find('.form-extra-content');
74
- 

Return to bug 32683