FEATURE: add bootstrap datepicker. All elements with .date class are now datepicker holders

This commit is contained in:
Michal Kváček
2017-09-25 23:22:25 +02:00
parent 271e7f5170
commit c69bd9bcf7
7 changed files with 19 additions and 5 deletions
-1
View File
@@ -437,5 +437,4 @@ img {
white-space: nowrap;
background: none;
border: 0;
}
+4
View File
@@ -20,6 +20,10 @@ $ (document).ready (function () {
$ ('form').areYouSure ();
});
$ ('.date').datepicker ({
format: 'dd. mm. yyyy'
});
$ ('.checkbox').change (function () {
var e = $ (this);
var checked = e.is (':checked');
@@ -19,7 +19,7 @@
basicEntities: false,
entities_greek: false,
entities_latin: false,
height: 550,
height: {{$height or 550}},
removePlugins: 'about,scayt', //elementspath
extraPlugins: 'justify',
enterMode: CKEDITOR.ENTER_P,