vlan_list.html 838 B

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