{% extends "base.html" %} {% load steeloweb_extras %} {% block title %}Output Files - {{ modelrun.name|default:"Model Run" }} #{{ modelrun.id }}{% endblock %} {% block content %}

Output Files

Back to Model Run
{% if modelrun.name %} {{ modelrun.name }} #{{ modelrun.id }} {% else %} Model Run #{{ modelrun.id }} {% endif %}
Created: {{ modelrun.started_at|date:"Y-m-d H:i" }} {% if modelrun.state == 'finished' %} | Finished: {{ modelrun.finished_at|date:"Y-m-d H:i" }} {% endif %}
{% if modelrun.output_directory %}
Output Directory: {{ modelrun.output_directory }}
{% endif %}
{% if files_by_directory %} {% for dir_name, files in files_by_directory.items %}
{{ dir_name }} {{ files|length }} file{{ files|length|pluralize }}
{% for file in files %} {% endfor %}
File Name Type Size Actions
{% if file.is_viewable %} {{ file.name }} {% elif file.is_image %} {{ file.name }} {% else %} {{ file.name }} {% endif %} {{ file.type }} {{ file.size_display }}
{% if file.is_viewable %} {% elif file.is_image %} {% endif %}
{% endfor %} {% else %}
No output files found. {% if modelrun.state != 'finished' %} The simulation may still be running or has not completed successfully. {% else %} The output directory may be empty or missing. {% endif %}
{% endif %}
Back to Model Run {% if modelrun.result_csv %} Download Results CSV {% endif %}
{% endblock %}