dnmgmt/templates/dncore/dashboard.html

105 lines
2.4 KiB
HTML
Raw Normal View History

2017-02-15 02:35:46 +01:00
{% extends "base.html" %}
{% block content %}
<div class="row">
<div class="col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">Welcome!</div>
<div class="panel-body">
Here you can manage your darknet resources!
</div>
</div>
</div>
</div>
2017-03-15 03:07:43 +01:00
<div class="row">
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading"><a href="{% url "whoisdb:dashboard" %}">Whois DB <small>(overview)</small></a></div>
<div class="panel-body">
{% if asns %}
<table class="table">
<tr>
<th>AS Name</th>
<th>Number</th>
</tr>
{% for asn in asns %}
<tr>
<td>{{ asn.handle }}</td>
<td>{{ asn.number }}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>You don't have any AS numbers</po>
{% endif %}
{% if inetnums %}
<table class="table">
<tr>
<th>Net Name</th>
<th>Prefix</th>
</tr>
{% for inetnum in inetnums %}
<tr>
<td>{{ inetnum.handle }}</td>
<td>{{ inetnum.prefix }}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>You don't have any AS numbers</p>
{% endif %}
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading"><a href="{% url "domains:overview" %}">Domains <small>(overview)</small></a></div>
<div class="panel-body">
{% if domains %}
<table class="table">
<tr>
<th>Domain</th>
</tr>
{% for domain in domains %}
<tr>
<td>{{ domain.name }}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>You don't have any AS numbers</p>
{% endif %}
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading"><a href="{% url "rrequests:dashboard" %}">Requests <small>(overview)</small></a></div>
<div class="panel-body">
{% if rrequests %}
<table class="table">
<tr>
<th>From</th>
<th>Subject</th>
</tr>
{% for rrequest in rrequests %}
<tr>
<td>{{ rrequest.applicant }} <span class="glyphicon glyphicon-arrow-right"></span> {{ rrequest.provider }}</td>
<td>{{ rrequest.subject }}</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>No open requests</p>
{% endif %}
</div>
</div>
</div>
</div>
2017-02-15 02:35:46 +01:00
{% endblock %}