2016-05-16 13:04:45 -04:00
|
|
|
{% extends '_base.html' %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% load buttons %}
|
2016-11-11 12:45:24 -05:00
|
|
|
{% load humanize %}
|
2016-05-16 13:04:45 -04:00
|
|
|
{% load helpers %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="pull-right">
|
2016-11-11 15:02:53 -05:00
|
|
|
{% 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 %}
|
2016-12-06 13:59:13 -05:00
|
|
|
<a href="{% url 'ipam:rir_list' %}?family=6{% if request.GET %}&{{ request.GET.urlencode }}{% endif %}" class="btn btn-default">
|
2016-11-11 15:02:53 -05:00
|
|
|
<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 %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% add_button 'ipam:rir_add' %}
|
|
|
|
{% import_button 'ipam:rir_import' %}
|
2016-05-16 13:04:45 -04:00
|
|
|
{% endif %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% 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">
|
2016-12-06 13:59:13 -05:00
|
|
|
<div class="col-md-9">
|
2016-05-16 16:15:37 -04:00
|
|
|
{% include 'utilities/obj_table.html' with bulk_delete_url='ipam:rir_bulk_delete' %}
|
2016-12-06 13:59:13 -05:00
|
|
|
{% 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>
|
2016-12-06 13:59:13 -05:00
|
|
|
<div class="col-md-3">
|
2017-01-24 12:05:39 -05:00
|
|
|
{% include 'inc/search_panel.html' %}
|
2016-12-06 13:59:13 -05:00
|
|
|
</div>
|
2016-05-16 13:04:45 -04:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|