{% extends "base.html" %} {% block body %}
{% if has_sampled and has_uploaded %} This device is sampling, and has uploaded data to the server at {{ most_recent_upload }}. {% elif has_sampled and not has_uploaded %} This device is sampling, but has not yet uploaded data to the server. The last sample was taken at {{ most_recent_sample }}. {% else %} This device is neither sampling, nor uploading anything to the server. {% endif %}
{% if socket_iface_address %}
This client's address: {{ socket_iface_address }}
.
{% else %}
Could not obtain this client's address.
{% endif %}
Recent samples:
ID | Value | Sample type | Time | Uploaded | |
{{ row[0] }} | {{ row[1] }} | {{ row[2] }} | {{ row[3] }} | {% if row[4] %}uploaded | {% else %}not yet uploaded | {% endif %}