117 lines
2.8 KiB
HTML
117 lines
2.8 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% load handletags %}
|
|
|
|
{% 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">
|
|
<p>
|
|
Here you can manage your darknet resources!
|
|
</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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<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|linkObject }}</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|linkObject }}</td>
|
|
<td>{{ inetnum.prefix }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
<p>You don't have any domains</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|linkObject }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
<p>You don't have any open resource requests</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><a href="{{ rrequest.get_absolute_url }}">{{ rrequest.subject }}</a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
<p>No open requests</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|