forked from btclock/webui
Add staging source toggle
This commit is contained in:
parent
cb91373233
commit
3184b4c973
2 changed files with 13 additions and 1 deletions
|
@ -52,7 +52,8 @@
|
||||||
"httpAuthUser": "WebUI Username",
|
"httpAuthUser": "WebUI Username",
|
||||||
"httpAuthPass": "WebUI Password",
|
"httpAuthPass": "WebUI Password",
|
||||||
"httpAuthText": "Only password-protects WebUI, not API-calls.",
|
"httpAuthText": "Only password-protects WebUI, not API-calls.",
|
||||||
"currencies": "Currencies"
|
"currencies": "Currencies",
|
||||||
|
"stagingSource": "Use Staging datasource (for development)"
|
||||||
},
|
},
|
||||||
"control": {
|
"control": {
|
||||||
"systemInfo": "System info",
|
"systemInfo": "System info",
|
||||||
|
|
|
@ -770,6 +770,17 @@
|
||||||
label="{$_('section.settings.httpAuthEnabled')} ({$_('restartRequired')})"
|
label="{$_('section.settings.httpAuthEnabled')} ({$_('restartRequired')})"
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
|
{#if 'stagingSource' in $settings}
|
||||||
|
<Col md="6" xl="12" xxl="6">
|
||||||
|
<Input
|
||||||
|
id="stagingSource"
|
||||||
|
bind:checked={$settings.stagingSource}
|
||||||
|
type="switch"
|
||||||
|
bsSize={$uiSettings.inputSize}
|
||||||
|
label="{$_('section.settings.stagingSource')} ({$_('restartRequired')})"
|
||||||
|
/>
|
||||||
|
</Col>
|
||||||
|
{/if}
|
||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
|
|
Loading…
Reference in a new issue