diff --git a/netbox/templates/account/base.html b/netbox/templates/account/base.html index 6c1e9f028..124b70414 100644 --- a/netbox/templates/account/base.html +++ b/netbox/templates/account/base.html @@ -23,8 +23,3 @@ {% endblock %} -{% block content-wrapper %} -
{% trans "No Racks Found" %}
{% endif %} - - {# Rack elevations #} -{% trans "No Racks Found" %}
- {% endif %} -{% trans "Name" %} | -{% trans "Description" %} | -{% trans "Last Run" %} | -{% trans "Status" %} | -- | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{% trans "Name" %} | +{% trans "Description" %} | +{% trans "Last Run" %} | +{% trans "Status" %} | ++ | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
+ {{ report.name }} + | +{{ report.description|markdown|placeholder }} | + {% if last_job %}- {{ report.name }} + {{ last_job.created|annotated_date }} | -{{ report.description|markdown|placeholder }} | - {% if last_job %} -- {{ last_job.created|annotated_date }} - | -- {% badge last_job.get_status_display last_job.get_status_color %} - | - {% else %} -{% trans "Never" %} | -- {% if report.is_valid %} - {{ ''|placeholder }} - {% else %} - - {% trans "Invalid" %} - - {% endif %} - | - {% endif %}- {% if perms.extras.run_report and report.is_valid %} - | + {% else %} + + {% badge last_job.get_status_display last_job.get_status_color %} +{% trans "Never" %} | ++ {% if report.is_valid %} + {{ ''|placeholder }} + {% else %} + + {% trans "Invalid" %} + {% endif %} | + {% endif %} ++ {% if perms.extras.run_report and report.is_valid %} + | + + {% endif %} +
+ {{ method }} + | ++ {{ stats.success }} + {{ stats.info }} + {{ stats.warning }} + {{ stats.failure }} + | ||||||||||
- {{ method }} - | -- {{ stats.success }} - {{ stats.info }} - {{ stats.warning }} - {{ stats.failure }} - | -
{{ file_path }}
could not be loaded.
- {% endblocktrans %}
- {% trans "Name" %} | -{% trans "Description" %} | -{% trans "Last Run" %} | -{% trans "Status" %} | -||
---|---|---|---|---|---|
- {{ script_class.name }} - | -- {{ script_class.Meta.description|markdown|placeholder }} - | - {% with last_result=jobs|get_key:script_class.class_name %} - {% if last_result %} -- {{ last_result.created|annotated_date }} - | -- {% badge last_result.get_status_display last_result.get_status_color %} - | - {% else %} -{% trans "Never" %} | -{{ ''|placeholder }} | - {% endif %} - {% endwith %} -
{{ file_path }}
could not be loaded.
+ {% endblocktrans %}
+ {% trans "Name" %} | +{% trans "Description" %} | +{% trans "Last Run" %} | +{% trans "Status" %} | +||
---|---|---|---|---|---|
+ {{ script_class.name }} + | ++ {{ script_class.Meta.description|markdown|placeholder }} + | + {% with last_result=jobs|get_key:script_class.class_name %} + {% if last_result %} ++ {{ last_result.created|annotated_date }} + | ++ {% badge last_result.get_status_display last_result.get_status_color %} + | + {% else %} +{% trans "Never" %} | +{{ ''|placeholder }} | + {% endif %} + {% endwith %} +
{{ script.filename }}
{{ script.source }}-
{{ script.filename }}
{{ script.source }}+
{% trans "Field" %} | -{% trans "Required" %} | -{% trans "Accessor" %} | -{% trans "Description" %} | -
---|---|---|---|
- {% if field.required %}{% endif %}{{ name }}{% if field.required %}{% endif %}
- |
- - {% if field.required %} - {% checkmark True true="Required" %} - {% else %} - {{ ''|placeholder }} - {% endif %} - | -
- {% if field.to_field_name %}
- {{ field.to_field_name }}
- {% else %}
- {{ ''|placeholder }}
- {% endif %}
- |
-
- {% if field.STATIC_CHOICES %}
-
-
-
- {% endif %}
- {% if field.help_text %}
- {{ field.help_text }}
-
-
- - {% elif field.label %} - {{ field.label }} - {% endif %} - {% if field|widget_type == 'dateinput' %} - {% trans "Format: YYYY-MM-DD" %} - {% elif field|widget_type == 'checkboxinput' %} - {% trans "Specify true or false" %} - {% endif %} - |
-
- - {% blocktrans trimmed %} - Required fields must be specified for all objects. - {% endblocktrans %} -
-
-
- {% blocktrans trimmed with example="vrf.rd" %}
- Related objects may be referenced by any unique attribute. For example, {{ example }}
would identify a VRF by its route distinguisher.
- {% endblocktrans %}
-
{% trans "Field" %} | +{% trans "Required" %} | +{% trans "Accessor" %} | +{% trans "Description" %} | +
---|---|---|---|
+ {% if field.required %}{% endif %}{{ name }}{% if field.required %}{% endif %}
+ |
+ + {% if field.required %} + {% checkmark True true="Required" %} + {% else %} + {{ ''|placeholder }} + {% endif %} + | +
+ {% if field.to_field_name %}
+ {{ field.to_field_name }}
+ {% else %}
+ {{ ''|placeholder }}
+ {% endif %}
+ |
+
+ {% if field.STATIC_CHOICES %}
+
+
+
+ {% endif %}
+ {% if field.help_text %}
+ {{ field.help_text }}
+
+
+ + {% elif field.label %} + {{ field.label }} + {% endif %} + {% if field|widget_type == 'dateinput' %} + {% trans "Format: YYYY-MM-DD" %} + {% elif field|widget_type == 'checkboxinput' %} + {% trans "Specify true or false" %} + {% endif %} + |
+
+ + {% blocktrans trimmed %} + Required fields must be specified for all objects. + {% endblocktrans %} +
+
+
+ {% blocktrans trimmed with example="vrf.rd" %}
+ Related objects may be referenced by any unique attribute. For example, {{ example }}
would identify a VRF by its route distinguisher.
+ {% endblocktrans %}
+