Fixing HTML Template issues

This commit is contained in:
n0mjs710 2018-11-08 08:17:20 -06:00
parent 1aece73227
commit ccb8ef3abf

View File

@ -23,7 +23,7 @@
<th>LinkTS</th> <th>LinkTS</th>
<th>Location</th> <th>Location</th>
<th>Connection</th> <th>Connection</th>
<th>Pings</br>Received</th> <th>Pings Received</th>
<th>IP</th> <th>IP</th>
<th>Port</th> <th>Port</th>
</tr> </tr>
@ -31,8 +31,9 @@
{% for _master in _table['MASTERS'] %} {% for _master in _table['MASTERS'] %}
<tr> <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() %} {% for _client, _cdata in _table['MASTERS'][_master]['PEERS'].iteritems() %}
<td>{{ _client }}</td> <td>{{ _client }}</td>
<td>{{ _cdata['CALLSIGN'] }}</td> <td>{{ _cdata['CALLSIGN'] }}</td>
<td>{{ _cdata['TX_FREQ'] }}</td> <td>{{ _cdata['TX_FREQ'] }}</td>
@ -45,6 +46,7 @@
<td>{{ _cdata['PORT'] }}</td> <td>{{ _cdata['PORT'] }}</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tr>
{% endfor %} {% endfor %}
</table> </table>