mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-28 20:32:07 +01:00
27 lines
753 B
HTML
27 lines
753 B
HTML
{% extends "ui/panels/_base.html" %}
|
|
{% load helpers %}
|
|
{% load i18n %}
|
|
|
|
{% block panel_content %}
|
|
{% with backend=object.backend_class %}
|
|
<table class="table table-hover attr-table">
|
|
{% for name, field in backend.parameters.items %}
|
|
<tr>
|
|
<th scope="row">{{ field.label }}</th>
|
|
{% if name in backend.sensitive_parameters %}
|
|
<td>********</td>
|
|
{% else %}
|
|
<td>{{ object.parameters|get_key:name|placeholder }}</td>
|
|
{% endif %}
|
|
</tr>
|
|
{% empty %}
|
|
<tr>
|
|
<td colspan="2" class="text-muted">
|
|
{% trans "No parameters defined" %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endwith %}
|
|
{% endblock panel_content %}
|