diff --git a/hw_diag/templates/thix_dashboard.html b/hw_diag/templates/thix_dashboard.html index 2be56e0b..51db7f55 100644 --- a/hw_diag/templates/thix_dashboard.html +++ b/hw_diag/templates/thix_dashboard.html @@ -14,23 +14,31 @@

ThingsIX Configuration

+ {% if not gateway.gatewayId %} + + {% else %} + {% endif %} + {% if not gateway.owner %} + + {% else %} + {% endif %} {% if not gateway.gatewayId %} - - + + {% else %} - - + {% endif %} @@ -62,26 +70,26 @@

ThingsIX Configuration

{% endif %} - - {% if gateway.details %} - {{ gateway.details.antennaGain }}dBi - {% else %} - Onboard Pending - {% endif %} - + + {% else %} + + {% endif %} - - {% if gateway.details %} - - {{ gateway.details.altitude }}m - + {% else %} - Onboard Pending + {% endif %} -
Gateway AddressNot Available {{ gateway.gatewayId }}
Gateway OwnerNot Available {{ gateway.owner }}
Explorer LinkNot Available Explorer LinkNot Available Explorer Link + Explorer Link View on Explorer
Antenna Gain + Antenna Gain + {{ gateway.details.antennaGain }} dBi + Onboard Pending
Antenna Altitude + Antenna Altitude + + {{ gateway.details.altitude }} m + + Onboard Pending
@@ -112,5 +120,12 @@

ThingsIX Configuration

+
+ {% if diagnostics.last_updated %} +

Last Updated: {{ diagnostics.last_updated }}

+ {% else %} +

Last Updated: Never

+ {% endif %} +
{% endblock %}