1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

28 lines
943 B
HTML
Raw Normal View History

2021-10-20 10:58:15 -04:00
{% load helpers %}
{% load i18n %}
2021-10-20 10:58:15 -04:00
<div class="card">
<h5 class="card-header">{% trans "Authentication" %}</h5>
2021-10-20 10:58:15 -04:00
<div class="card-body">
<table class="table table-hover attr-table">
<tr>
<th scope="row">{% trans "Type" %}</th>
2021-10-20 10:58:15 -04:00
<td>{{ object.get_auth_type_display|placeholder }}</td>
</tr>
<tr>
<th scope="row">{% trans "Cipher" %}</th>
2021-10-20 10:58:15 -04:00
<td>{{ object.get_auth_cipher_display|placeholder }}</td>
</tr>
<tr>
<th scope="row">{% trans "PSK" %}</th>
<td>
<span id="secret" class="font-monospace" data-secret="{{ object.auth_psk }}">{{ object.auth_psk|placeholder }}</span>
{% if object.auth_psk %}
<button type="button" class="btn btn-sm btn-primary toggle-secret float-end" data-bs-toggle="button">{% trans "Show Secret" %}</button>
{% endif %}
</td>
2021-10-20 10:58:15 -04:00
</tr>
</table>
</div>
</div>