From 3a0b961f3c9cee0deb0757f63a6d1a8c45df8df5 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 29 Mar 2021 22:45:00 +0200 Subject: chg: [JavaScript] Updated bootstrap-select --- newspipe/templates/edit_category.html | 12 +++++++++++- newspipe/templates/layout.html | 1 + package-lock.json | 17 +++++++++++------ package.json | 5 +++-- 4 files changed, 26 insertions(+), 9 deletions(-) diff --git a/newspipe/templates/edit_category.html b/newspipe/templates/edit_category.html index befbd3b9..4293215c 100644 --- a/newspipe/templates/edit_category.html +++ b/newspipe/templates/edit_category.html @@ -15,7 +15,7 @@
- {{ form.feeds(class_="", **{'data-live-search':'true', 'data-width':'auto'}) }} + {{ form.feeds(class_="selectpicker", **{'data-live-search':'true', 'data-width':'auto'}) }}
{% for error in form.feeds.errors %} {{ error }}
{% endfor %}
@@ -27,4 +27,14 @@ + {% endblock %} diff --git a/newspipe/templates/layout.html b/newspipe/templates/layout.html index 7cd98316..525eb426 100644 --- a/newspipe/templates/layout.html +++ b/newspipe/templates/layout.html @@ -15,6 +15,7 @@ + {% endblock %} diff --git a/package-lock.json b/package-lock.json index ae6a540f..6794a810 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,14 +5,19 @@ "requires": true, "dependencies": { "@popperjs/core": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.5.4.tgz", - "integrity": "sha512-ZpKr+WTb8zsajqgDkvCEWgp6d5eJT6Q63Ng2neTbzBO76Lbe91vX/iVIW9dikq+Fs3yEo+ls4cxeXABD2LtcbQ==" + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.9.1.tgz", + "integrity": "sha512-DvJbbn3dUgMxDnJLH+RZQPnXak1h4ZVYQ7CWiFWjQwBFkVajT4rfw2PdpHLTSTwxrYfnoEXkuBiwkDm6tPMQeA==" }, "bootstrap": { - "version": "5.0.0-beta1", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.0-beta1.tgz", - "integrity": "sha512-UrHApw/WRmT7l2rlDdn5iXr7Jps/LlMZtJlLn9G41aGDfss48hyDeYyHtX1C6NHKVcmdUarGG+ve0LZB5iHyTQ==" + "version": "5.0.0-beta3", + "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-5.0.0-beta3.tgz", + "integrity": "sha512-0urccjfIOzhrb9qJysN8XW/DRw6rg3zH7qLeKIp4Zyl8+Ens4JWB0NC0cB5AhnSFPd2tftRggjwCMxablo6Tpg==" + }, + "bootstrap-select": { + "version": "1.14.0-beta2", + "resolved": "https://registry.npmjs.org/bootstrap-select/-/bootstrap-select-1.14.0-beta2.tgz", + "integrity": "sha512-Q63QUbConUwA+/Te7tCJcv0nE3SI/J+rNI5A1mdX1KxP6lW0pFQy+4KVP6VwgZEcwkoPfrwjvAo6WT7fdl+Sdg==" }, "fork-awesome": { "version": "1.1.7", diff --git a/package.json b/package.json index 4f0c8f9f..ddf28503 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "license": "AGPL-3.0", "private": true, "dependencies": { - "@popperjs/core": "^2.5.4", - "bootstrap": "^5.0.0-beta1", + "@popperjs/core": "^2.9.1", + "bootstrap": "^5.0.0-beta3", + "bootstrap-select": "^1.14.0-beta2", "fork-awesome": "^1.1.7", "moment": "^2.29.1" }, -- cgit