{% extends "portregistry/base.html" %} {% load pr_format %} {% block title %}Port timeline{% endblock %} {% block heading %}Port timeline{% if tl %} {{ tl.port }}{% if tl.label %} {{ tl.label }}{% endif %}{% endif %}{% endblock %} {% block content %}
{% if error %}
{{ error }}
{% endif %} {% if tl %}
{% if not tl.lanes and not tl.reservations %}

Nothing held or reserved this port in the last {{ tl.window.days }} day(s).

{% else %}
{% for t in tl.ticks %}{{ t.label }}{% endfor %}
{% for lane in tl.lanes %}
{% if lane.process_id %}{{ lane.owner }}{% else %}{{ lane.owner }}{% endif %}
{{ lane.endpoint }}
{% for i in lane.intervals %}{% endfor %}
{% endfor %} {% for r in tl.reservations %}
Reservation #{{ r.id }}
{{ r.service|default:"no service" }} · {{ r.status }}
{% endfor %}
{% endif %}

{{ tl.note }} Window: last {{ tl.window.days }} day(s).

{% else %}

Enter a port to see which processes held it over time, alongside its reservations.

{% endif %} {% endblock %}