UI file structure added

This commit is contained in:
VakarisZ 2019-04-02 14:23:33 +03:00
parent ce78ebab91
commit 6da9b46167
2 changed files with 37 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class AppComponent extends AuthComponent {
run_monkey: false, run_monkey: false,
infection_done: false, infection_done: false,
report_done: false, report_done: false,
attack_report_done:false,
isLoggedIn: undefined isLoggedIn: undefined
} }
}; };
@ -152,6 +153,15 @@ class AppComponent extends AuthComponent {
: ''} : ''}
</NavLink> </NavLink>
</li> </li>
<li>
<NavLink to="/attack_report">
<span className="number">5.</span>
Security Report
{this.state.completedSteps.attack_report_done ?
<Icon name="check" className="pull-right checkmark text-success"/>
: ''}
</NavLink>
</li>
<li> <li>
<NavLink to="/start-over"> <NavLink to="/start-over">
<span className="number"><i className="fa fa-undo" style={{'marginLeft': '-1px'}}/></span> <span className="number"><i className="fa fa-undo" style={{'marginLeft': '-1px'}}/></span>

View File

@ -0,0 +1,27 @@
import React from 'react';
import {Button, Col} from 'react-bootstrap';
import {ReactiveGraph} from 'components/reactive-graph/ReactiveGraph';
import {edgeGroupToColor, options} from 'components/map/MapOptions';
import AuthComponent from '../AuthComponent';
class AttackReportPageComponent extends AuthComponent {
constructor(props) {
super(props);
this.state = {
};
}
render() {
return (
<Col xs={12} lg={8}>
<h1 className="page-title no-print">5.ATT&CK techniques report</h1>
<div style={{'fontSize': '1.2em'}}>
ATT&CK techniques report
</div>
</Col>
);
}
}
export default AttackReportPageComponent;