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,13 +37,24 @@
|
|||
</b-field>
|
||||
|
||||
<b-field label="farmOS Integration Mode">
|
||||
<b-select name="${app.appname}.farmos_integration_mode"
|
||||
v-model="simpleSettings['${app.appname}.farmos_integration_mode']"
|
||||
@input="settingsNeedSaved = true">
|
||||
% for value, label in enum.FARMOS_INTEGRATION_MODE.items():
|
||||
<option value="${value}">${label}</option>
|
||||
% endfor
|
||||
</b-select>
|
||||
<div style="display: flex; gap: 0.5rem; align-items: center;">
|
||||
<b-select name="${app.appname}.farmos_integration_mode"
|
||||
v-model="simpleSettings['${app.appname}.farmos_integration_mode']"
|
||||
@input="settingsNeedSaved = true">
|
||||
% for value, label in enum.FARMOS_INTEGRATION_MODE.items():
|
||||
<option value="${value}">${label}</option>
|
||||
% endfor
|
||||
</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-checkbox name="${app.appname}.farmos_style_grid_links"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue