{% extends "base.html" %} {% block title %}Historia aktualizacji{% endblock %} {% block content %} <div class="container"> <h2 class="mb-4">Historia aktualizacji</h2> <table class="table table-bordered"> <thead> <tr> <th>Data</th> <th>Urządzenie</th> <th>Typ aktualizacji</th> <th>Szczegóły</th> </tr> </thead> <tbody> {% for history in histories %} <tr> <td>{{ history.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}</td> <td>{{ history.device.name or history.device.ip }}</td> <td>{{ history.update_type }}</td> <td>{{ history.details }}</td> </tr> {% endfor %} </tbody> </table> </div> {% endblock %}