{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if not run_tests %} {% trans "Run All Tests" %} {% else %} {% trans "Reset" %} {% endif %} {% if run_tests %} {% if all_passed is not None %}
{% if all_passed %} ✅ {% trans "All tests passed successfully!" %} {% else %} ❌ {% trans "Some tests failed. Please check the details below." %} {% endif %}
{% endif %}

{% trans "Test Results" %}

{% for result in results %}
{{ result.name }} {% if result.success %} ✓ {% trans "Pass" %} {% else %} ✗ {% trans "Fail" %} {% endif %}
{{ result.message }} {% if result.duration_ms %} ({{ result.duration_ms|floatformat:2 }}ms) {% endif %}
{% if result.details %}
{% trans "Details:" %}
{% for key, value in result.details.items %}
{{ key }}:
{{ value }}
{% endfor %}
{% endif %}
{% endfor %}
{% else %}

{% trans "Available Tests" %}

{% trans "Click 'Run All Tests' to execute the following system health checks:" %}

    {% for test in available_tests %}
  • {{ test.name }} {{ test.description }}
  • {% endfor %}
{% endif %}
{% endblock %}