-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 11: minor css changes and draft app dashboard
- Loading branch information
Kumar
authored and
Kumar
committed
Apr 21, 2020
1 parent
853fa5a
commit 94a84e7
Showing
3 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import React, { Component } from 'react'; | ||
import Modal from 'react-bootstrap/Modal'; | ||
import Button from 'react-bootstrap/Button'; | ||
|
||
class AppDashboard extends Component { | ||
constructor(props) { | ||
super(props); | ||
} | ||
render() { | ||
const { show } = this.props; | ||
return ( | ||
<div> | ||
{/* <Alert show={show} variant="success"> | ||
<Alert.Heading>Application Status</Alert.Heading> | ||
<p> | ||
Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget | ||
lacinia odio sem nec elit. Cras mattis consectetur purus sit amet | ||
fermentum. | ||
</p> | ||
<hr /> | ||
<div className="d-flex justify-content-end"> | ||
<Button onClick={() => this.props.closeAppStatus()} variant="outline-success"> | ||
Close me! | ||
</Button> | ||
</div> | ||
</Alert> */} | ||
|
||
<Modal show={show} onHide={() => this.props.closeAppStatus()} animation={false}> | ||
<Modal.Header closeButton> | ||
<Modal.Title>Application Status</Modal.Title> | ||
</Modal.Header> | ||
<Modal.Body> | ||
<label>Stocks Latest Nav Date: </label> | ||
<span> | ||
100.5 | ||
</span> | ||
<label>Mutual Fund Latest Nav Date: </label> | ||
<span> | ||
100.5 | ||
</span> | ||
</Modal.Body> | ||
<Modal.Footer> | ||
<Button variant="secondary" onClick={() => this.props.closeAppStatus()}> | ||
Close | ||
</Button> | ||
</Modal.Footer> | ||
</Modal> | ||
</div> | ||
); | ||
} | ||
|
||
} | ||
|
||
export default AppDashboard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters