From 733ab8014bd83ae4e0e4961b9c454ad238556bd8 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Wed, 14 Dec 2016 18:31:50 -0800 Subject: [PATCH] [explorev2] using a loader to load the explorev2 specific css (#1843) --- superset/assets/javascripts/explorev2/index.jsx | 1 + .../exploreV2/exploreV2.css => javascripts/explorev2/main.css} | 0 superset/templates/superset/explorev2.html | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename superset/assets/{stylesheets/exploreV2/exploreV2.css => javascripts/explorev2/main.css} (100%) diff --git a/superset/assets/javascripts/explorev2/index.jsx b/superset/assets/javascripts/explorev2/index.jsx index a9e5a5136d94f..ba1dc2013fd0e 100644 --- a/superset/assets/javascripts/explorev2/index.jsx +++ b/superset/assets/javascripts/explorev2/index.jsx @@ -11,6 +11,7 @@ import { now } from '../modules/dates'; const $ = window.$ = require('jquery'); // eslint-disable-line const jQuery = window.jQuery = require('jquery'); // eslint-disable-line require('bootstrap'); +require('./main.css'); import { initialState } from './stores/store'; diff --git a/superset/assets/stylesheets/exploreV2/exploreV2.css b/superset/assets/javascripts/explorev2/main.css similarity index 100% rename from superset/assets/stylesheets/exploreV2/exploreV2.css rename to superset/assets/javascripts/explorev2/main.css diff --git a/superset/templates/superset/explorev2.html b/superset/templates/superset/explorev2.html index 4fe0c7546133f..516c97ffe5aaa 100644 --- a/superset/templates/superset/explorev2.html +++ b/superset/templates/superset/explorev2.html @@ -9,7 +9,6 @@ {% endblock %} {% block body %} -