nowa funkcja / domyslne wpisy
This commit is contained in:
@ -50,7 +50,8 @@
|
||||
<th>Wybrany /etc/hosts</th>
|
||||
<th>Auto Deploy</th>
|
||||
<th>Auto Backup</th>
|
||||
<th>Wyłącz CIDR / regex</th>
|
||||
<th>Wyłącz <a href="{{ url_for('list_regex_hosts') }}">CIDR / regex</a></th>
|
||||
<th>Wyłącz <a href="{{ url_for('local_defaults') }}">local-defaults</a></th>
|
||||
<th>Akcje</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -152,7 +153,17 @@
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
|
||||
|
||||
<td>
|
||||
<form method="POST" action="{{ url_for('update_host_automation', id=h.id) }}" class="d-flex justify-content-center">
|
||||
<input type="hidden" name="setting" value="disable_local_default">
|
||||
<div class="form-check form-switch">
|
||||
<input class="form-check-input" type="checkbox" id="disableLocalDefaultCheckbox{{ h.id }}" name="enabled" value="1" onchange="this.form.submit()" {% if h.disable_local_default %}checked{% endif %}>
|
||||
<label class="form-check-label" for="disableLocalDefaultCheckbox{{ h.id }}"></label>
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<div class="d-flex flex-wrap gap-1">
|
||||
<a href="{{ url_for('edit_server', id=h.id) }}" class="btn btn-primary btn-sm btn-action">Edytuj</a>
|
||||
|
Reference in New Issue
Block a user