mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
formatting
This commit is contained in:
@@ -365,7 +365,7 @@ class EMSESPSettingsForm extends Component<EMSESPSettingsFormProps> {
|
||||
|
||||
<br></br>
|
||||
<Typography variant="h6" color="primary">
|
||||
Options
|
||||
General Options
|
||||
</Typography>
|
||||
|
||||
{data.led_gpio !== 0 && (
|
||||
@@ -390,7 +390,7 @@ class EMSESPSettingsForm extends Component<EMSESPSettingsFormProps> {
|
||||
value="dallas_parasite"
|
||||
/>
|
||||
}
|
||||
label="Enable Dallas parasite mode"
|
||||
label="Use Dallas Sensor parasite power"
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -412,7 +412,17 @@ class EMSESPSettingsForm extends Component<EMSESPSettingsFormProps> {
|
||||
value="low_clock"
|
||||
/>
|
||||
}
|
||||
label="Low Clockrate (160MHz, changed on next reboot)"
|
||||
label="Use lower CPU clock speed (only applied after restart)"
|
||||
/>
|
||||
<BlockFormControlLabel
|
||||
control={
|
||||
<Checkbox
|
||||
checked={data.notoken_api}
|
||||
onChange={handleValueChange('notoken_api')}
|
||||
value="notoken_api"
|
||||
/>
|
||||
}
|
||||
label="Bypass Access Token authorization on API calls"
|
||||
/>
|
||||
<Grid
|
||||
container
|
||||
@@ -445,19 +455,9 @@ class EMSESPSettingsForm extends Component<EMSESPSettingsFormProps> {
|
||||
|
||||
<br></br>
|
||||
<Typography variant="h6" color="primary">
|
||||
API and MQTT Options
|
||||
Formatting Options
|
||||
</Typography>
|
||||
|
||||
<BlockFormControlLabel
|
||||
control={
|
||||
<Checkbox
|
||||
checked={data.notoken_api}
|
||||
onChange={handleValueChange('notoken_api')}
|
||||
value="notoken_api"
|
||||
/>
|
||||
}
|
||||
label="Bypass Access Token authorization on API calls"
|
||||
/>
|
||||
<Grid
|
||||
container
|
||||
spacing={1}
|
||||
@@ -498,14 +498,14 @@ class EMSESPSettingsForm extends Component<EMSESPSettingsFormProps> {
|
||||
<Grid item xs={4}>
|
||||
<SelectValidator
|
||||
name="dallas_format"
|
||||
label="Sensor Publishing"
|
||||
label="Dallas Sensor Format"
|
||||
value={data.dallas_format}
|
||||
fullWidth
|
||||
variant="outlined"
|
||||
onChange={handleValueChange('dallas_format')}
|
||||
margin="normal"
|
||||
>
|
||||
<MenuItem value={1}>by Sensor ID</MenuItem>
|
||||
<MenuItem value={1}>by ID</MenuItem>
|
||||
<MenuItem value={2}>by Number</MenuItem>
|
||||
<MenuItem value={3}>by Name</MenuItem>
|
||||
</SelectValidator>
|
||||
|
||||
Reference in New Issue
Block a user