Use stations table on index.html.

This commit is contained in:
W1CDN
2023-07-09 11:22:23 -05:00
parent c0ff61063f
commit 40513cc488
3 changed files with 18 additions and 7 deletions

View File

@ -11,10 +11,10 @@
</style>
</head>
<body>
<h1>{{station_call}} Status</h1>
<h1>{{station_call}} Status</h1>
{{station_lat}}, {{station_lon}}
<h3> Recent RF Packets </h3>
<h2> Recent RF Packets </h2>
<table>
<tr>
<th> from </th>
@ -36,8 +36,6 @@
</table>
<h2> Recent Stations </h2>
Coming soon, see <a href="https://amiok.net/gitea/W1CDN/aprs_tool/issues/16">https://amiok.net/gitea/W1CDN/aprs_tool/issues/16</a>.
<table>
<tr>
<th> from </th>
@ -48,8 +46,8 @@ Coming soon, see <a href="https://amiok.net/gitea/W1CDN/aprs_tool/issues/16">htt
{% for i in stations %}
<tr>
<td> <a href="https://digi.w1cdn.net/aprs_api/packets?from={{ i['from'] }}">{{ i['from'] }}</a> </td>
<td> {{ i['created'] }} </td>
<td> {{ i['COUNT(id)']}} </td>
<td> {{ i['last_heard_unix'] }} </td>
<td> {{ i['count']}} </td>
<td> <a href="https://aprs.fi/#!mt=roadmap&z=12&call=a%2F{{ i['from'] }}">aprs.fi</a></td>
</tr>
{% endfor %}