{% extends "lava_scheduler_app/_content.html" %} {% block extrahead %} {{ block.super }} {% endblock %} {% block content %}

Device {{ device }}

{% if show_maintenance %}
{% csrf_token %}
{% endif %} {% if show_online %}
{% csrf_token %}
{% endif %}
Hostname:
{{ device.hostname }}
Device type:
{{ device.device_type }}
Device Tags
{% for tag in device.tags.all %}
{{ tag.name }}
{% empty %}
None
{% endfor %}
Status:
{{ device.get_status_display }} {% if transition %} (reason: {{ transition }}) {% endif %}
{% if device.current_job %}
Currently running:
Job {{ device.current_job }}
{% endif %}
{% for job in recent_job_list %} {% endfor %}
ID Status Device Submitter Start Time Finish Time
{{ job.id }} {{ job.get_status_display }} {{ job.actual_device|default:'' }} {{ job.submitter }} {{ job.start_time }} {{ job.end_time|default:"not finished" }}
See status transitions {% for tr in transition_list %} {% endfor %}
When Transition By Reason
{{ tr.0|date:"Y-m-d H:i" }} {% if tr.1 %} (after {{ tr.1|timesince:tr.0 }}) {% endif %} {{ tr.2 }} → {{ tr.3 }} {{ tr.4 }} {% if tr.5 %} {{ tr.5 }} {% endif %}
{% endblock %}