spiderweb/templates/plots.html
2021-11-18 16:41:49 +00:00

61 lines
1.6 KiB
HTML

{% extends "_base.html" %}
<head>
{% block title %}
<title>Some plots end stats from the dx clustes node</title>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
</head>
{% block titles %}
<h1 class="display-4 text-white">PLOTS & STATS</h1>
<p class="lead text-light">Some statistics about this node</p>
{% endblock %}
{% block filters %}
{% endblock %}
{% block contents %}
<div class="row mx-auto">
<div class="col mr-3" id="plotlist"></div>
</div>
<div class="row mx-auto">
<div class="col mr-3">
<table class="table table-striped table-borderless table-sm text-responsive table-hover">
<h3 class="text-center">Connected nodes</h2>
<thead>
<tr>
<th>Callsign</th>
<th>Type</th>
<th>Started</th>
<th class="d-none d-lg-table-cell d-xl-table-cell">Name</th>
<th>Avg RTT</th>
<th>Link</th>
</tr>
</thead>
<tbody>
{% for dict_item in who %}
<tr>
<td>{{dict_item["callsign"]}}</td>
<td>{{dict_item["type"]}}</td>
<td>{{dict_item["started"]}}</td>
<td class="d-none d-lg-table-cell d-xl-table-cell">{{dict_item["name"]}}</td>
<td>{{dict_item["average_rtt"]}}</td>
<td>{{dict_item["link"]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock contents %}
{% block app_data %}
{{ super() }}
var payload_json={{payload|tojson|safe}};
var timer_interval_json = {{timer_interval}};
{% endblock app_data %}
{% block app_scripts %}
{{ super() }}
<script defer src="static/js/min/plot_inline.min.js"></script>
{% endblock app_scripts %}