{% extends "hosting/workspace_page.html" %} {% block title %}Usage · {{ account.name }}{% endblock %} {% block page_title %}Usage for {{ account.name }}{% endblock %} {% block page_actions %}
{% csrf_token %}
{% endblock %} {% block page_context %} ← {{ account.name }} {% endblock %} {% block page_content %}

{{ month }} (UTC) HTTP response data {% if total_traffic is not None %}{{ total_traffic|filesizeformat }}{% else %}No measurements{% endif %} {% if not complete and total_traffic is not None %} · Partial{% endif %}

{% for site, snapshot, quota in sites %}

{{ site.domain }}

{% if snapshot %}

Last checked {{ snapshot.observed_at }}

{% if snapshot.report.error %}

{{ snapshot.report.error }}

{% else %}
Website storage used
{{ snapshot.report.storage_bytes|filesizeformat }}{% if quota is not None %} of {{ quota }} MiB{% endif %}
HTTP response data for {{ snapshot.report.month }} (UTC)
{% if snapshot.report.traffic_bytes is not None %}{{ snapshot.report.traffic_bytes|filesizeformat }}{% else %}Unavailable{% endif %}{% if snapshot.report.partial %} · Partial{% endif %}

Recent access log

{% for line in snapshot.report.access_lines %}
{{ line }}
{% empty %}

No entries.

{% endfor %}

Recent error log

{% for line in snapshot.report.error_lines %}
{{ line }}
{% empty %}

No entries.

{% endfor %} {% endif %} {% else %}

No measurement yet.

{% endif %}
{% endfor %} {% if mailboxes is not None %}

Mailbox storage

{% for mailbox in mailboxes %}
{{ mailbox }}
{% if mailbox.usage_bytes is not None %}{{ mailbox.usage_bytes|filesizeformat }} used · {% endif %}{{ mailbox.quota_mib|default_if_none:"Unlimited" }}{% if mailbox.quota_mib %} MiB{% endif %}
{% empty %}

No mailboxes.

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