fix view
This commit is contained in:
parent
f787e6be3c
commit
d1a7960cbe
|
@ -2,7 +2,7 @@ import PropTypes from "prop-types";
|
||||||
import React, {Component} from 'react';
|
import React, {Component} from 'react';
|
||||||
import Convert from 'ansi-to-html';
|
import Convert from 'ansi-to-html';
|
||||||
|
|
||||||
import { Col, Row, Card, TabContent, TabPane, Nav, NavItem, NavLink } from 'reactstrap';
|
import { Col, Row, Card, CardBody, CardFooter, TabContent, TabPane, Nav, NavItem, NavLink } from 'reactstrap';
|
||||||
import classnames from 'classnames';
|
import classnames from 'classnames';
|
||||||
import {AsyncTypeahead} from 'react-bootstrap-typeahead'
|
import {AsyncTypeahead} from 'react-bootstrap-typeahead'
|
||||||
|
|
||||||
|
@ -81,11 +81,11 @@ class Console extends Component {
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
<Card>
|
<Card>
|
||||||
<Card.Body className="console-container">
|
<CardBody className="console-container">
|
||||||
{this.renderNav()}
|
{this.renderNav()}
|
||||||
{this.renderTabs()}
|
{this.renderTabs()}
|
||||||
</Card.Body>
|
</CardBody>
|
||||||
{this.props.isEmbark() && <Card.Footer>
|
{this.props.isEmbark() && <CardFooter>
|
||||||
<AsyncTypeahead
|
<AsyncTypeahead
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
emptyLabel={false}
|
emptyLabel={false}
|
||||||
|
@ -124,7 +124,7 @@ class Console extends Component {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
</Card.Footer>}
|
</CardFooter>}
|
||||||
</Card>
|
</Card>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
Loading…
Reference in New Issue