diff --git a/package-lock.json b/package-lock.json index 85faf46..93dbed3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,9 +32,9 @@ "integrity": "sha512-6v0WK8FHkVYbNQZ7L9O5tP8280pgTBR9ydxqYwssMuUH6SZO70ZFK/NQ1Ob8nNmOOzpUJAzT0WE73ty96z1tAQ==" }, "litepicker": { - "version": "1.5.7", - "resolved": "https://registry.npmjs.org/litepicker/-/litepicker-1.5.7.tgz", - "integrity": "sha512-4L2ZcF8iqCE4A/qGWS3PbdFplZR1g751x5SsZ87zCRZ4LQN1Fgezarnvqi0eHk/kDWK7Qx0HZ9Y4bNznJMF1xA==" + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/litepicker/-/litepicker-2.0.11.tgz", + "integrity": "sha512-7MECMp2EDGIYDIz9QT24t9hWpgBD9JD57ZdDrbffNMGfbw0JVhBhvlYsyaIUuYhywtLvgmI5lfulM7XF2HLEkg==" }, "svg.draggable.js": { "version": "2.2.2", diff --git a/package.json b/package.json index 4637fd3..bfc0748 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,6 @@ "a17t": "^0.5.1", "apexcharts": "^3.24.0", "inter-ui": "^3.15.0", - "litepicker": "^1.5.7" + "litepicker": "^2.0.11" } } diff --git a/shynet/dashboard/templates/base.html b/shynet/dashboard/templates/base.html index e33a5f3..9744fc3 100644 --- a/shynet/dashboard/templates/base.html +++ b/shynet/dashboard/templates/base.html @@ -10,7 +10,10 @@ {% include 'a17t/includes/head.html' %} - + + + + {% block extra_head %} @@ -121,4 +124,4 @@ {% endblock %} - \ No newline at end of file + diff --git a/shynet/dashboard/templates/dashboard/includes/date_range.html b/shynet/dashboard/templates/dashboard/includes/date_range.html index 1591f04..895ac08 100644 --- a/shynet/dashboard/templates/dashboard/includes/date_range.html +++ b/shynet/dashboard/templates/dashboard/includes/date_range.html @@ -17,6 +17,7 @@ \ No newline at end of file + diff --git a/shynet/shynet/settings.py b/shynet/shynet/settings.py index 9bd510e..3745510 100644 --- a/shynet/shynet/settings.py +++ b/shynet/shynet/settings.py @@ -301,7 +301,11 @@ NPM_ROOT_PATH = "../" NPM_FILE_PATTERNS = { "a17t": [os.path.join("dist", "a17t.css"), os.path.join("dist", "tailwind.css")], "apexcharts": [os.path.join("dist", "apexcharts.min.js")], - "litepicker": [os.path.join("dist", "js", "main.js")], + "litepicker": [ + os.path.join("dist", "nocss", "litepicker.js"), + os.path.join("dist", "css", "litepicker.css"), + os.path.join("dist", "plugins", "ranges.js"), + ], "turbolinks": [os.path.join("dist", "turbolinks.js")], "stimulus": [os.path.join("dist", "stimulus.umd.js")], "inter-ui": [os.path.join("Inter (web)", "*")],