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

migrate virtual machine & vm interface to bootstrap 5

This commit is contained in:
checktheroads
2021-04-17 18:15:53 -07:00
parent eb951fdaf1
commit c035af5409
4 changed files with 192 additions and 185 deletions

View File

@ -19,7 +19,7 @@ __all__ = (
VMINTERFACE_BUTTONS = """
{% if perms.ipam.add_ipaddress %}
<a href="{% url 'ipam:ipaddress_add' %}?vminterface={{ record.pk }}&return_url={{ virtualmachine.get_absolute_url }}" class="btn btn-xs btn-success" title="Add IP address">
<a href="{% url 'ipam:ipaddress_add' %}?vminterface={{ record.pk }}&return_url={{ virtualmachine.get_absolute_url }}" class="btn btn-sm btn-success" title="Add IP Address">
<i class="mdi mdi-plus-thick" aria-hidden="true"></i>
</a>
{% endif %}