Files
netbox/netbox/templates/extras/configcontextprofile.html
Jeremy Stretch b4c88541da
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled
Closes #19377: Introduce config context profiles (#20058)
2025-08-12 15:18:45 -07:00

40 lines
1.2 KiB
HTML

{% extends 'generic/object.html' %}
{% load helpers %}
{% load static %}
{% load i18n %}
{% block content %}
<div class="row">
<div class="col col-6">
<div class="card">
<h2 class="card-header">{% trans "Config Context Profile" %}</h2>
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Name" %}</th>
<td>{{ object.name }}</td>
</tr>
<tr>
<th scope="row">{% trans "Description" %}</th>
<td>{{ object.description|placeholder }}</td>
</tr>
</table>
</div>
{% include 'core/inc/datafile_panel.html' %}
{% include 'inc/panels/custom_fields.html' %}
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/comments.html' %}
</div>
<div class="col col-6">
<div class="card">
<h2 class="card-header d-flex justify-content-between">
{% trans "JSON Schema" %}
<div>
{% copy_content "schema" %}
</div>
</h2>
<pre class="card-body rendered-context-data m-0" id="schema">{{ object.schema|json }}</pre>
</div>
</div>
</div>
{% endblock %}