This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch omnibar
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/omnibar by this push:
new a16a84a working omni
a16a84a is described below
commit a16a84a0464544def276951b738350d3f9705da9
Author: hughhhh <[email protected]>
AuthorDate: Wed Jan 23 18:34:03 2019 -0800
working omni
---
superset/assets/src/dashboard/components/Dashboard.jsx | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/superset/assets/src/dashboard/components/Dashboard.jsx
b/superset/assets/src/dashboard/components/Dashboard.jsx
index 832e341..46d1078 100644
--- a/superset/assets/src/dashboard/components/Dashboard.jsx
+++ b/superset/assets/src/dashboard/components/Dashboard.jsx
@@ -40,6 +40,7 @@ import {
LOG_ACTIONS_FIRST_DASHBOARD_LOAD,
} from '../../logger';
+import { Modal, Alert, Button, Radio } from 'react-bootstrap';
import OmniContianer from '../../components/OmniContainer';
import '../stylesheets/index.less';
@@ -234,14 +235,16 @@ class Dashboard extends React.PureComponent {
}
render() {
- return <div style={{display: "flex"}}>
- <div>
- <DashboardBuilder />
- </div>
- <div style={{ paddingBottom: 500, zValue: -1, backgroundColor: 'black'
}}>
+ return (<div style={{display: "flex", flexDirection: "column"}}>
+ <div style={{zValue: 2}}>
+ <Modal show bsStyle="large">
<OmniContianer />
+ </Modal>
+ </div>
+ <div style={{zValue: -2}}>
+ <DashboardBuilder />
</div>
- </div>;
+ </div>);
}
}