2016-03-01 11:23:03 -05:00
|
|
|
{% extends '_base.html' %}
|
|
|
|
{% load helpers %}
|
|
|
|
{% load form_helpers %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="pull-right">
|
|
|
|
{% if perms.ipam.add_vlan %}
|
|
|
|
<a href="{% url 'ipam:vlan_add' %}" class="btn btn-primary">
|
2016-08-01 13:29:45 -04:00
|
|
|
<span class="fa fa-plus" aria-hidden="true"></span>
|
2016-03-01 11:23:03 -05:00
|
|
|
Add a VLAN
|
|
|
|
</a>
|
|
|
|
<a href="{% url 'ipam:vlan_import' %}" class="btn btn-info">
|
2016-07-29 18:04:38 -04:00
|
|
|
<span class="fa fa-download" aria-hidden="true"></span>
|
2016-03-01 11:23:03 -05:00
|
|
|
Import VLANs
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2016-06-16 12:08:50 -04:00
|
|
|
{% include 'inc/export_button.html' with obj_type='VLANs' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
2017-08-02 13:15:28 -04:00
|
|
|
<h1>{% block title %}VLANs{% endblock %}</h1>
|
2016-03-01 11:23:03 -05:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-9">
|
2016-05-16 16:15:37 -04:00
|
|
|
{% include 'utilities/obj_table.html' with bulk_edit_url='ipam:vlan_bulk_edit' bulk_delete_url='ipam:vlan_bulk_delete' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
2016-07-29 12:51:23 -04:00
|
|
|
{% include 'inc/search_panel.html' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|