{# core/ui/templates/partials/lists/settings.html Einstellungen – optionale Karten: Update, SSH-Key, Moduleinstellungen #} {% import 'partials/components/ui_macros.html' as ui %} {% from 'partials/components/ui_macros.html' import btn_save, form_input %}
{% if flash_message %}
{{ flash_message }}
{% endif %} {# ── Globale Einstellungen ────────────────────────────────────────────────── #}
Allgemein
{{ form_input('PAGINATION_PAGE_SIZE', settings.get('PAGINATION_PAGE_SIZE', 15), type='number', attrs='min="5" max="200"') }}
Gilt für alle Listen-Ansichten in der App
{{ form_input('ACTIVITY_LOG_RETENTION_DAYS', settings.get('ACTIVITY_LOG_RETENTION_DAYS', 90), type='number', attrs='min="0" max="3650"') }}
Ältere abgeschlossene Einträge werden beim Start entfernt; 0 = unbegrenzt
{# ── System: Zusätzlicher Speicher (frueher eigene Karte) ──────── #}
{% call ui.btn(attrs='style="gap:5px;" @click="add()"') %} Hinzufügen {% endcall %}
Mountpoints für zusätzliche Festplatten-Karten
{{ btn_save() }}
{# ── SSH-Key (nur wenn App es benötigt) ──────────────────────────────────── #} {% if show_ssh_key %}
{{ app_name }}
{% endif %} {# ── Eingebettete Module (settings_embed=True) ───────────────────────────── #} {% for mod in modules %} {% if mod.settings_embed %}
{{ mod.label }}
{% endif %} {% endfor %} {# ── Moduleinstellungen ──────────────────────────────────────────────────── #} {% for key, data in (mod_settings | default({})).items() %} {% include "settings/partials/module_card.html" %} {% endfor %}
{# ── Ende section-stack ── #}