Fixing HTML Template issues

This commit is contained in:
n0mjs710 2018-11-08 08:17:20 -06:00
parent 1aece73227
commit ccb8ef3abf
1 changed files with 9 additions and 7 deletions

View File

@ -23,16 +23,17 @@
<th>LinkTS</th>
<th>Location</th>
<th>Connection</th>
<th>Pings</br>Received</th>
<th>Pings Received</th>
<th>IP</th>
<th>Port</th>
</tr>
{% for _master in _table['MASTERS'] %}
{% for _master in _table['MASTERS'] %}
<tr>
<td style="font-weight:bold" rowspan="{{ _table['MASTERS'][_master]|length * 2 }}"> {{ _master}} </td>
<td style="font-weight:bold" rowspan="{{ _table['MASTERS'][_master]['PEERS']|length }}"> {{ _master}} </td>
{% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].iteritems() %}
<td>{{ _client }}</td>
<td>{{ _cdata['CALLSIGN'] }}</td>
<td>{{ _cdata['TX_FREQ'] }}</td>
@ -43,9 +44,10 @@
<td>{{ _cdata['PINGS_RECEIVED'] }}</td>
<td>{{ _cdata['IP'] }}</td>
<td>{{ _cdata['PORT'] }}</td>
</tr>
{% endfor %}
</tr>
{% endfor %}
{% endfor %}
{% endfor %}
</table>
<h4>Client Systems</h4>