{% extends "base.html" %} {% block content %} {% set attribute_name = "jobs" %} {% set run_times = ["all"] %} {% for job_name, value in jobs.items() %} {% if value['every'] not in run_times %} {% if run_times.append(value['every']) %}{% endif %} {% endif %} {% endfor %} {% set infos = [ {"name" : "JOBS TOTAL", "data" : jobs|length|string}, {"name" : "JOBS ERRORS", "data" : jobs_errors|string}, ] %} {% include "card_info.html" %} {% set filters = [ { "type": "input", "name": "Search", "label": "search", "id": "keyword", "placeholder": "keyword", "pattern": "(.*?)" }, { "type": "select", "name": "Success state", "id": "success", "value": "all", "values": [ "all", "false", "true" ] }, { "type": "select", "name": "Reload state", "id": "reload", "value": "all", "values": [ "all", "false", "true" ] }, { "type": "select", "name": "Run time", "id": "every", "value": "all", "values": run_times } ] %} {% include "card_filter.html" %} {% include "filter_nomatch.html" %}
{{ header['name'] }}
{% endfor %}{{ data['value'] }}
{% endif %} {% if data['type'] == "check" and data['value'] %}{% endif %} {% if data['type'] == "check" and not data['value'] %}
{% endif %} {% if data['type'] == "select" %}