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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+10 lines)
Lines 485-490 input { Link Here
485
        border-color: #900;
485
        border-color: #900;
486
    }
486
    }
487
487
488
    &.hasDatepicker {
489
        background-image: url("../img/famfamfam/silk/calendar.png");
490
        background-position-x: right;
491
        background-position-y: center;
492
        background-repeat: no-repeat;
493
        border-style: inset outset outset inset;
494
        border-width: 1px;
495
        padding-right: 18px;
496
    }
497
488
    &.submit {
498
    &.submit {
489
        @include default-button;
499
        @include default-button;
490
500
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-7 / +2 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<script type="text/javascript">
2
<script>
3
//<![CDATA[
4
3
5
var debug    = "[% debug | html %]";
4
var debug    = "[% debug | html %]";
6
var dformat  = "[% dateformat | html %]";
5
var dformat  = "[% dateformat | html %]";
Lines 161-171 function(value, element, params) { Link Here
161
$(document).ready(function(){
160
$(document).ready(function(){
162
161
163
$.datepicker.setDefaults({
162
$.datepicker.setDefaults({
164
        showOn: "both",
163
        showOn: "focus",
165
        changeMonth: true,
164
        changeMonth: true,
166
        changeYear: true,
165
        changeYear: true,
167
        buttonImage: '[% interface | html %]/[% theme | html %]/img/famfamfam/silk/calendar.png',
168
        buttonImageOnly: true,
169
        showButtonPanel: true,
166
        showButtonPanel: true,
170
        showOtherMonths: true,
167
        showOtherMonths: true,
171
        selectOtherMonths: true,
168
        selectOtherMonths: true,
Lines 203-207 $("#dateofbirth").datepicker({ Link Here
203
        if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");}
200
        if ( ! is_valid_date( $(this).val() ) ) {$(this).val("");}
204
    });
201
    });
205
});
202
});
206
//]]>
207
</script>
203
</script>
208
- 

Return to bug 20729