mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-22 03:28:45 -06:00
Closes #971: Implement VLANGroup VLANs view to show available VLANs within a group
This commit is contained in:
committed by
Jeremy Stretch
parent
475e0e6c1e
commit
33e45a5292
24
netbox/templates/ipam/vlangroup_vlans.html
Normal file
24
netbox/templates/ipam/vlangroup_vlans.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends '_base.html' %}
|
||||
|
||||
{% block title %}{{ vlan_group }} - VLANs{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{% url 'ipam:vlangroup_list' %}">VLAN Groups</a></li>
|
||||
{% if vlan_group.site %}
|
||||
<li><a href="{% url 'dcim:site' slug=vlan_group.site.slug %}">{{ vlan_group.site }}</a></li>
|
||||
{% endif %}
|
||||
<li>{{ vlan_group }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
{% include 'ipam/inc/vlangroup_header.html' %}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{% include 'utilities/obj_table.html' with table=vlan_table table_template='panel_table.html' heading='VLANs' bulk_edit_url='ipam:vlan_bulk_edit' bulk_delete_url='ipam:vlan_bulk_delete' %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user