{% for section in sections %}
{{ section["label"] }}
{% for key, meta in section["fields"].items() %}
{% if key == "ocxo" %}
{% set field_name = section["name"] + '__' + key %}
{% set value = config.get(section["name"], key) %}
{{ meta["label"] }}
{{ value }}
Save
Reset
{% else %}
{% set field_name = section["name"] + '__' + key %}
{% set value = config.get(section["name"], key) %}
{{ meta["label"] }}
{% raw value %}
{% end %}
{% end %}
{% end %}
{% if len(gsat_ids) > 0 %}
GPS Satellites
Satellite ID
{% for sat in gsat_ids %}
{{ sat }}
{% end %}
Satellite SNR
{% for snr in gsat_snrs %}
{{ snr }}
{% end %}
{% end %}
{% if len(lsat_ids) > 0 %}
Glonass Satellites
Satellite ID
{% for sat in lsat_ids %}
{{ sat }}
{% end %}
Satellite SNR
{% for snr in lsat_snrs %}
{{ snr }}
{% end %}
{% end %}
{% if len(asat_ids) > 0 %}
Galileo Satellites
Satellite ID
{% for sat in asat_ids %}
{{ sat }}
{% end %}
Satellite SNR
{% for snr in asat_snrs %}
{{ snr }}
{% end %}
{% end %}
{% if len(bsat_ids) > 0 %}
BeiDou Satellites
Satellite ID
{% for sat in bsat_ids %}
{{ sat }}
{% end %}
Satellite SNR
{% for snr in bsat_snrs %}
{{ snr }}
{% end %}
{% end %}
NTP Peers
Peer IP
Mode
State
Stratum
Reach
Poll
Last Update (sec)
Offset
Error
{% for p in peers %}
{{ p['peer_ip'] }}
{{ p['M'] }}
{{ p['S'] }}
{{ p['stratum'] }}
{{ p['reach'] }}
{{ p['poll'] }}
{{ p['last_time'] }}
{{ p['offset'] }}
{{ p['error'] }}
{% end %}
{% if not peers %}
No peers to display
{% end %}
PTP Clients
Client IP
MAC Address
Lease (Sec)
Announce Interval
Sync Interval
Interface
{% for p in ptp_clients %}
{{ p['client_ip'] }}
{{ p['mac'] }}
{{ p['lease'] }}
{{ p['announce'] }}
{{ p['sync'] }}
{{ p['interface'] }}
{% end %}
{% if not ptp_clients %}
No PTP Clients to display
{% end %}