{% extends 'base.html' %} {% block content %}

Job name: {{ id_job }}

{% if status == "started" %}

Your job has started.
You will receive an email when it will be finished.
Alternatively, you can refresh this page to update status.

{% elif status == "submitted" %}

Your job has been submitted.
You will receive an email when it will be finished.
Alternatively, you can refresh this page to update status.

{% elif status == "getfiles" %}

Your job has been submitted. We are retrieving data...
You will receive an email when it will be finished.
Alternatively, you can refresh this page to update status.

{% elif status == "indexing" %}

Your job has been submitted. We are indexing fasta files...
You will receive an email when it will be finished.
Alternatively, you can refresh this page to update status.

{% elif status == "waiting" %}

Your job has been shedulded. It will start soon...
You will receive an email when it will be finished.
Alternatively, you can refresh this page to update status.

{% elif status == "success" %}

Your job has ended successfully.
Please click here to show results.

{% elif status == "error" %}

Your job has failed. {% if error == "" %} Please try again.
If the problem persists, please contact the support. {% else %}
{{ error | safe }} {% endif %}

{% else %}

This job does not exists!

{% endif %} {% endblock %}