Minor ui tweaks

This commit is contained in:
Itay Mizeretz 2017-09-21 16:13:04 +03:00
parent 746ff9c26a
commit 84315ad735
2 changed files with 5 additions and 9 deletions

View File

@ -107,7 +107,10 @@ class ConfigurePageComponent extends React.Component {
</div> </div>
{ this.state.saved ? { this.state.saved ?
<p>Configuration saved successfully.</p> <div className="alert alert-info">
<i className="glyphicon glyphicon-info-sign" style={{'marginRight': '5px'}}/>
Configuration saved successfully.
</div>
: ''} : ''}
</Col> </Col>
); );

View File

@ -13,14 +13,7 @@ class ReportPageComponent extends React.Component {
<h1 className="page-title">Penetration Test Report</h1> <h1 className="page-title">Penetration Test Report</h1>
<div style={{'fontSize': '1.5em'}}> <div style={{'fontSize': '1.5em'}}>
<p> <p>
In order to reset the entire environment, all monkeys will be ordered to kill themselves Under construction
and the database will be cleaned up.
</p>
<p>
After that you could go back to the <Link to="/run-monkey">Run Monkey</Link> page to start new infections.
</p>
<p>
<a onClick={this.cleanup} className="btn btn-danger">Reset Environment</a>
</p> </p>
</div> </div>
</Col> </Col>