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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (-7 / +8 lines)
Lines 968-974 tr.highlight th[scope=row] { Link Here
968
	margin: .2em 0;
968
	margin: .2em 0;
969
}
969
}
970
970
971
.date-select {
971
.date-select,
972
.onsite_checkout-select {
972
    font-size : 85%;
973
    font-size : 85%;
973
    padding-top : .3em;
974
    padding-top : .3em;
974
}
975
}
Lines 2715-2730 span.browse-button { Link Here
2715
    color : #FFF;
2716
    color : #FFF;
2716
}
2717
}
2717
2718
2718
.onsite_checkout-select {
2719
    font-size : 85%;
2720
    font-weight: normal;
2721
    padding-top : .3em;
2722
}
2723
#circ_circulation_issue .onsite_checkout-select label,
2719
#circ_circulation_issue .onsite_checkout-select label,
2724
.onsite_checkout-select label {
2720
.onsite_checkout-select label {
2725
    font-size : inherit;
2721
    font-size : inherit;
2726
    font-weight: normal;
2722
    font-weight: normal;
2727
}
2723
}
2728
span.onsite_checkout {
2724
span.onsite_checkout {
2729
    color: red;
2725
    color: #cc0000;
2730
}
2726
}
2727
.onsite-checkout-only {
2728
    background-color : rgba(255, 242, 206, 0.5);
2729
    border-radius: 4px;
2730
    border : 1px solid #FFF2CE;
2731
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-21 / +30 lines)
Lines 536-564 No patron matched <span class="ex">[% message %]</span> Link Here
536
        <label for="auto_renew">Automatic renewal</label>
536
        <label for="auto_renew">Automatic renewal</label>
537
    </div>
537
    </div>
538
538
539
    [% IF ( SpecifyDueDate ) %]<div class="date-select">
539
    [% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %]
540
        <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
540
        [% IF ( SpecifyDueDate ) %]
541
        [% IF ( duedatespec ) %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" />[% ELSE %]<input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" />
541
            <div class="date-select">
542
[% END %]
542
                <div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div>
543
          <label for="stickyduedate"> Remember for session:</label>
543
                [% IF ( duedatespec ) %]
544
[% IF ( stickyduedate ) %]
544
                    <input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" />
545
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
545
                [% ELSE %]
546
[% ELSE %]
546
                    <input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" />
547
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
547
                [% END %]
548
[% END %]
548
                <label for="stickyduedate"> Remember for session:</label>
549
          <button class="btn btn-small action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button>
549
                [% IF ( stickyduedate ) %]
550
</div>[% END %]
550
                    <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" />
551
                [% ELSE %]
552
                    <input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" />
553
                [% END %]
554
                <button class="btn btn-small action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button>
555
            </div>
556
        [% END %]
557
    [% END %]
551
558
552
      [% IF Koha.Preference('OnSiteCheckouts') %]
559
    [% IF Koha.Preference('OnSiteCheckouts') %]
553
        <div class="onsite_checkout-select">
560
        <div class="onsite_checkout-select">
554
          [% IF noissues %]
561
            [% IF noissues %]
555
            <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkout</label>
562
                <div class="onsite-checkout-only">
556
            <input type="hidden" name="onsite_checkout" checked="checked" value="1" />
563
                    <input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label>
557
          [% ELSE %]
564
                    <input type="text" name="duedatespec" id="duedatespec" readonly="readonly" />
558
            <input type="checkbox" id="onsite_checkout" name="onsite_checkout" /> <label for="onsite_checkout">On-site checkout</label>
565
                    <input type="hidden" name="onsite_checkout" checked="checked" value="1" />
559
          [% END %]
566
                </div>
567
            [% ELSE %]
568
                <input type="checkbox" id="onsite_checkout" name="onsite_checkout" /> <label for="onsite_checkout">On-site checkout</label>
569
            [% END %]
560
        </div>
570
        </div>
561
      [% END %]
571
    [% END %]
562
572
563
          <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
573
          <input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" />
564
          <input type="hidden" name="branch" value="[% branch %]" />
574
          <input type="hidden" name="branch" value="[% branch %]" />
565
- 

Return to bug 13183