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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+8 lines)
Lines 1425-1430 dd { Link Here
1425
    display: inline-block;
1425
    display: inline-block;
1426
}
1426
}
1427
1427
1428
.patron_autocomplete {
1429
    border: 1px solid #C7C7CE;
1430
    border-radius: .3rem;
1431
    line-height: 1.5;
1432
    padding: .375rem .75rem;
1433
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
1434
}
1435
1428
#addColumn,
1436
#addColumn,
1429
#delColumn {
1437
#delColumn {
1430
    background-color: transparent;
1438
    background-color: transparent;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-10 / +1 lines)
Lines 31-45 Link Here
31
            display: flex;
31
            display: flex;
32
            gap: 0.5rem;
32
            gap: 0.5rem;
33
        }
33
        }
34
        #patron_checkout_search input[type="text"] {
35
            border: 1px solid #c7c7ce;
36
            border-radius: 0.3rem;
37
            line-height: 1.5;
38
            padding: 0.375rem 0.75rem;
39
            transition:
40
                border-color 0.15s ease-in-out,
41
                box-shadow 0.15s ease-in-out;
42
        }
43
    </style>
34
    </style>
44
[% END %]
35
[% END %]
45
</head>
36
</head>
Lines 1021-1027 Link Here
1021
    [% ELSE %]
1012
    [% ELSE %]
1022
        <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="get">
1013
        <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="get">
1023
            <fieldset id="patron_checkout_search">
1014
            <fieldset id="patron_checkout_search">
1024
                <input autocomplete="off" id="findborrower_main" name="findborrower" type="text" placeholder="Enter patron card number or partial name" size="40" />
1015
                <input autocomplete="off" id="findborrower_main" class="patron_autocomplete" name="findborrower" type="text" placeholder="Enter patron card number or partial name" size="40" />
1025
                [% IF ( stickyduedate ) %]
1016
                [% IF ( stickyduedate ) %]
1026
                    <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
1017
                    <input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
1027
                    <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
1018
                    <input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-26 / +25 lines)
Lines 27-37 Link Here
27
    [% END %]</title
27
    [% END %]</title
28
>
28
>
29
[% INCLUDE 'doc-head-close.inc' %]
29
[% INCLUDE 'doc-head-close.inc' %]
30
<style>
30
[% FILTER collapse %]
31
    textarea {
31
    <style>
32
        width: 100%;
32
        textarea {
33
    }
33
            width: 100%;
34
</style>
34
        }
35
    </style>
36
[% END %]
35
37
36
[% BLOCK list_permissions %]
38
[% BLOCK list_permissions %]
37
    <li>
39
    <li>
Lines 211-238 Link Here
211
213
212
        <form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="transferform" method="post">
214
        <form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="transferform" method="post">
213
            [% INCLUDE 'csrf-token.inc' %]
215
            [% INCLUDE 'csrf-token.inc' %]
214
            <fieldset>
216
            <fieldset class="rows">
217
                <legend class="visually-hidden">Transfer ownership</legend>
215
                <input type="hidden" name="op" value="cud-transfer" />
218
                <input type="hidden" name="op" value="cud-transfer" />
216
                <input type="hidden" name="public" value="1" />
219
                <input type="hidden" name="public" value="1" />
217
                <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
220
                <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" />
218
221
                <ol>
219
                <div>
222
                    <li>
220
                    <label for="find_patron">Search for new owner: </label>
223
                        <label for="find_patron">Search for new owner: </label>
221
                    <input autocomplete="off" id="find_patron" type="text" style="width:150px" class="noEnterSubmit" />
224
                        <input autocomplete="off" id="find_patron" type="text" size="40" class="patron_autocomplete noEnterSubmit" placeholder="Enter patron card number or partial name" />
222
                </div>
225
                    </li>
223
226
                    <li style="display:none">
224
                <br />
227
                        <label for="find_patron">New owner: </label>
225
                <div>
228
                        <span id="new_owner_name"></span>
226
                    <label for="find_patron">New owner: </label>
229
                        <input type="hidden" id="new_owner" name="new_owner" value="" />
227
                    <span id="new_owner_name"></span>
230
                    </li>
228
                    <input type="hidden" id="new_owner" name="new_owner" value="" />
231
                </ol>
229
                </div>
232
            </fieldset>
230
233
            <fieldset class="action">
231
                <br />
234
                <input type="submit" class="btn btn-primary" value="Transfer" />
232
                <fieldset class="action">
235
                <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&amp;public=1" class="cancel">Cancel</a>
233
                    <input type="submit" class="btn btn-primary" value="Transfer" />
234
                    <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&amp;public=1" class="cancel">Cancel</a>
235
                </fieldset>
236
            </fieldset>
236
            </fieldset>
237
        </form>
237
        </form>
238
    [% END # /IF op == transfer %]
238
    [% END # /IF op == transfer %]
Lines 969-975 Link Here
969
            $(document).ready(function() {
969
            $(document).ready(function() {
970
                patron_autocomplete( $("#find_patron"), { 'on-select-callback': function( event, ui ) {
970
                patron_autocomplete( $("#find_patron"), { 'on-select-callback': function( event, ui ) {
971
                    $('#new_owner_name').html( ui.item.firstname + " " + ui.item.surname );
971
                    $('#new_owner_name').html( ui.item.firstname + " " + ui.item.surname );
972
                    $('#new_owner').val( ui.item.patron_id );
972
                    $('#new_owner').val( ui.item.patron_id ).parent().show();
973
                    $('#find_patron').val('').focus();
973
                    $('#find_patron').val('').focus();
974
                    return false;
974
                    return false;
975
                }});
975
                }});
976
- 

Return to bug 40498