adding more fields to torrentlist, ul speed/dl speed

enter the commit message for your changes. Lines starting
This commit is contained in:
2017-12-14 20:42:55 -05:00
parent 2de6ba11a5
commit 1904a6ec24
5118 changed files with 127866 additions and 6327 deletions

View File

@@ -13,19 +13,31 @@ const styles = theme => ({
backgroundColor: theme.palette.primary[300],
float: 'left',
height: theme.spacing.unit,
whiteSpace: 'nowrap',
},
progressText: {
display: 'inline-block',
fontSize: '1em',
textAlign: 'right',
verticalAlign: 'text-top',
fontSize: '12px',
fontWeight: 'bold',
margin: '5px',
whiteSpace: 'nowrap',
}
});
export const ProgressBarCellBase = ({ value, classes, style }) => (
<TableCell
className={classes.progressBarCell}
style={style}
>
<div
className={classes.progressBar}
style={{ width: `${value}%` }}
title={`${value.toFixed(1)}%`}
/>
title={`${value.toFixed(1)}%`}
/><div className={classes.progressText}>{value}</div>
</TableCell>
);
ProgressBarCellBase.propTypes = {