aboutsummaryrefslogtreecommitdiff
path: root/rpkid
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid')
-rw-r--r--rpkid/rpki/gui/app/templates/app/dashboard.html140
1 files changed, 67 insertions, 73 deletions
diff --git a/rpkid/rpki/gui/app/templates/app/dashboard.html b/rpkid/rpki/gui/app/templates/app/dashboard.html
index ac801e1d..766955de 100644
--- a/rpkid/rpki/gui/app/templates/app/dashboard.html
+++ b/rpkid/rpki/gui/app/templates/app/dashboard.html
@@ -1,7 +1,6 @@
{% extends "app/app_base.html" %}
{% block sidebar_extra %}
-
<ul class='unstyled'>
<li><a href="{% url rpki.gui.app.views.conf_export %}" title="download XML identity to send to parent">export identity</a></li>
<li><a href="{% url rpki.gui.app.views.update_bpki %}" title="renew all BPKI certificates">update bpki</a></li>
@@ -14,80 +13,75 @@
{% endblock sidebar_extra %}
{% block content %}
-
<div class='page-header'>
<h1>Dashboard</h1>
</div>
-<!-- OVERVIEW ############################################################## -->
-
-<h2>Resources</h2>
-
-<table class='condensed-table zebra-striped'>
- <tr>
- <th>Resource</th>
- <th>Valid Until</th>
- <th>Parent</th>
- </tr>
-
- {% for object in asns %}
- <tr>
- <td>{{ object }}</td>
- <td>{{ object.cert.not_after }}</td>
- <td>{{ object.cert.parent.handle }}</td>
- </tr>
- {% endfor %}
-
- {% for object in prefixes %}
- <tr>
- <td>{{ object.as_resource_range }}</td>
- <td>{{ object.cert.not_after }}</td>
- <td>{{ object.cert.parent.handle }}</td>
- </tr>
- {% endfor %}
-
- {% if prefixes_v6 %}
- {% for object in prefixes_v6 %}
- <tr>
- <td>{{ object.as_resource_range }}</td>
- <td>{{ object.cert.not_after }}</td>
- <td>{{ object.cert.parent.handle }}</td>
- </tr>
- {% endfor %}
- {% endif %}
-</table>
-
-<!-- UNALLOCATED ##############################################################-->
-<div>
- <h2>Unallocated Resources</h2>
- <p>The following resources have not been allocated to a child, nor appear in a ROA.
-
- {% if unused_asns %}
- <ul>
- {% for asn in unused_asns %}
- <li>AS{{ asn }}
- {% endfor %} <!-- ASNs -->
- </ul>
- {% endif %}
-
- {% if unused_prefixes %}
- <ul>
- {% for addr in unused_prefixes %}
- <li>{{ addr }}
- {% endfor %} <!-- addrs -->
- </ul>
- {% endif %}
-
- {% if unused_prefixes_v6 %}
- <ul>
- {% for addr in unused_prefixes_v6 %}
- <li>{{ addr }}
- {% endfor %} <!-- addrs -->
- </ul>
- {% endif %}
-
-</div>
-
+<div class='row'>
+ <div class='span10'>
+ <h2>Resources</h2>
+ <table class='condensed-table zebra-striped'>
+ <tr>
+ <th>Resource</th>
+ <th>Valid Until</th>
+ <th>Parent</th>
+ </tr>
+
+ {% for object in asns %}
+ <tr>
+ <td>{{ object }}</td>
+ <td>{{ object.cert.not_after }}</td>
+ <td>{{ object.cert.parent.handle }}</td>
+ </tr>
+ {% endfor %}
+
+ {% for object in prefixes %}
+ <tr>
+ <td>{{ object.as_resource_range }}</td>
+ <td>{{ object.cert.not_after }}</td>
+ <td>{{ object.cert.parent.handle }}</td>
+ </tr>
+ {% endfor %}
+
+ {% if prefixes_v6 %}
+ {% for object in prefixes_v6 %}
+ <tr>
+ <td>{{ object.as_resource_range }}</td>
+ <td>{{ object.cert.not_after }}</td>
+ <td>{{ object.cert.parent.handle }}</td>
+ </tr>
+ {% endfor %}
+ {% endif %}
+ </table>
+ </div>
+ <div class='span6'>
+ <h2>Unallocated Resources</h2>
+ <p>The following resources have not been allocated to a child, nor appear in a ROA.
+
+ {% if unused_asns %}
+ <ul>
+ {% for asn in unused_asns %}
+ <li>AS{{ asn }}
+ {% endfor %} <!-- ASNs -->
+ </ul>
+ {% endif %}
+
+ {% if unused_prefixes %}
+ <ul>
+ {% for addr in unused_prefixes %}
+ <li>{{ addr }}
+ {% endfor %} <!-- addrs -->
+ </ul>
+ {% endif %}
+
+ {% if unused_prefixes_v6 %}
+ <ul>
+ {% for addr in unused_prefixes_v6 %}
+ <li>{{ addr }}
+ {% endfor %} <!-- addrs -->
+ </ul>
+ {% endif %}
+
+ </div><!-- /span -->
+</div><!-- /row -->
{% endblock %}
-
-<!-- vim: set sw=2: -->