This commit is contained in:
Iuri Matias 2018-10-15 21:46:48 -04:00 committed by Pascal Precht
parent f787e6be3c
commit d1a7960cbe
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 5 additions and 5 deletions

View File

@ -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>