button bug fixed on probe
This commit is contained in:
parent
bf344fc561
commit
049c821f4b
|
@ -74,8 +74,8 @@ export class TitleBar extends React.Component<Props, State> {
|
||||||
|
|
||||||
public render(): JSX.Element {
|
public render(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<Menu fluid style={{ 'borderLeft': '0px', 'borderRight': '0px', 'boxShadow': 'none', 'borderRadius': '0' }}>
|
<Menu fluid style={{ 'borderLeft': '0px', 'borderRight': '0px', 'boxShadow': 'none', 'borderRadius': '0' }} pointing>
|
||||||
<Menu.Item style={{ width: '250px' }}>
|
<Menu.Item style={{ width: '250px' }} >
|
||||||
<Header as='h3'>{this.showTitle()}
|
<Header as='h3'>{this.showTitle()}
|
||||||
<Header.Subheader>
|
<Header.Subheader>
|
||||||
<Breadcrumb size='mini'>
|
<Breadcrumb size='mini'>
|
||||||
|
|
|
@ -46,6 +46,9 @@ export class ProbeDetailInfo extends React.Component<Props, State> {
|
||||||
public handleDiscovery(event: any, data: any): void {
|
public handleDiscovery(event: any, data: any): void {
|
||||||
alert('Discovery');
|
alert('Discovery');
|
||||||
}
|
}
|
||||||
|
public showStartStopBtn(): JSX.Element {
|
||||||
|
return <Button content='Stop' icon='stop' labelPosition='left' negative />;
|
||||||
|
}
|
||||||
|
|
||||||
public render(): JSX.Element {
|
public render(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
|
@ -89,9 +92,17 @@ export class ProbeDetailInfo extends React.Component<Props, State> {
|
||||||
<Table.Cell>todo</Table.Cell>
|
<Table.Cell>todo</Table.Cell>
|
||||||
</Table.Row>
|
</Table.Row>
|
||||||
</Table.Body>
|
</Table.Body>
|
||||||
|
<Table.Footer>
|
||||||
|
<Table.Row>
|
||||||
|
<Table.HeaderCell colSpan='2'>
|
||||||
|
{this.showStartStopBtn()}
|
||||||
|
<Button content='Discovery' icon='search' labelPosition='left' floated={'right'} positive onClick={this.handleDiscovery} />
|
||||||
|
</Table.HeaderCell>
|
||||||
|
</Table.Row>
|
||||||
|
</Table.Footer>
|
||||||
|
|
||||||
</Table>
|
</Table>
|
||||||
|
|
||||||
<Button content='Discovery' icon='search' labelPosition='left' floated={'right'} positive onClick={this.handleDiscovery} />
|
|
||||||
{/* {this.showStartStopBtn()} */}
|
{/* {this.showStartStopBtn()} */}
|
||||||
|
|
||||||
</Container>
|
</Container>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user