{% extends "core/base/base.html" %} {% comment %} SPDX-FileCopyrightText: 2022 Helmholtz-Zentrum Dresden-Rossendorf (HZDR) SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} {% load static %} {% load vendor_tags %} {% block content %}
{% with job.userjobconfig_set.first as config %} {% if config %} {% if job.status == job.StatusCodes.RUNNING %} {% else %} {% endif %} {% else %} {% endif %} {% endwith %}

{{ job.label }} Run


{% autoescape off %} {{ output_text }} {% endautoescape %}

{{ job.label }} Job Details

{% if job.description %} {% endif %} {% if running_executions %} {% endif %} {% if last_execution.start_time %} {% endif %} {% if last_execution.duration_str %} {% endif %} {% if last_execution.profiling %} {% endif %} {% if last_execution.memory_usage_dict %} {% endif %} {% if last_execution.execution_id %} {% endif %} {% if last_execution.aborted %} {% endif %}
Job ID {{ job.job_id }}
Job {{ job.identifier_label }} {{ job.identifier_display }}
Job Name {{ job.label }}
Job Description {{ job.description }}
Executable Type {{ job.base_executable.get_type_display }}
Executable {{ job.base_executable.identifier_label }} {{ job.base_executable.identifier_display }}
Executable Name {{ job.base_executable.cwl.label }}
Total Execution Count {{ execution_count }}
Currently running Configurations {% for log in running_executions %} {{ log.config }}
{% endfor %}
Users of this Job {% for user in collaborators %} {{ user.1 }}
{% endfor %}
Last Execution {{ last_execution.start_time }}
Last Duration {{ last_execution.duration_str }}
Last Profiling Info {% for item in last_execution.profiling.items %} {{ item.0 }}: {{ item.1 }}s
{% endfor %}
Last Memory usage {% for item in last_execution.memory_usage_dict.items %} {{ item.0 }}: {{ item.1 }}
{% endfor %}
Last Execution ID {{ last_execution.execution_id }}
Last Execution was Aborted True

{{ job.label }} History

{% for log in execution_logs %} {% endfor %}
execution id config id user start time duration canceled output status
{{ log.execution_log_id }} {{ log.config_id }} {{ log.get_user }} {{ log.start_time }} {{ log.duration }} {{ log.aborted }} {% if not log.end_time %}
{% else %} {% if log.output_code == job.OutputCodes.MESSAGE %} {% elif log.output_code == job.OutputCodes.WARNING %} {% elif log.output_code == job.OutputCodes.ERROR %} {% endif %} {% endif %}

{{ job.label }} Plots

{% comment %} Plotly chart will be rendered inside this DIV {% endcomment %}
{% comment %} Plotly chart will be rendered inside this DIV {% endcomment %}
{% endblock content %} {% block script %} {% vendor_js "plotly" %} {% endblock script %}