diff --git a/templates/base.html b/templates/base.html index ee92741..8a83367 100644 --- a/templates/base.html +++ b/templates/base.html @@ -63,6 +63,8 @@ + + {% block extra_scripts %}{% endblock %} diff --git a/templates/logs.html b/templates/logs.html index 339762a..12bb573 100644 --- a/templates/logs.html +++ b/templates/logs.html @@ -1,7 +1,8 @@ {% extends "base.html" %} {% block title %}Logi - Aplikacja Updatera{% endblock %} {% block extra_head %} - + + {% endblock %} {% block content %}

Logi

@@ -31,34 +32,34 @@ {{ log.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} {% if log.device_id %} - - {{ log.device.name if log.device.name else "Urządzenie #" ~ log.device.id }} - + + {{ log.device.name if log.device.name else "Urządzenie #" ~ log.device.id }} + {% else %} - Ogólne + Ogólne {% endif %}
{{ log.message }}
- {% else %} - - Brak logów. - {% endfor %} - - - - - + + {% endblock %}