2016-03-01 11:23:03 -05:00
|
|
|
{% extends '_base.html' %}
|
2016-05-26 15:35:48 -04:00
|
|
|
{% load humanize %}
|
2016-03-01 11:23:03 -05:00
|
|
|
{% load helpers %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="pull-right">
|
|
|
|
{% if perms.ipam.add_aggregate %}
|
|
|
|
<a href="{% url 'ipam:aggregate_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 an aggregate
|
|
|
|
</a>
|
2016-08-15 17:57:17 -04:00
|
|
|
<a href="{% url 'ipam:aggregate_import' %}" class="btn btn-info">
|
|
|
|
<span class="fa fa-download" aria-hidden="true"></span>
|
|
|
|
Import aggregates
|
|
|
|
</a>
|
2016-03-01 11:23:03 -05:00
|
|
|
{% endif %}
|
2016-06-16 12:08:50 -04:00
|
|
|
{% include 'inc/export_button.html' with obj_type='aggregates' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
2017-08-02 13:15:28 -04:00
|
|
|
<h1>{% block title %}Aggregates{% 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:aggregate_bulk_edit' bulk_delete_url='ipam:aggregate_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' %}
|
2017-09-25 12:14:55 -04:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<strong><i class="fa fa-bar-chart"></i> Statistics</strong>
|
|
|
|
</div>
|
|
|
|
<ul class="list-group">
|
|
|
|
<li class="list-group-item">Total IPv4 IPs <span class="badge">{{ ipv4_total|intcomma }}</span></li>
|
|
|
|
<li class="list-group-item">Total IPv6 /64s <span class="badge">{{ ipv6_total|intcomma }}</span></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|