{% extends 'base/layout.html' %} {% load buttons %} {% load helpers %} {% block title %}Scripts{% endblock %} {% block controls %}
{% block extra_controls %}{% endblock %} {% add_button model %}
{% endblock controls %} {% block tabs %} {% endblock tabs %} {% block content-wrapper %}
{% for module in script_modules %}
{% if perms.extras.delete_scriptmodule %} {% endif %} {{ module }}
{% include 'inc/sync_warning.html' with object=module %} {% with jobs=module.get_latest_jobs %} {% for script_name, script_class in module.scripts.items %} {% with last_result=jobs|get_key:script_class.name %} {% if last_result %} {% else %} {% endif %} {% endwith %} {% endfor %} {% endwith %}
Name Description Last Run Status
{{ script_class.name }} {{ script_class.Meta.description|markdown|placeholder }} {{ last_result.created|annotated_date }} {% badge last_result.get_status_display last_result.get_status_color %} Never {{ ''|placeholder }}
{% empty %}

No Scripts Found

{% if perms.extras.add_scriptmodule %} Get started by creating a script from an uploaded file or data source. {% endif %}
{% endfor %}
{% endblock content-wrapper %}