diff --git a/winixd/html/index_head_adder.html b/winixd/html/index_head_adder.html index 8a5fff2..cdf9775 100644 --- a/winixd/html/index_head_adder.html +++ b/winixd/html/index_head_adder.html @@ -20,6 +20,9 @@ [def? winix_load_litepicker false] +[def? winix_load_easepick false] +[def? winix_easepick_version "1.2.0"] + [def? winix_load_winixjs true] @@ -485,7 +488,7 @@ cm.save() [# in bundle.js there are all plugins, you can use litepicker.js to load the datepicker without plugins] - + [if false] [# can be inserted in this way: ] @@ -493,13 +496,75 @@ cm.save() const picker = new Litepicker(\{ element: document.getElementById('my-input-id'), plugins: \['mobilefriendly'\], - lang: "{winix_html_lang_attr}" + lang: '{winix_html_lang_attr}' \}); [end] [end] +[if winix_load_easepick] + [# https://easepick.com/] + + + + [if false] + + [# can be inserted in this way (only date picker with a lock plugin - remove lock plugin if you don't need it) ] + + + [# or this way (two panels date and time picker with a range selection plugin and cancel and apply buttons) ] + + [end] + + +[end] + + + [if false] [# temporarily blocked] [if winix_has_plugin "stats"] diff --git a/winixd/locale/en b/winixd/locale/en index 38dd8d7..ff62caa 100644 --- a/winixd/locale/en +++ b/winixd/locale/en @@ -687,3 +687,8 @@ seo_keywords = Keywords flatpickr_locale_url = "none" flatpickr_locale_config_prefix = "" +easepick_cancel_button = Cancel +easepick_apply_button = Apply +easepick_one_day = day +easepick_more_days = days + diff --git a/winixd/locale/pl b/winixd/locale/pl index 1be1184..07eaded 100644 --- a/winixd/locale/pl +++ b/winixd/locale/pl @@ -705,3 +705,9 @@ seo_keywords = "Słowa kluczowe (tag meta keywords)" flatpickr_locale_url = "pl.js" flatpickr_locale_config_prefix = "pl" + +easepick_cancel_button = Anuluj +easepick_apply_button = Zastosuj +easepick_one_day = dzień +easepick_more_days = dni +