-
{% endblock %}
diff --git a/airflow/www/webpack.config.js b/airflow/www/webpack.config.js
index 98bcd04c09b03..3424e439c3757 100644
--- a/airflow/www/webpack.config.js
+++ b/airflow/www/webpack.config.js
@@ -40,6 +40,7 @@ const config = {
'task-instances': `${STATIC_DIR}/js/task-instances.js`,
ganttChartD3v2: `${STATIC_DIR}/js/gantt-chart-d3v2.js`,
main: `${STATIC_DIR}/css/main.css`,
+ switch: `${STATIC_DIR}/css/switch.css`,
airflowDefaultTheme: `${STATIC_DIR}/css/bootstrap-theme.css`,
moment: 'moment-timezone',
},
@@ -145,9 +146,6 @@ const config = {
}, {
from: 'node_modules/bootstrap-3-typeahead/*min.*',
flatten: true
- }, {
- from: 'node_modules/bootstrap-toggle/**/*bootstrap-toggle.min.*',
- flatten: true,
}, {
from: 'node_modules/datatables.net/**/**.min.*',
flatten: true
diff --git a/airflow/www/yarn.lock b/airflow/www/yarn.lock
index daf56e86587b7..a46431319bcf9 100644
--- a/airflow/www/yarn.lock
+++ b/airflow/www/yarn.lock
@@ -1161,11 +1161,6 @@ bootstrap-3-typeahead@^4.0.2:
resolved "https://registry.yarnpkg.com/bootstrap-3-typeahead/-/bootstrap-3-typeahead-4.0.2.tgz#cb1c969044856862096fc8c71cc21b3acbb50412"
integrity sha1-yxyWkESFaGIJb8jHHMIbOsu1BBI=
-bootstrap-toggle@^2.2.2:
- version "2.2.2"
- resolved "https://registry.yarnpkg.com/bootstrap-toggle/-/bootstrap-toggle-2.2.2.tgz#2b88534fc1b998674f877f98ba0d8b5b743e96fe"
- integrity sha1-K4hTT8G5mGdPh3+Yug2LW3Q+lv4=
-
bootstrap@^3.3:
version "3.4.1"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-3.4.1.tgz#c3a347d419e289ad11f4033e3c4132b87c081d72"
diff --git a/licenses/LICENSE-bootstrap-toggle.txt b/licenses/LICENSE-bootstrap-toggle.txt
deleted file mode 100644
index 0bd283164f026..0000000000000
--- a/licenses/LICENSE-bootstrap-toggle.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2011-2014 Min Hur, The New York Times Company
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/setup.cfg b/setup.cfg
index 359a7054dc057..593dae5a0334f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -26,7 +26,6 @@ license_files =
LICENSE
NOTICE
# Start of licenses generated automatically
- licenses/LICENSE-bootstrap-toggle.txt
licenses/LICENSE-bootstrap.txt
licenses/LICENSE-bootstrap3-typeahead.txt
licenses/LICENSE-d3-tip.txt