diff --git a/winixd/html/index_head_adder.html b/winixd/html/index_head_adder.html index d6dc110..34b7168 100644 --- a/winixd/html/index_head_adder.html +++ b/winixd/html/index_head_adder.html @@ -11,6 +11,12 @@ [def? winix_load_uikit true] [def? winix_load_htmx true] +[def? winix_load_clocklet false] +[def? winix_clocklet_uikit_theme true] + +[def? winix_load_flatpickr false] + +[def? winix_load_litepicker false] [if winix_set_charset] @@ -307,6 +313,72 @@ cm.save() [end] + +[if winix_load_clocklet] + [# https://github.com/luncheon/clocklet ] + [# https://luncheon.github.io/clocklet/demo.html - color samples here too] + + + + [if winix_clocklet_uikit_theme] + + [end] + +[end] + +[if winix_load_flatpickr] + [# date picker, time picker, date and time picker, date range picker (selecting time works only for the first day), available different themes ] + [# the datepicker on mobile devices is a native datepicker (this functionality can be disabled via disableMobile option) ] + [# https://flatpickr.js.org ] + [# https://github.com/flatpickr/flatpickr ] + [# options: https://flatpickr.js.org/options/ ] + + + + + [if is_not [lang "flatpickr_locale_url"] "none"] + + + + [end] + + [if false] + [# can be inserted in this way: ] + + [end] + +[end] + + +[if winix_load_litepicker] + [# date picker and date range picker ] + [# can show a dialog with more than one month, config parameters: numberOfColumns and numberOfMonths] + [# https://litepicker.com ] + [# https://github.com/wakirin/litepicker/ ] + [# options: https://litepicker.com/docs/options ] + + [# 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: ] + + [end] +[end] + + [if false] [# temporarily blocked] [if winix_has_plugin "stats"] diff --git a/winixd/locale/en b/winixd/locale/en index 8daa28d..6b02863 100644 --- a/winixd/locale/en +++ b/winixd/locale/en @@ -667,6 +667,6 @@ seo_description = Description seo_keywords = Keywords - - +flatpickr_locale_url = "none" +flatpickr_locale_config_prefix = "" diff --git a/winixd/locale/pl b/winixd/locale/pl index bf38782..d5bd5c9 100644 --- a/winixd/locale/pl +++ b/winixd/locale/pl @@ -684,5 +684,6 @@ seo_keywords = "SÅ‚owa kluczowe (tag meta keywords)" - +flatpickr_locale_url = "pl.js" +flatpickr_locale_config_prefix = "pl"