forked from p34709852/monkey
Rename full logs to telemetry
Changed default config tab to basic
This commit is contained in:
parent
41cc0202c5
commit
dc24647488
|
@ -7,7 +7,7 @@ import RunServerPage from 'components/pages/RunServerPage';
|
|||
import ConfigurePage from 'components/pages/ConfigurePage';
|
||||
import RunMonkeyPage from 'components/pages/RunMonkeyPage';
|
||||
import MapPage from 'components/pages/MapPage';
|
||||
import FullLogsPage from 'components/pages/FullLogsPage';
|
||||
import TelemetryPage from 'components/pages/TelemetryPage';
|
||||
import StartOverPage from 'components/pages/StartOverPage';
|
||||
import ReportPage from 'components/pages/ReportPage';
|
||||
|
||||
|
@ -90,7 +90,7 @@ class AppComponent extends React.Component {
|
|||
<hr/>
|
||||
<ul>
|
||||
<li><NavLink to="/configure">Configuration</NavLink></li>
|
||||
<li><NavLink to="/infection/logs">Monkey Telemetry</NavLink></li>
|
||||
<li><NavLink to="/infection/telemetry">Monkey Telemetry</NavLink></li>
|
||||
</ul>
|
||||
|
||||
<hr/>
|
||||
|
@ -107,7 +107,7 @@ class AppComponent extends React.Component {
|
|||
<Route path="/configure" render={(props) => ( <ConfigurePage onStatusChange={this.updateStatus} /> )} />
|
||||
<Route path="/run-monkey" render={(props) => ( <RunMonkeyPage onStatusChange={this.updateStatus} /> )} />
|
||||
<Route path="/infection/map" render={(props) => ( <MapPage onStatusChange={this.updateStatus} /> )} />
|
||||
<Route path="/infection/logs" render={(props) => ( <FullLogsPage onStatusChange={this.updateStatus} /> )} />
|
||||
<Route path="/infection/telemetry" render={(props) => ( <TelemetryPage onStatusChange={this.updateStatus} /> )} />
|
||||
<Route path="/start-over" render={(props) => ( <StartOverPage onStatusChange={this.updateStatus} /> )} />
|
||||
<Route path="/report" render={(props) => ( <ReportPage onStatusChange={this.updateStatus} /> )} />
|
||||
</Col>
|
||||
|
|
|
@ -26,7 +26,7 @@ class ConfigurePageComponent extends React.Component {
|
|||
.map(key => {
|
||||
return {key: key, title: res.schema.properties[key].title}
|
||||
}),
|
||||
selectedSection: 'monkey'
|
||||
selectedSection: 'basic'
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ class MapPageComponent extends React.Component {
|
|||
style={{'marginBottom': '1em'}}/>
|
||||
|
||||
<div style={{'overflow': 'auto', 'marginBottom': '1em'}}>
|
||||
<Link to="/infection/logs" className="btn btn-default pull-left" style={{'width': '48%'}}>Monkey Telemetry</Link>
|
||||
<Link to="/infection/telemetry" className="btn btn-default pull-left" style={{'width': '48%'}}>Monkey Telemetry</Link>
|
||||
<button onClick={this.killAllMonkeys} className="btn btn-danger pull-right" style={{'width': '48%'}}>
|
||||
<Icon name="stop-circle" style={{'marginRight': '0.5em'}}></Icon>
|
||||
Kill All Monkeys
|
||||
|
|
|
@ -13,7 +13,7 @@ const columns = [
|
|||
{ title: 'Details', prop: 'data', render: renderJson, width: '40%' }
|
||||
];
|
||||
|
||||
class FullLogsPageComponent extends React.Component {
|
||||
class TelemetryPageComponent extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
|
@ -46,4 +46,4 @@ class FullLogsPageComponent extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default FullLogsPageComponent;
|
||||
export default TelemetryPageComponent;
|
Loading…
Reference in New Issue