ui variable placeholders
This commit is contained in:
parent
eca7ecefcc
commit
f6587f8029
@ -24,7 +24,7 @@ class Application:
|
||||
|
||||
def start(self) -> None:
|
||||
self._web_server.run()
|
||||
|
||||
|
||||
def signal_handler(self, signal, frame) -> None:
|
||||
logging.info("Shutting down...")
|
||||
self._stop_event.set()
|
||||
|
||||
@ -0,0 +1 @@
|
||||
|
||||
@ -35,14 +35,18 @@
|
||||
<tr>
|
||||
<td>{{ ro_variable.description }}</td>
|
||||
<td>
|
||||
{% if ro_variable.type.value == 'bool' %}
|
||||
{% if ro_variable.display() %}
|
||||
✅
|
||||
{% if ro_variable.value %}
|
||||
{% if ro_variable.type.value == 'bool' %}
|
||||
{% if ro_variable.display() %}
|
||||
✅
|
||||
{% else %}
|
||||
❌
|
||||
{% endif %}
|
||||
{% else %}
|
||||
❌
|
||||
{{ ro_variable.display() }}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ ro_variable.display() }}
|
||||
<span class="empty">{{ l.common_empty }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
@ -55,6 +59,8 @@
|
||||
✅
|
||||
{% elif env_value == false %}
|
||||
❌
|
||||
{% elif env_value == none %}
|
||||
<span class="empty">{{ l.common_empty }}</span>
|
||||
{% else %}
|
||||
{{ env_value }}
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user