{% extends 'generic/object.html' %} {% load buttons %} {% load helpers %} {% load perms %} {% load static %} {% load scriptmanager %} {% block controls %}
{% if request.user|can_delete:object %} {% delete_button object %} {% endif %} Rerun
{% endblock %} {% block subtitle %}
Created {{ object.created|annotated_date }}
{% endblock %} {% block content %}
Information
{% if object.scheduled%} {% endif %}
Script {{ object.script_instance.name }}
Description {{ object.script_instance.description|markdown }}
Task ID {{ object.task_id }}
User {{ object.user }}
Task Queue {{ object.task_queue }}
Scheduled {{ object.scheduled }}
Interval {{ object.interval }}
Result
Status {% badge object.get_status_display bg_color=object.get_status_color %}
Created {{ object.created|annotated_date }}
Started {{ object.started|annotated_date }}
Completed {{ object.completed|annotated_date }}
Duration {{ object.duration }}
Artifacts
{% if perms.netbox_script_manager.view_scriptartifact %} {% htmx_table 'plugins:netbox_script_manager:scriptartifact_list' script_execution_id=object.pk %} {% else %}
You do not have permission to view Script Artifacts.
{% endif %}
Logs
{% endblock %}