This commit is contained in:
sunny 2017-08-09 19:17:09 +09:00
parent a5263ee628
commit ac6a44d2ef
3 changed files with 6 additions and 6 deletions

View File

@ -83,13 +83,13 @@ export class Discovery extends React.Component<Props, State> {
<DiscoveryTable onProbeChange={this.handleProbeChange.bind(this)} />
<Modal size='small' open={this.state.startPopup} onClose={this.handlePopupClose}>
<Modal.Header>Discovery.</Modal.Header>
<Modal.Header>Discovery</Modal.Header>
<Modal.Content >
<Checkbox label='IP' />
</Modal.Content>
<Modal.Actions>
<Button onClick={this.handleSubmit.bind(this)} basic color='blue' > Submit </Button>
<Button onClick={this.handleCancel}> Cancel </Button>
<Button onClick={this.handleSubmit.bind(this)} primary> Submit </Button>
</Modal.Actions>
</Modal>

View File

@ -147,8 +147,8 @@ export class DiscoveryTable extends React.Component<Props, State> {
<Table.Footer>
<Table.Row>
<Table.HeaderCell colSpan='2'>
<Button icon='find' floated='right' labelPosition='left'
content='Start' primary onClick={this.discoveryStartHandler.bind(this)} />
<Button icon='checkmark' floated='right' labelPosition='left'
content='Start' positive onClick={this.discoveryStartHandler.bind(this)} />
</Table.HeaderCell>
</Table.Row>
</Table.Footer>

View File

@ -140,8 +140,8 @@ export class TargetList extends React.Component<Props, State> {
<Discovery />
</Modal.Content>
<Modal.Actions>
<Button negative onClick={() => this.setState({ openAddTarget: false })}>Cancel</Button>
<Button positive labelPosition='right' icon='checkmark' content='Done' />
<Button onClick={() => this.setState({ openAddTarget: false })}>Cancel</Button>
<Button primary >Done</Button>
</Modal.Actions>
</Modal>
</Container>;