Minor style updates to settings view

This commit is contained in:
Ken Hibino 2020-12-25 14:56:24 -08:00
parent 16b60af858
commit ce2a8c3329

View File

@ -52,10 +52,15 @@ function SettingsView(props: PropsFromRedux) {
<Grid item xs={12}>
<Typography variant="h5">Settings</Typography>
</Grid>
<Grid item xs={12}>
<Grid item xs={5}>
<Paper className={classes.paper} variant="outlined">
<Typography gutterBottom color="primary">
Polling Interval (Every {sliderValue} seconds)
<Typography color="textPrimary">Polling Interval</Typography>
<Typography gutterBottom color="textSecondary" variant="subtitle1">
Web UI will fetch live data with the specified interval
</Typography>
<Typography gutterBottom color="textSecondary" variant="subtitle1">
Currently: Every{" "}
{sliderValue === 1 ? "second" : `${sliderValue} seconds`}
</Typography>
<Slider
value={sliderValue}