{% extends "base.html" %} {% from "ui.html" import badge, scenario, empty_row with context %} {% block title %}Logs - Jatszoter{% endblock %} {% block header %} {% endblock %} {% block content %}
{% for row in rows %} {% set trainee = users.get(row.trainee_id) %} {% else %} {% if failure %} {{ empty_row(6, 'The list could not be loaded', 'Reload the page to try again.') }} {% else %} {{ empty_row(6, 'No deployments yet', 'A console log appears here once a deployment boots its VM.') }} {% endif %} {% endfor %}
Status Scenario Trainee Created Ended
{{ badge(row.status) }} {{ scenario(scenarios.get(row.scenario_id)) }} {{ trainee.name if trainee else '-' }} {{ row.created_at | when }} {{ row.ended_at | when }} {% if held[row.id] == "log" %} {% elif held[row.id] == "purged" %} purged {% else %} no log yet {% endif %}
{% if rows %}{{ rows | length | counted("deployment") }}{% endif %}
{% endblock %}