{% extends "base.html" %} {#- One job (docs/collaboration.md W7, plan C7a): a command run for the project. -#} {% block title %}{{ e.name }}: job{% endblock %} {% block crumbs %}/ {{ e.name }} / jobs{% endblock %} {% block main %}

{{ cmd }}

State{{ j.state|upper }} {% if j.state == "failed" %} exit {{ j.exit }}{% elif j.state == "lost" %} its process is gone without an end: it was killed, or the host restarted{% endif %}
Started{{ j.start|epoch }} by {{ j.by }} on {{ j.host }}
{{ "Running for" if j.state == "running" else "Took" }}{{ took }}
In{{ j.cwd }}

Output{% if log.startswith("…") %} (the end of it){% endif %}

{% if log %}
{{ log }}
{% else %}

No output{{ " yet" if j.state == "running" }}.

{% endif %}

The whole log is jobs/{{ j.id }}/log in the project.

{% endblock %}