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
|
||||
</a>
|
@ -48,7 +48,7 @@ function uncheck(event) {
|
||||
<form method="post">
|
||||
<!-- Interface templates -->
|
||||
{% csrf_token %}
|
||||
<table class="table" style="background:#F5F5F5; width: 50%; float: left;">
|
||||
<table class="table" style="width: 50%; float: left;">
|
||||
<tr>
|
||||
<th colspan="2">Device type</th>
|
||||
<th>Actions</th>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<strong>Number of interfaces</strong>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="card">
|
||||
<h5 class="card-header">Number of interfaces</h5>
|
||||
<div class="card-body">
|
||||
Total interfaces: {{ interfaces|length }}<br>
|
||||
{% if config.exclude_virtual_interfaces %}
|
||||
Non-virtual interfaces: {{ real_interfaces|length }}<br>
|
||||
|
Loading…
Reference in New Issue
Block a user