mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Fixing the look of select2 components
This commit is contained in:
parent
a53dbfcfaa
commit
9855a60013
@ -8,7 +8,7 @@ var ace = require('brace');
|
||||
require('brace/mode/css');
|
||||
require('brace/theme/crimson_editor');
|
||||
|
||||
require('select2');
|
||||
require('./panoramix_select2.js');
|
||||
require('../node_modules/gridster/dist/jquery.gridster.min.js');
|
||||
|
||||
var Dashboard = function (dashboardData) {
|
||||
|
@ -11,7 +11,9 @@ require('jquery-ui');
|
||||
$.widget.bridge('uitooltip', $.ui.tooltip); // Shutting down jq-ui tooltips
|
||||
require('bootstrap');
|
||||
|
||||
require('select2');
|
||||
require('./panoramix_select2.js');
|
||||
|
||||
|
||||
require('../node_modules/bootstrap-toggle/js/bootstrap-toggle.min.js');
|
||||
require('../vendor/select2.sortable.js');
|
||||
|
||||
|
2
panoramix/assets/javascripts/panoramix_select2.js
Normal file
2
panoramix/assets/javascripts/panoramix_select2.js
Normal file
@ -0,0 +1,2 @@
|
||||
require('../node_modules/select2-bootstrap-css/select2-bootstrap.min.css');
|
||||
require('select2');
|
@ -64,6 +64,7 @@
|
||||
"react-bootstrap": "^0.28.3",
|
||||
"react-dom": "^0.14.7",
|
||||
"select2": "3.5",
|
||||
"select2-bootstrap-css": "^1.4.6",
|
||||
"style-loader": "^0.13.0",
|
||||
"topojson": "^1.6.22",
|
||||
"webpack": "^1.12.12"
|
||||
|
@ -5,6 +5,8 @@ var d3 = window.d3 || require('d3');
|
||||
|
||||
// CSS
|
||||
require('./filter_box.css');
|
||||
require('../javascripts/panoramix_select2.js')
|
||||
|
||||
|
||||
function filterBox(slice) {
|
||||
var filtersObj = {};
|
||||
|
Loading…
Reference in New Issue
Block a user