forked from p15670423/monkey
UI: Rename "Start over" to "Reset"
This commit is contained in:
parent
704cc8cca3
commit
91059a57ba
|
@ -20,8 +20,8 @@ Choosing the "Custom" scenario will allow you to fine-tune your simulation and a
|
||||||
|
|
||||||
![Choose scenario](/images/usage/scenarios/choose-scenario.png "Choose a scenario")
|
![Choose scenario](/images/usage/scenarios/choose-scenario.png "Choose a scenario")
|
||||||
|
|
||||||
To exit a scenario and select another one, click on "Start Over".
|
To exit a scenario and select another one, click on "Reset".
|
||||||
|
<!--- TODO fix the screenshot --->
|
||||||
![Start over](/images/usage/scenarios/start-over.png "Start over")
|
![Start over](/images/usage/scenarios/start-over.png "Start over")
|
||||||
|
|
||||||
## Section contents
|
## Section contents
|
||||||
|
|
|
@ -6,7 +6,7 @@ import ConfigurePage from './pages/ConfigurePage.js';
|
||||||
import RunMonkeyPage from './pages/RunMonkeyPage/RunMonkeyPage';
|
import RunMonkeyPage from './pages/RunMonkeyPage/RunMonkeyPage';
|
||||||
import MapPage from './pages/MapPage';
|
import MapPage from './pages/MapPage';
|
||||||
import TelemetryPage from './pages/TelemetryPage';
|
import TelemetryPage from './pages/TelemetryPage';
|
||||||
import StartOverPage from './pages/StartOverPage';
|
import StartOverPage from './pages/ResetPage';
|
||||||
import ReportPage from './pages/ReportPage';
|
import ReportPage from './pages/ReportPage';
|
||||||
import LicensePage from './pages/LicensePage';
|
import LicensePage from './pages/LicensePage';
|
||||||
import AuthComponent from './AuthComponent';
|
import AuthComponent from './AuthComponent';
|
||||||
|
|
|
@ -78,7 +78,7 @@ const SideNavComponent = ({disabled,
|
||||||
<li>
|
<li>
|
||||||
<NavLink to={Routes.StartOverPage} className={getNavLinkClass()}>
|
<NavLink to={Routes.StartOverPage} className={getNavLinkClass()}>
|
||||||
<span className='number'><FontAwesomeIcon icon={faUndo} style={{'marginLeft': '-1px'}}/></span>
|
<span className='number'><FontAwesomeIcon icon={faUndo} style={{'marginLeft': '-1px'}}/></span>
|
||||||
Start Over
|
Reset
|
||||||
</NavLink>
|
</NavLink>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||||
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
|
import {faInfoCircle} from '@fortawesome/free-solid-svg-icons/faInfoCircle';
|
||||||
import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
|
import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
|
||||||
|
|
||||||
class StartOverPageComponent extends AuthComponent {
|
class ResetPageComponent extends AuthComponent {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ class StartOverPageComponent extends AuthComponent {
|
||||||
allMonkeysAreDead={this.state.allMonkeysAreDead}
|
allMonkeysAreDead={this.state.allMonkeysAreDead}
|
||||||
onVerify={this.cleanup}
|
onVerify={this.cleanup}
|
||||||
onClose={this.closeModal}/>
|
onClose={this.closeModal}/>
|
||||||
<h1 className="page-title">Start Over</h1>
|
<h1 className="page-title">Reset</h1>
|
||||||
<div style={{'fontSize': '1.2em'}}>
|
<div style={{'fontSize': '1.2em'}}>
|
||||||
<p>
|
<p>
|
||||||
If you are finished and want to start over with a fresh configuration, erase the logs and clear the map
|
If you are finished and want to start over with a fresh configuration, erase the logs and clear the map
|
||||||
|
@ -101,4 +101,4 @@ class StartOverPageComponent extends AuthComponent {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export default StartOverPageComponent;
|
export default ResetPageComponent;
|
Loading…
Reference in New Issue