2016-03-01 11:23:03 -05:00
|
|
|
{% extends '_base.html' %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% load buttons %}
|
2016-05-26 15:35:48 -04:00
|
|
|
{% load humanize %}
|
2016-03-01 11:23:03 -05:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="pull-right">
|
|
|
|
{% if perms.ipam.add_aggregate %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% add_button 'ipam:aggregate_add' %}
|
|
|
|
{% import_button 'ipam:aggregate_import' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
{% endif %}
|
2018-02-02 16:12:57 -05:00
|
|
|
{% export_button content_type %}
|
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' %}
|
2018-05-18 15:43:21 -04:00
|
|
|
{% include 'inc/tags_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 %}
|