2023-08-07 18:55:58 +00:00
|
|
|
<h3>List of Events <i class="bi bi-calendar-event"></i></h3>
|
2023-07-26 13:34:33 +00:00
|
|
|
<h5>{{ template_values['camera'].name }}</h5>
|
|
|
|
<ul>
|
|
|
|
{% if template_values['events'] %}
|
|
|
|
{% for event in template_values['events'] %}
|
|
|
|
<li>
|
|
|
|
{{ event['data'][0]['newStatus']['connectionStatus'] }}
|
|
|
|
<br> <small>{{ event['endTimestamp'] }}</small>
|
|
|
|
<br> <small>{{ event['startTimestamp'] }}</small>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<li>No events in the last six hours</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|