From 54b7d62e729c984c7b079804f04bdc6ef6699b2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Mon, 24 Feb 2025 13:47:01 +0100 Subject: [PATCH] fix in js --- templates/base.html | 2 ++ templates/logs.html | 43 ++++++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 21 deletions(-) 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 %}