{% if not health_summary.configured %}Service checks need setup.{% elif health_summary.needs_attention %}{{ health_summary.needs_attention }} of {{ health_summary.configured }} service checks need attention.{% else %}All {{ health_summary.configured }} service checks are healthy.{% endif %}
- Service health -Manage the logins for your assigned customers.
My customers diff --git a/src/coulobre/hosting/templates/hosting/base.html b/src/coulobre/hosting/templates/hosting/base.html index 5d23ec2..eb73888 100644 --- a/src/coulobre/hosting/templates/hosting/base.html +++ b/src/coulobre/hosting/templates/hosting/base.html @@ -1,15 +1,15 @@ -{% load static %} +{% load static panel_assets %}Requested by {{ job.actor }}
{% endif %} {% if job.problem %}{{ job.problem }}
{% endif %} {% if job.action == 'package-preview' and job.result.fingerprint %} diff --git a/src/coulobre/hosting/templates/hosting/server_updates.html b/src/coulobre/hosting/templates/hosting/server_updates.html index 720e483..f0b474c 100644 --- a/src/coulobre/hosting/templates/hosting/server_updates.html +++ b/src/coulobre/hosting/templates/hosting/server_updates.html @@ -1,33 +1,63 @@ {% extends "hosting/update_workspace.html" %} {% block title %}Server package updates · Coulobre Panel{% endblock %} {% block page_content %} -Server package updates are disabled. To enable them, set
+ COULOBRE_SERVER_PACKAGE_UPDATES=1 in
+ /etc/coulobre/panel.env and restart
+ coulobre-panel.
The local operator service is unavailable.
+ {% elif pending %} ++ {% if latest.action == 'package-preview' %} + {% if latest.started_at %}Checking for package updates…{% else %}Package check queued.{% endif %} + {% else %} + {% if latest.started_at %}Applying package updates…{% else %}Package update queued.{% endif %} + {% endif %} +
+ {% elif latest and not latest.finished_at %} +The operator service did not report a result. Check its journal before retrying.
+ {% elif latest.problem %} +{% if latest.action == 'package-preview' %}Package check failed.{% else %}Package update failed.{% endif %} + {{ latest.problem }}
+ {% elif latest.action == 'package-upgrade' %} +Package update complete. {{ latest.result.upgrades_remaining }} update{{ latest.result.upgrades_remaining|pluralize }} remaining.
+ {% elif latest.action == 'package-preview' and not latest.result.count %} +No package updates are available.
+ {% elif form.preview %} +{{ form.preview.result.count }} package update{{ form.preview.result.count|pluralize }} ready to review.
+ {% elif latest %} +The package review expired. Check again for the current list.
{% else %} - {% if form.preview %}No packages are ready to update.
{% endif %} - {{ form.preview_id.errors }} +Check for available operating system and service package updates.
{% endif %} - {% else %}Enable the operator service on the host to review server updates.
{% endif %} +