{% extends "generic/_base.html" %} {% load helpers %} {% load i18n %} {% load tabs %} {% comment %} Result page for one run of a Script. The log and the output come from the Job's recorded data, so a run still in flight renders the status and nothing else. The body is a partial the view also serves on its own, which is what the page polls while the run has not finished. Context: see NetBoxScriptResultView. {% endcomment %} {# Mirrors generic/object.html, which this page cannot extend because its object is a Job #} {% block page-header %}
{{ object.full_name }}
{{ block.super }} {% endblock page-header %} {% block tabs %} {% endblock tabs %} {% block title %} {{ object }} {% endblock title %} {% block subtitle %}
{% blocktrans with digest=job.data.revision_digest|slice:":12" %}Revision {{ digest }}{% endblocktrans %}
{% endblock subtitle %} {% block content %}
{% trans "Log threshold" %}
{% include "netbox_scripts/inc/netboxscript_result_body.html" %} {% endblock content %} {% block modals %} {% table_config_form table table_name="NetBoxScriptLogTable" %} {% endblock modals %}