double quotes to single quotes in StartOverModal
This commit is contained in:
parent
18731a430b
commit
b130dd35ec
|
@ -1,5 +1,5 @@
|
||||||
import {Modal} from "react-bootstrap";
|
import {Modal} from 'react-bootstrap';
|
||||||
import React from "react";
|
import React from 'react';
|
||||||
import {GridLoader} from 'react-spinners';
|
import {GridLoader} from 'react-spinners';
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,22 +27,22 @@ class StartOverModal extends React.PureComponent {
|
||||||
<Modal show={this.state.showCleanDialog} onHide={() => this.props.onClose()}>
|
<Modal show={this.state.showCleanDialog} onHide={() => this.props.onClose()}>
|
||||||
<Modal.Body>
|
<Modal.Body>
|
||||||
<h2>
|
<h2>
|
||||||
<div className="text-center">Reset environment</div>
|
<div className='text-center'>Reset environment</div>
|
||||||
</h2>
|
</h2>
|
||||||
<p style={{'fontSize': '1.2em', 'marginBottom': '2em'}}>
|
<p style={{'fontSize': '1.2em', 'marginBottom': '2em'}}>
|
||||||
Are you sure you want to reset the environment?
|
Are you sure you want to reset the environment?
|
||||||
</p>
|
</p>
|
||||||
{
|
{
|
||||||
!this.state.allMonkeysAreDead ?
|
!this.state.allMonkeysAreDead ?
|
||||||
<div className="alert alert-warning">
|
<div className='alert alert-warning'>
|
||||||
<i className="glyphicon glyphicon-warning-sign" style={{'marginRight': '5px'}}/>
|
<i className='glyphicon glyphicon-warning-sign' style={{'marginRight': '5px'}}/>
|
||||||
Some monkeys are still running. It's advised to kill all monkeys before resetting.
|
Some monkeys are still running. It's advised to kill all monkeys before resetting.
|
||||||
</div>
|
</div>
|
||||||
:
|
:
|
||||||
<div/>
|
<div/>
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
this.state.loading ? <div className={"modalLoader"}><GridLoader/></div> : this.showModalButtons()
|
this.state.loading ? <div className={'modalLoader'}><GridLoader/></div> : this.showModalButtons()
|
||||||
}
|
}
|
||||||
</Modal.Body>
|
</Modal.Body>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
@ -50,12 +50,12 @@ class StartOverModal extends React.PureComponent {
|
||||||
};
|
};
|
||||||
|
|
||||||
showModalButtons() {
|
showModalButtons() {
|
||||||
return (<div className="text-center">
|
return (<div className='text-center'>
|
||||||
<button type="button" className="btn btn-danger btn-lg" style={{margin: '5px'}}
|
<button type='button' className='btn btn-danger btn-lg' style={{margin: '5px'}}
|
||||||
onClick={this.modalVerificationOnClick}>
|
onClick={this.modalVerificationOnClick}>
|
||||||
Reset environment
|
Reset environment
|
||||||
</button>
|
</button>
|
||||||
<button type="button" className="btn btn-success btn-lg" style={{margin: '5px'}}
|
<button type='button' className='btn btn-success btn-lg' style={{margin: '5px'}}
|
||||||
onClick={() => this.setState({showCleanDialog: false})}>
|
onClick={() => this.setState({showCleanDialog: false})}>
|
||||||
Cancel
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue