mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-25 08:16:33 +00:00
- 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
22 lines
425 B
JavaScript
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;
|