fixy i now funkcje (przebudowa rozwiazywania nazw)
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
<th>Wybrany plik /etc/hosts</th>
|
||||
<th>Auto Deploy</th>
|
||||
<th>Auto Backup</th>
|
||||
<th>Wyłącz regex deploy</th> <!-- Nowa kolumna -->
|
||||
<th>Wyłącz CIDR/regex deploy</th>
|
||||
<th>Akcje</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -37,16 +37,15 @@
|
||||
{% for h in hosts %}
|
||||
<tr>
|
||||
<td>{{ h.id }}</td>
|
||||
<td data-bs-toggle="tooltip" data-bs-placement="top"
|
||||
title="{% if h.use_daemon and h.type == 'linux' and h.daemon_url %}{{ h.resolved_daemon }}{% else %}{{ h.resolved_hostname }}{% endif %}">
|
||||
<td data-bs-toggle="tooltip" data-bs-placement="top" title="{{ h.raw_ip }}">
|
||||
{% if h.use_daemon and h.type == 'linux' and h.daemon_url %}
|
||||
{% set daemon_str = h.daemon_url.split('://') | last %}
|
||||
{% set daemon_ip = daemon_str.split(':')[0] %}
|
||||
{{ daemon_ip }}
|
||||
{{ h.resolved_daemon }}
|
||||
{% else %}
|
||||
{{ h.hostname }}
|
||||
{{ h.resolved_hostname }}
|
||||
{% endif %}
|
||||
</td>
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
{% if h.use_daemon and h.type == 'linux' %}
|
||||
<em>—</em>
|
||||
|
Reference in New Issue
Block a user