new options and functions
This commit is contained in:
@ -63,7 +63,13 @@
|
||||
<span class="badge bg-secondary">{{ file.backup_type }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ file.file_path|basename }}</td>
|
||||
<td>
|
||||
{% if file.backup_type == 'binary' %}
|
||||
<span data-bs-toggle="tooltip" title="Checksum: {{ file.checksum }}">{{ file.file_path|basename }}</span>
|
||||
{% else %}
|
||||
{{ file.file_path|basename }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ file.created_at.strftime("%Y-%m-%d %H:%M:%S") }}</td>
|
||||
<td>{{ file.file_path|filesize }}</td>
|
||||
<td>
|
||||
@ -130,9 +136,7 @@
|
||||
<script>
|
||||
document.getElementById('select_all').addEventListener('change', function(e) {
|
||||
var checkboxes = document.querySelectorAll('input[name="backup_id"]');
|
||||
for (var i = 0; i < checkboxes.length; i++) {
|
||||
checkboxes[i].checked = e.target.checked;
|
||||
}
|
||||
checkboxes.forEach(cb => cb.checked = e.target.checked);
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
@ -47,6 +47,11 @@
|
||||
<label for="smtp_password" class="form-label">SMTP Hasło</label>
|
||||
<input type="password" class="form-control" id="smtp_password" name="smtp_password" value="{{ settings.smtp_password }}">
|
||||
</div>
|
||||
<!-- Nowe pole: docelowy adres e-mail -->
|
||||
<div class="mb-3">
|
||||
<label for="recipient_email" class="form-label">Adres e-mail docelowy</label>
|
||||
<input type="email" class="form-control" id="recipient_email" name="recipient_email" value="{{ settings.recipient_email }}">
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<!-- Sekcja globalnego klucza SSH -->
|
||||
|
Reference in New Issue
Block a user