fixy z listy todo

This commit is contained in:
Mateusz Gruszczyński
2025-03-09 00:03:29 +01:00
parent 2904209332
commit a5c59f8a64
5 changed files with 71 additions and 31 deletions

View File

@ -21,7 +21,14 @@
{% for host in hosts %}
<div class="form-check">
<input class="form-check-input" type="checkbox" name="hosts" value="{{ host.id }}" id="host{{ host.id }}">
<label class="form-check-label" for="host{{ host.id }}">{{ host.hostname }} ({{ host.type }})</label>
<label class="form-check-label" for="host{{ host.id }}">
{% if host.use_daemon and host.type == 'linux' and host.daemon_url %}
{{ host.daemon_ip }} - {{ host.resolved_daemon }}
{% else %}
{{ host.hostname }}
{% endif %}
({{ host.type }})
</label>
</div>
{% endfor %}
</div>