mirror of
https://github.com/drygdryg/netbox-plugin-interface-sync
synced 2024-11-25 18:10:52 +03:00
NetBox 3.0 support improvements
This commit is contained in:
parent
c63c4d6795
commit
c746b327d1
@ -1,3 +1,3 @@
|
|||||||
<a href="{% url 'plugins:netbox_interface_sync:interface_comparison' device_id=device.id %}" class="btn btn-primary">
|
<a href="{% url 'plugins:netbox_interface_sync:interface_comparison' device_id=device.id %}" class="btn btn-sm btn-primary">
|
||||||
Interface sync
|
Interface sync
|
||||||
</a>
|
</a>
|
@ -48,7 +48,7 @@ function uncheck(event) {
|
|||||||
<form method="post">
|
<form method="post">
|
||||||
<!-- Interface templates -->
|
<!-- Interface templates -->
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<table class="table" style="background:#F5F5F5; width: 50%; float: left;">
|
<table class="table" style="width: 50%; float: left;">
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2">Device type</th>
|
<th colspan="2">Device type</th>
|
||||||
<th>Actions</th>
|
<th>Actions</th>
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
<div class="panel panel-default">
|
<div class="card">
|
||||||
<div class="panel-heading">
|
<h5 class="card-header">Number of interfaces</h5>
|
||||||
<strong>Number of interfaces</strong>
|
<div class="card-body">
|
||||||
</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
Total interfaces: {{ interfaces|length }}<br>
|
Total interfaces: {{ interfaces|length }}<br>
|
||||||
{% if config.exclude_virtual_interfaces %}
|
{% if config.exclude_virtual_interfaces %}
|
||||||
Non-virtual interfaces: {{ real_interfaces|length }}<br>
|
Non-virtual interfaces: {{ real_interfaces|length }}<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user