{# proxmox_client/partials/mobile_cards.html Mobile-Karten für Proxmox-Client-Sicherungen -- hat kein eigenes ui_content=ContentTable(...) (nutzt crud_blueprint mit schema.yaml direkt), _ui_cols ist daher leer -- Felder hier aus schema.yaml (enabled, source) statt aus Col-Objekten. #} {% import 'partials/components/mobile_card_macros.html' as mc %} {% if cfg %} {% for item_id, item in cfg.items() %} {% set _footer %}{{ mc.m_card_actions_default(module, item_id, item, container_id, loading_id, card_actions=_card_actions) }}{% endset %} {% call mc.m_card(item.get('description') or item_id, status=item.get('last_status'), enabled=item.get('enabled', True), footer=_footer) %} {{ mc.m_card_row('Zusätzliche Quellen', (item.get('source') or []) | join(', ')) }} {{ mc.m_card_row('Letzter Lauf', item.get('last_run')) }} {% endcall %} {% endfor %} {% else %}