Add WiFi portal time-out setting

This commit is contained in:
Djuri Baars 2024-07-11 14:01:10 +02:00
parent 124c810e29
commit 2363d98965
5 changed files with 25 additions and 4 deletions

View File

@ -35,7 +35,8 @@
"flEffectDelay": "Displaybeleuchtungeffekt Geschwindigkeit",
"flFlashOnUpd": "Displaybeleuchting bei neuem Block",
"mempoolInstanceHelpText": "Nur wirksam, wenn die BTClock-Datenquelle deaktiviert ist. \nZur Anwendung ist ein Neustart erforderlich.",
"luxLightToggle": "Automatisches Umschalten des Frontlichts bei Lux"
"luxLightToggle": "Automatisches Umschalten des Frontlichts bei Lux",
"wpTimeout": "WiFi-Konfigurationsportal timeout"
},
"control": {
"systemInfo": "Systeminfo",

View File

@ -35,7 +35,8 @@
"flEffectDelay": "Frontlight effect speed",
"flFlashOnUpd": "Frontlight flash on new block",
"mempoolInstanceHelpText": "Only effective when BTClock data-source is disabled. A restart is required to apply.",
"luxLightToggle": "Auto toggle frontlight at lux"
"luxLightToggle": "Auto toggle frontlight at lux",
"wpTimeout": "WiFi-config portal timeout"
},
"control": {
"systemInfo": "System info",

View File

@ -34,7 +34,8 @@
"flEffectDelay": "Velocidad del efecto de luz de la pantalla",
"flFlashOnUpd": "Luz de la pantalla parpadea con un nuevo bloque",
"mempoolInstanceHelpText": "Solo es efectivo cuando la fuente de datos BTClock está deshabilitada. \nEs necesario reiniciar para aplicar.",
"luxLightToggle": "Cambio automático de luz frontal en lux"
"luxLightToggle": "Cambio automático de luz frontal en lux",
"wpTimeout": "Portal de configuración WiFi timeout"
},
"control": {
"turnOff": "Apagar",

View File

@ -35,7 +35,8 @@
"flEffectDelay": "Displaylicht effect snelheid",
"flFlashOnUpd": "Knipper displaylicht bij nieuw blok",
"mempoolInstanceHelpText": "Alleen effectief als de BTClock-gegevensbron is uitgeschakeld. \nOm toe te passen is een herstart nodig.",
"luxLightToggle": "Schakelen displaylicht op lux"
"luxLightToggle": "Schakelen displaylicht op lux",
"wpTimeout": "WiFi-config-portal timeout"
},
"control": {
"systemInfo": "Systeeminformatie",

View File

@ -335,6 +335,23 @@
<FormText>{$_('section.settings.wifiTxPowerText')}</FormText>
</Col>
</Row>
<Row>
<Label md={6} for="wpTimeout" size={$uiSettings.inputSize}
>{$_('section.settings.wpTimeout')}</Label
>
<Col md="6">
<InputGroup size={$uiSettings.inputSize}>
<Input
type="number"
id="minSecPriceUpd"
min={1}
step="1"
bind:value={$settings.wpTimeout}
/>
<InputGroupText>{$_('time.seconds')}</InputGroupText>
</InputGroup>
</Col>
</Row>
<Row>
<Col md="6">
<Input