Add settings for new functionality
This commit is contained in:
parent
1b8ab93da6
commit
dcdf98964a
@ -17,6 +17,8 @@
|
||||
"useBigCharsMcap": "Use big characters for market cap",
|
||||
"useBlkCountdown": "Blocks countdown for halving",
|
||||
"useSatsSymbol": "Use sats symbol",
|
||||
"suffixPrice": "Suffix price format",
|
||||
"disableLeds": "Disable all LEDs effects",
|
||||
"otaUpdates": "OTA updates",
|
||||
"enableMdns": "mDNS",
|
||||
"fetchEuroPrice": "Fetch € price",
|
||||
|
@ -22,6 +22,8 @@
|
||||
"enableMdns": "mDNS",
|
||||
"hostnamePrefix": "Prefijo de nombre de host",
|
||||
"mempoolnstance": "Instancia de Mempool",
|
||||
"suffixPrice": "Precio con sufijos",
|
||||
"disableLeds": "Desactivar efectos de LED",
|
||||
"otaUpdates": "Actualización por aire",
|
||||
"wifiTxPowerText": "En la mayoría de los casos no es necesario configurar esto.",
|
||||
"settingsSaved": "Configuración guardada",
|
||||
|
@ -22,6 +22,8 @@
|
||||
"screens": "Schermen",
|
||||
"hostnamePrefix": "Hostnaam voorvoegsel",
|
||||
"mempoolnstance": "Mempool instantie",
|
||||
"suffixPrice": "Achtervoegsel prijs formaat",
|
||||
"disableLeds": "Alle LEDs effecten uit",
|
||||
"otaUpdates": "OTA updates",
|
||||
"wifiTxPower": "WiFi TX power",
|
||||
"wifiTxPowerText": "Meestal hoeft dit niet aangepast te worden.",
|
||||
|
@ -106,6 +106,7 @@
|
||||
<Button color="primary" on:click={setCustomText}>{$_('section.control.showText')}</Button>
|
||||
</Form>
|
||||
<hr />
|
||||
{#if !$settings.disableLeds}
|
||||
<h3>LEDs</h3>
|
||||
<Form>
|
||||
<Row>
|
||||
@ -143,8 +144,8 @@
|
||||
>
|
||||
<Button color="primary" on:click={setLEDcolor}>{$_('section.control.setColor')}</Button>
|
||||
</Form>
|
||||
|
||||
<hr />
|
||||
{/if}
|
||||
<h3>{$_('section.control.systemInfo')}</h3>
|
||||
<ul class="small system_info">
|
||||
<li>{$_('section.control.version')}: {$settings.gitRev}</li>
|
||||
|
@ -323,6 +323,24 @@
|
||||
label={$_('section.settings.useSatsSymbol')}
|
||||
/>
|
||||
</Col>
|
||||
<Col md="6">
|
||||
<Input
|
||||
id="suffixPrice"
|
||||
bind:checked={$settings.suffixPrice}
|
||||
type="switch"
|
||||
bsSize="sm"
|
||||
label={$_('section.settings.suffixPrice')}
|
||||
/>
|
||||
</Col>
|
||||
<Col md="6">
|
||||
<Input
|
||||
id="disableLeds"
|
||||
bind:checked={$settings.disableLeds}
|
||||
type="switch"
|
||||
bsSize="sm"
|
||||
label={$_('section.settings.disableLeds')}
|
||||
/>
|
||||
</Col>
|
||||
</Row>
|
||||
|
||||
<Row>
|
||||
|
@ -120,6 +120,7 @@
|
||||
{/if}
|
||||
{/if}
|
||||
<hr />
|
||||
{#if !$settings.disableLeds}
|
||||
<Row class="justify-content-evenly">
|
||||
{#if $status.leds}
|
||||
{#each $status.leds as led}
|
||||
@ -136,6 +137,7 @@
|
||||
{/if}
|
||||
</Row>
|
||||
<hr />
|
||||
{/if}
|
||||
<Progress striped value={memoryFreePercent}>{memoryFreePercent}%</Progress>
|
||||
<div class="d-flex justify-content-between">
|
||||
<div>{$_('section.status.memoryFree')}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user