vlan_list.html 845 B

123456789101112131415161718192021222324252627282930
  1. {% extends '_base.html' %}
  2. {% load helpers %}
  3. {% load form_helpers %}
  4. {% block title %}VLANs{% endblock %}
  5. {% block content %}
  6. <div class="pull-right">
  7. {% if perms.ipam.add_vlan %}
  8. <a href="{% url 'ipam:vlan_add' %}" class="btn btn-primary">
  9. <span class="fa fa-plus" aria-hidden="true"></span>
  10. Add a VLAN
  11. </a>
  12. <a href="{% url 'ipam:vlan_import' %}" class="btn btn-info">
  13. <span class="fa fa-download" aria-hidden="true"></span>
  14. Import VLANs
  15. </a>
  16. {% endif %}
  17. {% include 'inc/export_button.html' with obj_type='VLANs' %}
  18. </div>
  19. <h1>VLANs</h1>
  20. <div class="row">
  21. <div class="col-md-9">
  22. {% include 'utilities/obj_table.html' with bulk_edit_url='ipam:vlan_bulk_edit' bulk_delete_url='ipam:vlan_bulk_delete' %}
  23. </div>
  24. <div class="col-md-3">
  25. {% include 'inc/search_panel.html' %}
  26. </div>
  27. </div>
  28. {% endblock %}