mirror of
https://github.com/drygdryg/netbox-plugin-interface-sync
synced 2025-05-24 17:02:56 +03:00
Final Details
Just fixing some text formatting.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<a href="{% url 'plugins:netbox_interface_sync:interface_comparison' device_id=device.id %}" class="btn btn-purple"><i class="mdi mdi-sync" aria-hidden="true"></i>
|
||||
Interface Sync
|
||||
Sync Interfaces
|
||||
</a>
|
||||
|
@@ -37,11 +37,11 @@ function uncheck(event) {
|
||||
|
||||
<p>
|
||||
{% if templates_count == interfaces_count %}
|
||||
The device and device type have the same number of interfaces.
|
||||
The Device and Device Type have the same number of Interfaces.
|
||||
{% else %}
|
||||
The device and device type have a different number of interfaces.<br>
|
||||
The Device and Device Type have a different number of Interfaces.<br>
|
||||
Device: {{ interfaces_count }}<br>
|
||||
Device type: {{ templates_count }}
|
||||
Device Type: {{ templates_count }}
|
||||
{% endif %}
|
||||
</p>
|
||||
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<div class="card">
|
||||
<h5 class="card-header">Number of interfaces</h5>
|
||||
<h5 class="card-header">Number of Interfaces</h5>
|
||||
<div class="card-body">
|
||||
Total interfaces: {{ interfaces|length }}<br>
|
||||
Total Interfaces: {{ interfaces|length }}<br>
|
||||
{% if config.exclude_virtual_interfaces %}
|
||||
Non-virtual interfaces: {{ real_interfaces|length }}<br>
|
||||
Non-Virtual Interfaces: {{ real_interfaces|length }}<br>
|
||||
{% endif %}
|
||||
Interfaces in the assigned device type: {{ interface_templates|length }}
|
||||
Interfaces in the assigned Device Type: {{ interface_templates|length }}
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user