new file: netbox_dns_bridge/templates/netbox_dns_bridge/catz_overview.html deleted: netbox_dns_bridge/templates/netbox_dns_bridge/info.html new file: netbox_dns_bridge/templates/netbox_dns_bridge/notify_overview.html modified: netbox_dns_bridge/urls.py modified: netbox_dns_bridge/views.py Extend views
38 lines
937 B
HTML
38 lines
937 B
HTML
{% extends 'base/layout.html' %}
|
|
|
|
{% block title %}DNS Bridge Notify{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
|
|
<div class="card mb-3">
|
|
<h5 class="card-header">Seen Transfer Clients</h5>
|
|
<div class="card-body">
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Source IP</th>
|
|
<th>View</th>
|
|
<th>Last Seen</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for c in seen_clients %}
|
|
<tr>
|
|
<td>{{ c.source_ip }}</td>
|
|
<td>{{ c.view.name }}</td>
|
|
<td>{{ c.last_seen|date:"Y-m-d H:i:s" }}</td>
|
|
</tr>
|
|
{% empty %}
|
|
<tr><td colspan="3" class="text-muted">No seen transfer clients.</td></tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|