Add a 14-day history retention option

This commit is contained in:
Sucukdeluxe committed 2026-09-26 10:19:16 +02:00
1 parent 461712b6bc
commit a26b00c425
4 files changed
+9 -1

No files matched your search

+2
View File
@@ -609,6 +609,7 @@
<div class="history-retention-menu" id="historyRetentionMenu" role="listbox" aria-labelledby="historyRetentionTrigger" style="display:none">
<button type="button" class="history-retention-option" role="option" data-history-retention="all" aria-selected="true">Alles behalten</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="7d" aria-selected="false">Letzte 7 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="14d" aria-selected="false">Letzte 14 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="30d" aria-selected="false">Letzte 30 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="90d" aria-selected="false">Letzte 90 Tage</button>
<button type="button" class="history-retention-option" role="option" data-history-retention="100" aria-selected="false">Letzte 100 Uploads</button>
@@ -618,6 +619,7 @@
<select id="historyRetentionSelect" class="history-retention-select" hidden aria-hidden="true" tabindex="-1">
<option value="all">Alles behalten</option>
<option value="7d">Letzte 7 Tage</option>
<option value="14d">Letzte 14 Tage</option>
<option value="30d">Letzte 30 Tage</option>
<option value="90d">Letzte 90 Tage</option>
<option value="100">Letzte 100 Uploads</option>