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)} /> <DiscoveryTable onProbeChange={this.handleProbeChange.bind(this)} />
<Modal size='small' open={this.state.startPopup} onClose={this.handlePopupClose}> <Modal size='small' open={this.state.startPopup} onClose={this.handlePopupClose}>
<Modal.Header>Discovery.</Modal.Header> <Modal.Header>Discovery</Modal.Header>
<Modal.Content > <Modal.Content >
<Checkbox label='IP' /> <Checkbox label='IP' />
</Modal.Content> </Modal.Content>
<Modal.Actions> <Modal.Actions>
<Button onClick={this.handleSubmit.bind(this)} basic color='blue' > Submit </Button>
<Button onClick={this.handleCancel}> Cancel </Button> <Button onClick={this.handleCancel}> Cancel </Button>
<Button onClick={this.handleSubmit.bind(this)} primary> Submit </Button>
</Modal.Actions> </Modal.Actions>
</Modal> </Modal>

View File

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

View File

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