{% extends 'base.html' %} {% block title %}Wszystkie paragony{% endblock %} {% block content %}

📸 Wszystkie paragony

← Powrót do panelu
{% for img in image_files %} {% set list_id = img.split('_')[1] if '_' in img else None %} {% set file_path = (upload_folder ~ '/' ~ img) %} {% set file_size = (file_path | filesizeformat) %} {% set upload_time = (file_path | filemtime) %}

{{ img }}

Rozmiar: {{ file_size }}

Wgrano: {{ upload_time.strftime('%Y-%m-%d %H:%M') }}

{% if list_id %} 🔗 Lista #{{ list_id }} {% endif %} 🗑️ Usuń
{% endfor %}
{% if not image_files %}

Brak wgranych zdjęć.

{% endif %} {% endblock %}