{# Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. #} {% from "helper.html" import print_flashes, print_exception %} {% extends "layout.html" %} {% block title %} {{job.name()}} {% endblock %} {% block head %} {% if job.status.is_running() %} {% with namespace = "/jobs" %} {% set room = job.id() %} {% include 'socketio.html' %} {% endwith %} {% endif %} {% endblock %} {% block nav %}
  • {{job.job_type()}}
  • {% endblock %} {% block content %}

    {{ job.name() }}

    {% if job | has_permission('edit') %} {% endif %}
    {% if job.username %} Owner: {{job.username}} {% endif %}
    {% if job.form_data is defined %} Clone Job {% else %} Clone Job {% endif %} Abort Job Delete Job
    {{ print_flashes() }}
    {% block job_content %} {% endblock %}

    Job Status {{job.status.name}}

    {% with updates = job.status_history %} {% include "status_updates.html" %} {% endwith %}
    {% for task in job.tasks %}
    {% with updates = task.status_history %} {% if task.status == 'E' %} {% set exception = task.exception %} {% set traceback = task.traceback %} {% endif %} {% include "status_updates.html" %} {% endwith %}
    {% endfor %}
    {% if related_jobs is not none and related_jobs|length > 0 %}

    Related jobs

    {% for r_job in related_jobs %} {% if prev_job_model != r_job.job_type() %}

    {{r_job.job_type()}}

    {% set prev_job_model = r_job.job_type() %} {% endif %}
    {% with updates = r_job.status_history %} {% include "status_updates.html" %} {% endwith %}
    {% endfor %}
    {% endif %}

    Notes

    {{ job.notes() }}

    {% if job | has_permission('edit') %} {% endif %}
    {% block job_content_details %} {% endblock %}
    {% endblock %}