-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5ba88b
commit 1e47d6f
Showing
30 changed files
with
415 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
superset/assets/javascripts/explorev2/components/ControlRow.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React, { PropTypes } from 'react'; | ||
|
||
const NUM_COLUMNS = 12; | ||
|
||
const propTypes = { | ||
controls: PropTypes.arrayOf(PropTypes.object).isRequired, | ||
}; | ||
|
||
function ControlSetRow(props) { | ||
const colSize = NUM_COLUMNS / props.controls.length; | ||
return ( | ||
<div className="row space-1"> | ||
{props.controls.map((control, i) => ( | ||
<div className={`col-lg-${colSize} col-xs-12`} key={i} > | ||
{control} | ||
</div> | ||
))} | ||
</div> | ||
); | ||
} | ||
|
||
ControlSetRow.propTypes = propTypes; | ||
export default ControlSetRow; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
superset/assets/javascripts/explorev2/components/FieldSetRow.jsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.