prefix_list.html 935 B

12345678910111213141516171819202122232425262728293031
  1. {% extends '_base.html' %}
  2. {% load helpers %}
  3. {% load form_helpers %}
  4. {% block title %}Prefixes{% endblock %}
  5. {% block content %}
  6. <div class="pull-right">
  7. {% if perms.ipam.add_prefix %}
  8. <a href="{% url 'ipam:prefix_add' %}" class="btn btn-primary">
  9. <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
  10. Add a prefix
  11. </a>
  12. <a href="{% url 'ipam:prefix_import' %}" class="btn btn-info">
  13. <span class="glyphicon glyphicon-import" aria-hidden="true"></span>
  14. Import prefixes
  15. </a>
  16. {% endif %}
  17. {% include 'inc/export_button.html' with obj_type='prefixes' %}
  18. </div>
  19. <h1>Prefixes</h1>
  20. <div class="row">
  21. <div class="col-md-9">
  22. {% include 'utilities/obj_table.html' with bulk_edit_url='ipam:prefix_bulk_edit' bulk_delete_url='ipam:prefix_bulk_delete' %}
  23. </div>
  24. <div class="col-md-3">
  25. {% include 'inc/search_panel.html' %}
  26. {% include 'inc/filter_panel.html' %}
  27. </div>
  28. </div>
  29. {% endblock %}