{% extends "hosting/workspace_page.html" %} {% load tz %} {% 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, access_entries in sites %}

{{ site.domain }}

{% if snapshot %}

Last checked {{ snapshot.observed_at|utc|date:"j M Y, H:i:s" }} UTC

{% endif %}
{% if snapshot %} {% if 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

{% if access_entries %}
{% for entry in access_entries %} {% if entry.time %} {% else %}{% endif %} {% endfor %}
Time (UTC)MethodStatusPathSize
{{ entry.time|utc|date:"j M Y, H:i:s" }}{{ entry.method }}{{ entry.status }}{{ entry.path }}{{ entry.bytes|filesizeformat }}
{{ entry.raw }}
{% else %}

No entries.

{% endif %}

Recent error log

{% if snapshot.report.error_lines %}
{% for line in snapshot.report.error_lines %}{{ line }}{% if not forloop.last %}
{% endif %}{% endfor %}
{% else %}

No entries.

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

No measurement yet.

{% endif %}
{% empty %}

No active websites.

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

Mailbox storage

{% if mailboxes %}
{% for mailbox in mailboxes %} {% endfor %}
MailboxStorage usedLimit
{{ mailbox }}{% if mailbox.usage_bytes is not None %}{{ mailbox.usage_bytes|filesizeformat }}{% else %}Unavailable{% endif %}{{ mailbox.quota_mib|default_if_none:"Unlimited" }}{% if mailbox.quota_mib %} MiB{% endif %}
{% else %}

No mailboxes.

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