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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+11 lines)
Lines 2948-2953 button, Link Here
2948
        }
2948
        }
2949
    }
2949
    }
2950
2950
2951
    &.btn-info {
2952
        color: #fff;
2953
        background-color: #194EA3;
2954
        border-color: #0B439D;
2955
    }
2956
2957
    &.btn-success {
2958
        background-color: #419641;
2959
        border-color: #398339;
2960
    }
2961
2951
    &.btn-danger {
2962
    &.btn-danger {
2952
        background-color: #CC3333;
2963
        background-color: #CC3333;
2953
        border-color: #9B2323;
2964
        border-color: #9B2323;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc (-2 / +2 lines)
Lines 109-115 Link Here
109
                            [% FOREACH consent IN consents %]
109
                            [% FOREACH consent IN consents %]
110
                                <div class="consentModalItem">
110
                                <div class="consentModalItem">
111
                                    <div class="consentItemCheckbox">
111
                                    <div class="consentItemCheckbox">
112
                                        <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]">
112
                                        <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]" aria-label="Consent to cookie">
113
                                    </div>
113
                                    </div>
114
                                    <div class="consentItemMeta">
114
                                    <div class="consentItemMeta">
115
                                        <div class="consentItemName">[% consent.name | html %]</div>
115
                                        <div class="consentItemName">[% consent.name | html %]</div>
Lines 124-130 Link Here
124
                            <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
124
                            <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
125
                            [% IF ( Koha.Preference( 'ConsentJS' ).length > 0 ) %]
125
                            [% IF ( Koha.Preference( 'ConsentJS' ).length > 0 ) %]
126
                                <button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button>
126
                                <button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button>
127
                                <button type="button" class="btn btn-warning" id="consentAcceptSelected">Accept selected non-essential cookies</button>
127
                                <button type="button" class="btn btn-success" id="consentAcceptSelected">Accept selected non-essential cookies</button>
128
                            [% END %]
128
                            [% END %]
129
                        </div>
129
                        </div>
130
                    </div>
130
                    </div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (-1 / +2 lines)
Lines 2927-2934 $star-selected: #EDB867; Link Here
2927
    margin-top: 10px;
2927
    margin-top: 10px;
2928
}
2928
}
2929
2929
2930
#patronconsents h5 {
2930
#patronconsents h2 {
2931
    margin-top: 30px;
2931
    margin-top: 30px;
2932
    font-size: 1.1rem;
2932
}
2933
}
2933
2934
2934
@import "responsive";
2935
@import "responsive";
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-2 / +2 lines)
Lines 460-466 Link Here
460
                <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
460
                <button type="button" class="btn btn-primary consentAcceptAll">Accept all cookies</button>
461
                [% IF ( Koha.Preference( 'ConsentJS' ).length > 0 ) %]
461
                [% IF ( Koha.Preference( 'ConsentJS' ).length > 0 ) %]
462
                    <button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button>
462
                    <button type="button" class="btn btn-primary consentAcceptEssential">Accept only essential cookies</button>
463
                    <button type="button" class="btn btn-info" id="consentMoreInfo">More information</button>
463
                    <button type="button" class="btn btn-info" id="consentMoreInfo" aria-label="Click to view more information about your cookie consents">More information</button>
464
                [% END %]
464
                [% END %]
465
            </div>
465
            </div>
466
        </div> <!-- /#cookieConsentBar -->
466
        </div> <!-- /#cookieConsentBar -->
Lines 482-488 Link Here
482
                            [% FOREACH consent IN consents %]
482
                            [% FOREACH consent IN consents %]
483
                                <div class="consentModalItem">
483
                                <div class="consentModalItem">
484
                                    <div class="consentItemCheckbox">
484
                                    <div class="consentItemCheckbox">
485
                                        <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]">
485
                                        <input class="consentCheckbox" type="checkbox" name="consentCheckbox" value="[% consent.id | html %]" aria-label="Consent to cookie">
486
                                    </div>
486
                                    </div>
487
                                    <div class="consentItemMeta">
487
                                    <div class="consentItemMeta">
488
                                        <div class="consentItemName">[% consent.name | html %]</div>
488
                                        <div class="consentItemName">[% consent.name | html %]</div>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-patron-consent.tt (-2 / +1 lines)
Lines 71-77 Link Here
71
                    </form>
71
                    </form>
72
72
73
                    [% IF Koha.Preference('CookieConsent') %]
73
                    [% IF Koha.Preference('CookieConsent') %]
74
                        <h5>Cookie consents</h5>
74
                        <h2>Cookie consents</h2>
75
                        <button id="viewCookieConsents" type="button" class="btn btn-success">View your cookie consents</button>
75
                        <button id="viewCookieConsents" type="button" class="btn btn-success">View your cookie consents</button>
76
                    [% END %]
76
                    [% END %]
77
77
78
- 

Return to bug 27378