improve backup
Some checks failed
/ Run tests (push) Failing after 16s
/ Run system tests (push) Failing after 14s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-10-27 03:38:15 +01:00
parent db9755cad5
commit fc71cd4a09
4 changed files with 45 additions and 17 deletions

View file

@ -19,6 +19,12 @@
<%= link_to Link.model_name.human(count: Link.count), :links %>
</p>
<p>
<%= link_to "Backup herunterladen", admin_backup_url, class: "btn btn-secondary", data: { turbo_prefetch: false, frame: "_top", turbo: false } %>
</p>
<h2 class="mt-3">Backup</h2>
<ul class="ps-0" style="list-style-type: none">
<li>
<%= link_to "XLSX Backup herunterladen", admin_backup_url(format: :xlsx), class: " ", data: { turbo_prefetch: false, frame: "_top", turbo: false } %>
</li>
<li>
<%= link_to "ZIP Backup herunterladen", admin_backup_url(format: :zip), class: " ", data: { turbo_prefetch: false, frame: "_top", turbo: false } %>
</li>
</ul>