fix: add reminder to restart if changing integration mode
This commit is contained in:
parent
7d5ff47e8e
commit
1c0286eda0
1 changed files with 18 additions and 7 deletions
|
|
@ -37,6 +37,7 @@
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<b-field label="farmOS Integration Mode">
|
<b-field label="farmOS Integration Mode">
|
||||||
|
<div style="display: flex; gap: 0.5rem; align-items: center;">
|
||||||
<b-select name="${app.appname}.farmos_integration_mode"
|
<b-select name="${app.appname}.farmos_integration_mode"
|
||||||
v-model="simpleSettings['${app.appname}.farmos_integration_mode']"
|
v-model="simpleSettings['${app.appname}.farmos_integration_mode']"
|
||||||
@input="settingsNeedSaved = true">
|
@input="settingsNeedSaved = true">
|
||||||
|
|
@ -44,6 +45,16 @@
|
||||||
<option value="${value}">${label}</option>
|
<option value="${value}">${label}</option>
|
||||||
% endfor
|
% endfor
|
||||||
</b-select>
|
</b-select>
|
||||||
|
<${b}-tooltip position="${'right' if request.use_oruga else 'is-right'}">
|
||||||
|
<b-icon pack="fas" icon="info-circle" type="is-warning" />
|
||||||
|
<template #content>
|
||||||
|
<p class="block">
|
||||||
|
<span class="has-text-weight-bold">RESTART IS REQUIRED</span>
|
||||||
|
if you change the integration mode.
|
||||||
|
</p>
|
||||||
|
</template>
|
||||||
|
</${b}-tooltip>
|
||||||
|
</div>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<b-checkbox name="${app.appname}.farmos_style_grid_links"
|
<b-checkbox name="${app.appname}.farmos_style_grid_links"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue