{% extends 'base.html' %} {% comment %} # # This file is part of Plinth. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # {% endcomment %} {% block page_head %} {% if is_running %} {% endif %} {% endblock %} {% block content %}

{{ title }}

The system diagnostic test will run a number of checks on your system to confirm that applications and services are working as expected.

{% if not is_running %}
{% csrf_token %}
{% else %}

Diagnotics test is currently running

{{ results.progress_percentage }}%
{% endif %} {% if results %}

Results

{% if results.error %}
× {{ results.error }}
{% else %} {% for module, module_results in results.results.items %}

Module: {{ module }}

{% if module_results %} {% include "diagnostics_results.html" with results=module_results %} {% else %}

{% endif %} {% endfor %} {% endif %} {% endif %} {% endblock %}