2017-02-15 02:35:46 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2017-03-20 00:16:33 +01:00
|
|
|
{% load handletags %}
|
|
|
|
|
2017-02-15 02:35:46 +01:00
|
|
|
{% 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">
|
2017-03-27 12:18:02 +02:00
|
|
|
<p>
|
2017-02-15 02:35:46 +01:00
|
|
|
Here you can manage your darknet resources!
|
2017-03-27 12:18:02 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<form class="form navbar-form" method="post" action="{% url "whoisdb:search" %}">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input class="textinput form-control" type="text" name="q" placeholder="Search in DB">
|
|
|
|
<button class="btn btn-primary">Search</button>
|
|
|
|
</form>
|
|
|
|
</p>
|
2017-02-15 02:35:46 +01:00
|
|
|
</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>
|
2017-03-20 00:16:33 +01:00
|
|
|
<td>{{ asn|linkObject }}</td>
|
2017-03-15 03:07:43 +01:00
|
|
|
<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>
|
2017-03-20 00:16:33 +01:00
|
|
|
<td>{{ inetnum|linkObject }}</td>
|
2017-03-15 03:07:43 +01:00
|
|
|
<td>{{ inetnum.prefix }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% else %}
|
2017-03-20 00:16:33 +01:00
|
|
|
<p>You don't have any domains</p>
|
2017-03-15 03:07:43 +01:00
|
|
|
{% 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>
|
2017-03-20 00:16:33 +01:00
|
|
|
<td>{{ domain|linkObject }}</td>
|
2017-03-15 03:07:43 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% else %}
|
2017-03-20 00:16:33 +01:00
|
|
|
<p>You don't have any open resource requests</p>
|
2017-03-15 03:07:43 +01:00
|
|
|
{% 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>
|
2017-03-20 00:16:33 +01:00
|
|
|
<td><a href="{{ rrequest.get_absolute_url }}">{{ rrequest.subject }}</a></td>
|
2017-03-15 03:07:43 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
{% else %}
|
|
|
|
<p>No open requests</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-02-15 02:35:46 +01:00
|
|
|
{% endblock %}
|
|
|
|
|