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

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (+8 lines)
Lines 455-460 th { Link Here
455
    }
455
    }
456
}
456
}
457
457
458
.form-control-filtered {
459
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-funnel-fill'%3E%3Cpath d='M1.5 1.5A.5.5 0 0 1 2 1h12a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.128.334L10 8.692V13.5a.5.5 0 0 1-.342.474l-3 1A.5.5 0 0 1 6 14.5V8.692L1.628 3.834A.5.5 0 0 1 1.5 3.5v-2z' fill='%23acacac'/%3E%3C/svg%3E");
460
    background-position-x: 6px;
461
    background-position-y: center;
462
    background-repeat: no-repeat;
463
    padding-left: 1.7rem;
464
}
465
458
#numresults {
466
#numresults {
459
    color: #727272;
467
    color: #727272;
460
}
468
}
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-12 / +3 lines)
Lines 163-177 Link Here
163
                                [% ELSE %]
163
                                [% ELSE %]
164
                                    <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
164
                                    <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform">
165
                                        <div class="form-row align-items-center">
165
                                        <div class="form-row align-items-center">
166
                                            <div class="col-sm-auto order-1 order-sm-1">
167
                                                [% UNLESS ( Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 ) %]
168
                                                    [% IF ( mylibraryfirst ) %]
169
                                                        <span title="Search in [% Branches.GetName( mylibraryfirst ) | html %] only">
170
                                                            <i class="fa fa-question-circle-o" aria-hidden="true"></i>
171
                                                        </span>
172
                                                    [% END %]
173
                                                [% END %]
174
                                            </div>
175
                                            <div class="col-sm-auto order-2 order-sm-2">
166
                                            <div class="col-sm-auto order-2 order-sm-2">
176
                                                <select name="idx" id="masthead_search" class="form-control">
167
                                                <select name="idx" id="masthead_search" class="form-control">
177
                                                    [% IF ( ms_kw ) %]
168
                                                    [% IF ( ms_kw ) %]
Lines 226-235 Link Here
226
                                            </div> <!-- /.col-sm-auto -->
217
                                            </div> <!-- /.col-sm-auto -->
227
218
228
                                            <div class="col order-4 order-sm-3">
219
                                            <div class="col order-4 order-sm-3">
229
                                                [% IF ( ms_value ) %]
220
                                                [% IF ( !Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 && mylibraryfirst ) %]
230
                                                    <input type="text" title="Type search term" class="transl1 form-control" id="translControl1" name="q" value="[% ms_value | html %]" /><span id="translControl"></span>
221
                                                    <input type="text" class="transl1 form-control form-control-filtered" id="translControl1" name="q" value="[% ms_value | html %]" data-toggle="tooltip" data-placement="top" title="Searching in [% Branches.GetName( mylibraryfirst ) | html %] only" /><span id="translControl"></span>
231
                                                [% ELSE %]
222
                                                [% ELSE %]
232
                                                    <input type="text" title="Type search term" class="transl1 form-control" id="translControl1" name="q" /><span id="translControl"></span>
223
                                                    <input type="text" class="transl1 form-control" id="translControl1" name="q" value="[% ms_value | html %]" /><span id="translControl"></span>
233
                                                [% END # /ms_value %]
224
                                                [% END # /ms_value %]
234
                                            </div> <!-- /.col -->
225
                                            </div> <!-- /.col -->
235
226
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/global.js (-1 / +2 lines)
Lines 229-232 $(document).ready(function(){ Link Here
229
            content.first().find(':focusable').eq(0).focus();
229
            content.first().find(':focusable').eq(0).focus();
230
        }
230
        }
231
    });
231
    });
232
233
    $('[data-toggle="tooltip"]').tooltip();
232
});
234
});
233
- 

Return to bug 29066