{% extends "pyfarm/user_interface/layout.html" %}
{% block title %}Logs in Task {{ task.id }} {% endblock %}
{% block jobs_nb_class %}active{% endblock %}
{% block additional_styles %}
{% endblock %}
{% block content %}
<h1>Logs in Task {{ task.id }} </h1>
<h2>(Frame {{ task.frame }} from job <a href="{{ url_for('single_job_ui', job_id=task.job.id) }}">{{ task.job.title }}</a>)</h2>

<ul>
{% for attempt, logs in attempts.items() %}
  <li> Attempt {{ attempt }}
    <ul>
    {% for log in logs %}
      <li><span class="timestamp">{{ log.log.created_on.isoformat() }}</span> on {{ log.log.agent.hostname }}: <a href="/api/v1/jobs/{{ task.job.id }}/tasks/{{ task.id }}/attempts/{{ attempt }}/logs/{{ log.log.identifier }}/logfile">{{ log.log.identifier }}</a></li>
    {% endfor %}
    </ul>
  </li>
{%endfor%}
</ul>
{% endblock %}

{% extends "pyfarm/user_interface/layout.html" %}
{% block title %}Logs in Task {{ task.id }} {% endblock %}
{% block jobs_nb_class %}active{% endblock %}
{% block additional_styles %}
{% endblock %}
{% block content %}
<h1>Logs in Task {{ task.id }} </h1>
<h2>(Frame {{ task.frame }} from job <a href="{{ url_for('single_job_ui', job_id=task.job.id) }}">{{ task.job.title }}</a>)</h2>

<ul>
{% for attempt, logs in attempts.items() %}
  <li> Attempt {{ attempt }}
    <ul>
    {% for log in logs %}
      <li><span class="timestamp">{{ log.log.created_on.isoformat() }}</span> on <a href="{{ url_for('single_agent_ui', agent_id=log.log.agent.id) }}">{{ log.log.agent.hostname }}</a>: <a href="/api/v1/jobs/{{ task.job.id }}/tasks/{{ task.id }}/attempts/{{ attempt }}/logs/{{ log.log.identifier }}/logfile">{{ log.log.identifier }}</a></li>
    {% endfor %}
    </ul>
  </li>
{%endfor%}
</ul>
{% endblock %}

Make agents in tasklogs view clickable
Make agents in tasklogs view clickable
