fixes
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
<th>Port</th>
|
||||
<th>Typ</th>
|
||||
<th>Uwierzytelnianie</th>
|
||||
<th>Wybrany plik /etc/hosts</th> <!-- Nowa kolumna -->
|
||||
<th>Wybrany plik /etc/hosts</th>
|
||||
<th>Auto Deploy</th>
|
||||
<th>Auto Backup</th>
|
||||
<th>Akcje</th>
|
||||
@ -37,10 +37,28 @@
|
||||
<tr>
|
||||
<td>{{ h.id }}</td>
|
||||
<td data-bs-toggle="tooltip" data-bs-placement="top" title="{{ h.resolved_hostname }}">
|
||||
{{ h.hostname }}
|
||||
{% if h.use_daemon and h.type == 'linux' and h.daemon_url %}
|
||||
{% set daemon_str = h.daemon_url.split('://') | last %}
|
||||
{% set daemon_split = daemon_str.split(':') %}
|
||||
<small>(Daemon IP: {{ daemon_split[0] }})</small>
|
||||
{% else %}
|
||||
{{ h.hostname }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if h.use_daemon and h.type == 'linux' %}
|
||||
<em>—</em>
|
||||
{% else %}
|
||||
{{ h.username }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
{% if h.use_daemon and h.type == 'linux' %}
|
||||
<em>—</em>
|
||||
{% else %}
|
||||
{{ h.port }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ h.username }}</td>
|
||||
<td>{{ h.port }}</td>
|
||||
<td>
|
||||
{% if h.type == 'linux' %}
|
||||
Linux{% if h.use_daemon %} (Demon){% endif %}
|
||||
|
Reference in New Issue
Block a user