Minor improvements on Run Monkey page

This commit is contained in:
Itay Mizeretz 2017-10-15 13:25:50 +03:00
parent c8df03355b
commit 13bd4eb8c3
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ class RunMonkeyPageComponent extends React.Component {
cmdText = this.generateWindowsCmd(ip, is32Bit);
}
return (
<Well className="well-sm" style={{'margin': '0.5em'}}>
<Well key={'cmdDiv'+ip} className="well-sm" style={{'margin': '0.5em'}}>
<div style={{'overflow': 'auto', 'padding': '0.5em'}}>
<CopyToClipboard text={cmdText} className="pull-right btn-sm">
<Button style={{margin: '-0.5em'}} title="Copy to Clipboard">
@ -153,7 +153,7 @@ class RunMonkeyPageComponent extends React.Component {
<br/>
<span className="text-muted">(The IP address is used as the monkey's C&C address)</span>
</p>
<Nav pills justified
<Nav bsStyle="pills" justified
activeKey={this.state.selectedSection} onSelect={this.setSelectedSection}
style={{'marginBottom': '2em'}}>
<NavItem key='windows-32' eventKey='windows-32'>Windows (32 bit)</NavItem>