Files
weave-scope/client/app/scripts/components/details.js
David Kaltschmidt abcb94b1f1 UI for controls.
- Make backend address configurable via env variable
- `BACKEND_HOST=1.2.3.4:4040 npm start` points the frontend to the app on that server. Just for development
- Render control icons
  - removed close x for details panel
  - added control icons in its space
  - closing of panel still works by clicking on same node, or background
- Dont allow control while pending
- Render and auto-dismiss control error
- Make tests pass
2015-11-06 17:44:28 +00:00

22 lines
425 B
JavaScript

const React = require('react');
const mui = require('material-ui');
const Paper = mui.Paper;
const NodeDetails = require('./node-details');
const Details = React.createClass({
render: function() {
return (
<div id="details">
<Paper zDepth={3} style={{height: '100%', paddingBottom: 8}}>
<NodeDetails {...this.props} />
</Paper>
</div>
);
}
});
module.exports = Details;