{% extends "layout.html" %} {% block content %}
{% if file_type == 'task' %}

Taskfile for: {{ cron }}

{% elif file_type == 'log'%}

Logfile for: {{ cron }}

{% if status=='done'%} {% elif status=='running'%} {% endif %} MANUAL RUN: {{ status|upper }} {% elif file_type == 'tabfile'%}

Tabfile view

{% endif %}
    {% for line in file %}
  1. {{ line|safe }}
  2. {% endfor %}
{% endblock %}