ip_addresses.html 763 B

1234567891011121314151617
  1. {% extends 'ipam/iprange/base.html' %}
  2. {% block extra_controls %}
  3. {% if perms.ipam.add_ipaddress and active_tab == 'ip-addresses' and object.first_available_ip %}
  4. <a href="{% url 'ipam:ipaddress_add' %}?address={{ object.first_available_ip }}&vrf={{ object.vrf.pk }}&tenant_group={{ object.tenant.group.pk }}&tenant={{ object.tenant.pk }}" class="btn btn-sm btn-primary">
  5. <i class="mdi mdi-plus-thick" aria-hidden="true"></i> Add IP Address
  6. </a>
  7. {% endif %}
  8. {% endblock %}
  9. {% block content %}
  10. <div class="row">
  11. <div class="col col-md-12">
  12. {% include 'utilities/obj_table.html' with heading='IP Addresses' bulk_edit_url='ipam:ipaddress_bulk_edit' bulk_delete_url='ipam:ipaddress_bulk_delete' %}
  13. </div>
  14. </div>
  15. {% endblock %}