-
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.
Merge pull request #33 from copios-jp/master
Completed Reporting
- Loading branch information
Showing
19 changed files
with
168 additions
and
230 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
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
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
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
2 changes: 1 addition & 1 deletion
2
app/renderer/components/sensor/report/sections/heart_rate/index.jsx
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
2 changes: 1 addition & 1 deletion
2
app/renderer/components/sensor/report/sections/program/index.jsx
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
2 changes: 1 addition & 1 deletion
2
app/renderer/components/sensor/report/sections/time_in_zone/index.jsx
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
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
5 changes: 2 additions & 3 deletions
5
app/renderer/components/sensor/report/sections/user/index.jsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from 'react' | ||
import { withStyles } from '@material-ui/core/styles' | ||
import styles from '../../../../styles' | ||
import { Typography } from '@material-ui/core' | ||
|
||
export const DataGroup = withStyles(styles)(({ classes, icon, header, data, width = '32%' }) => ( | ||
<div className={classes.reportDataGroup} style={{ width: width }}> | ||
<div className={classes.reportDataGroupHeader}> | ||
{icon} | ||
<Typography color="inherit" variant="body1"> | ||
{header} | ||
</Typography> | ||
</div> | ||
<div className={classes.reportDataGroupData}>{data}</div> | ||
</div> | ||
)) | ||
|
||
export const TitledRow = withStyles(styles)( | ||
({ classes, title, text, inline = false, color = 'inherit' }) => ( | ||
<div | ||
className={classes.reportRow} | ||
style={{ textAlign: 'left', display: inline ? 'flex' : 'block' }}> | ||
<Typography color={color} variant="body1" className={classes.titledRowTitle}> | ||
{title} | ||
</Typography> | ||
<Typography color={color} variant="body1" className={classes.titledRowText}> | ||
{' '} | ||
{text}{' '} | ||
</Typography> | ||
</div> | ||
), | ||
) |
Oops, something went wrong.