{% extends BASE_TEMPLATE %} {#{% load crispy_forms_tags %}#} {% block title %} Log {{ TITLE_SEPARATOR }} {{ block.super }} {% endblock title %} {% block content %} {% for entry in entries %} {% if entry.status == 'error' %}
{% elif entry.status == 'warn' %}
{% elif entry.status == 'info' %}
{% elif entry.status == 'good' %}
{% else %}
{% endif %} #{{ entry.pk }} on {{ entry.added }} from {{ entry.key.description }} {% if entry.resolved %}resolved {{ entry.resolved }}{% endif %}  ip: {{ entry.from_ip }} key: ...{{ entry.key_end }}   
{% csrf_token %} {% if entry.resolved %} {% else %} {% endif %}

{{ entry.description }}
{% empty %} {% if show_resolved %}

No log entries{% if show %} that match the criteria. Remove criteria?{% else %}!{% endif %}

{% else %}

No unresolved log entries{% if show %} that match the criteria{% endif %}! Do you want to see resolved entries{% if show %}, or maybe remove criteria{% endif %}?

{% endif %} {% endfor %} {% if entries.paginator.count %} {% endif %} {% endblock content %} {% block sidebar %}

Log entries

These log entries can come from different services and websites.

You can add an entry at this page.

You can filter entries; use for example GET ?show=good,error,warn to show only some type of message, and ?resolved to show resolved items. {% if show or show_resolved %} Remove filters.{% endif %}

{% csrf_token %}
on all pages that match the current filters (the visible ones). There are {{ unresolved_count }} unresolved matches. {% endblock sidebar %}