import React, { Component } from "react"; import Router from "next/router"; import ContentWrapper from "@/components/Layout/ContentWrapper"; import { Row, Col, Progress, Button } from "reactstrap"; import Sparkline from "@/components/Common/Sparklines"; import Scrollable from "@/components/Common/Scrollable"; import Datatable from "@/components/Tables/Datatable"; import moment from "moment"; class BugTracker extends Component { constructor(props) { super(props); } static getInitialProps = async () => { const res = await fetch("http://localhost:1880/pelaporan"); const data = await res.json(); return { data }; }; renderTable = () => { return this.props.data.map((value) => { return (
Overvall progress
Metrics
Open Case
Close Case
Hours
Assigned
| Assigned Hours | 68 hs | |||||
| Time Consumed | 32 hs | |||||
| Open Case | 80 | |||||
| Close Case | 20 | |||||
| Performance | ||||||
| Commits | 140 | |||||
| Last Case Closed | 
 | |||||
| Last Case Closed | BI:1107 - 12/01/2016 | 
| Type*/} | #ID | Description | Created{/* | Priority | Asigned*/} | Status{/* | Action*/} | 
|---|---|---|---|---|---|---|---|
| */}
											{/*bug | BI:54678 | */} {/* Maecenas mollis egestas convallis. */} {/* | {moment("2020-04-04 11:45:26.123").fromNow()}*/} {/* | */} {/* | Sylvia Daniels*/} {/* | */}
											{/*open | */}
											{/* | 
| bug | BI:55778 | Aliquam felis nibh, ultrices non elementum | 01/05/2016 | Sherry Carroll | open | ||
| issue | BI:56878 | Aliquam condimentum enim a risus cursus blandit. | 05/01/2016 | Mitchell Jones | pending | ||
| issue | BI:57978 | Sed at libero augue, in euismod tellus. | 01/11/2016 | Tracey Parker | pending | ||
| bug | BI:1107 | Praesent lacinia ultricies neque. | 01/01/2015 | Warren Gray | closed | ||
| issue | BI:1117 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. | 11/05/2013 | Jackson Ramos | open | ||
| bug | BI:10127 | Pellentesque habitant morbi tristique | 05/02/2014 | Ernest Berry | closed | ||
| bug | BI:54678 | Integer venenatis ultrices vulputate. | 01/01/2016 | Sylvia Daniels | open | ||
| issue | BI:55778 | Maecenas mollis egestas convallis. | 01/05/2016 | Sherry Carroll | open | ||
| bug | BI:56878 | Maecenas mollis egestas convallis. | 05/01/2016 | Mitchell Jones | pending | ||
| issue | BI:57978 | Maecenas mollis egestas convallis. | 01/11/2016 | Tracey Parker | pending | ||
| bug | BI:1107 | Maecenas mollis egestas convallis. | 01/01/2015 | Warren Gray | closed | ||
| issue | BI:1117 | Maecenas mollis egestas convallis. | 11/05/2013 | Jackson Ramos | open | ||
| issue | BI:10127 | Maecenas mollis egestas convallis. | 05/02/2014 | Ernest Berry | closed | ||
| bug | BI:54678 | Maecenas mollis egestas convallis. | 01/01/2016 | Sylvia Daniels | open | ||
| bug | BI:55778 | Maecenas mollis egestas convallis. | 01/05/2016 | Sherry Carroll | open | ||
| bug | BI:56878 | Maecenas mollis egestas convallis. | 05/01/2016 | Mitchell Jones | pending | ||
| bug | BI:57978 | Maecenas mollis egestas convallis. | 01/11/2016 | Tracey Parker | pending | ||
| bug | BI:1107 | Maecenas mollis egestas convallis. | 01/01/2015 | Warren Gray | closed | ||
| bug | BI:1117 | Maecenas mollis egestas convallis. | 11/05/2013 | Jackson Ramos | open | ||
| issue | BI:10127 | Maecenas mollis egestas convallis. | 05/02/2014 | Ernest Berry | closed | ||
| issue | BI:54678 | Maecenas mollis egestas convallis. | 01/01/2016 | Sylvia Daniels | open | ||
| issue | BI:55778 | Maecenas mollis egestas convallis. | 01/05/2016 | Sherry Carroll | open | ||
| bug | BI:56878 | Maecenas mollis egestas convallis. | 05/01/2016 | Mitchell Jones | pending | ||
| bug | BI:57978 | Maecenas mollis egestas convallis. | 01/11/2016 | Tracey Parker | pending | ||
| bug | BI:1107 | Maecenas mollis egestas convallis. | 01/01/2015 | Warren Gray | closed | ||
| issue | BI:1117 | Maecenas mollis egestas convallis. | 11/05/2013 | Jackson Ramos | open | ||
| issue | BI:10127 | Maecenas mollis egestas convallis. | 05/02/2014 | Ernest Berry | closed | ||
| bug | BI:54678 | Maecenas mollis egestas convallis. | 01/01/2016 | Sylvia Daniels | open | ||
| issue | BI:55778 | Maecenas mollis egestas convallis. | 01/05/2016 | Sherry Carroll | open | ||
| issue | BI:56878 | Maecenas mollis egestas convallis. | 05/01/2016 | Mitchell Jones | pending | ||
| issue | BI:57978 | Maecenas mollis egestas convallis. | 01/11/2016 | Tracey Parker | pending | ||
| bug | BI:1107 | Maecenas mollis egestas convallis. | 01/01/2015 | Warren Gray | closed | ||
| bug | BI:1117 | Maecenas mollis egestas convallis. | 11/05/2013 | Jackson Ramos | open | ||
| issue | BI:10127 | Maecenas mollis egestas convallis. | 05/02/2014 | Ernest Berry | closed |