1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

37 lines
1.2 KiB
HTML
Raw Normal View History

2016-05-16 13:04:45 -04:00
{% extends '_base.html' %}
{% load buttons %}
2016-11-11 12:45:24 -05:00
{% load humanize %}
2016-05-16 13:04:45 -04:00
{% block content %}
<div class="pull-right noprint">
{% if request.GET.family == '6' %}
<a href="{% url 'ipam:rir_list' %}" class="btn btn-default">
<span class="fa fa-table" aria-hidden="true"></span>
IPv4 Stats
</a>
{% else %}
<a href="{% url 'ipam:rir_list' %}?family=6{% if request.GET %}&{{ request.GET.urlencode }}{% endif %}" class="btn btn-default">
<span class="fa fa-table" aria-hidden="true"></span>
IPv6 Stats
</a>
{% endif %}
2016-05-17 15:04:16 -04:00
{% if perms.ipam.add_rir %}
{% add_button 'ipam:rir_add' %}
{% import_button 'ipam:rir_import' %}
2016-05-16 13:04:45 -04:00
{% endif %}
{% export_button content_type %}
2016-05-16 13:04:45 -04:00
</div>
2017-08-02 13:15:28 -04:00
<h1>{% block title %}RIRs{% endblock %}</h1>
2016-05-16 13:04:45 -04:00
<div class="row">
<div class="col-md-9">
{% include 'utilities/obj_table.html' with bulk_delete_url='ipam:rir_bulk_delete' %}
{% if request.GET.family == '6' %}
<div class="alert alert-info pull-right"><strong>Note:</strong> Numbers shown indicate /64 prefixes.</div>
{% endif %}
2016-05-16 13:04:45 -04:00
</div>
<div class="col-md-3 noprint">
{% include 'inc/search_panel.html' %}
</div>
2016-05-16 13:04:45 -04:00
</div>
{% endblock %}