Now with status updates for devices.
This commit is contained in:
@@ -166,8 +166,31 @@ if (!$events_loc.pres_mgmt?.device_kv) {
|
||||
{event_device_obj?.alert ? 'Alert' : 'No Alert'}
|
||||
<span class="fas fa-exclamation-triangle mx-1" />
|
||||
<br>
|
||||
{event_device_obj?.alert_msg ?? 'No Alert Message'}
|
||||
{event_device_obj?.alert_msg ?? 'No message'}
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="text-red-500 bg-red-200 p-1 rounded-md border border-red-200 text-center"
|
||||
class:hidden={!event_device_obj?.status && !event_device_obj?.status_msg}
|
||||
>
|
||||
<span class="fas fa-exclamation-triangle mx-1" />
|
||||
{event_device_obj?.status ? 'Status' : 'No Status'}
|
||||
<span class="fas fa-exclamation-triangle mx-1" />
|
||||
<br>
|
||||
{event_device_obj?.status_msg ?? 'No message'}
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="text-red-500 bg-red-200 p-1 rounded-md border border-red-200 text-center"
|
||||
class:hidden={!event_device_obj?.record_status && !event_device_obj?.record_status_msg}
|
||||
>
|
||||
<span class="fas fa-exclamation-triangle mx-1" />
|
||||
{event_device_obj?.record_status ? 'Recording Status' : 'No Recording Status'}
|
||||
<span class="fas fa-exclamation-triangle mx-1" />
|
||||
<br>
|
||||
{event_device_obj?.record_status_msg ?? 'No message'}
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col gap-1">
|
||||
<span>
|
||||
<strong class="text-sm">hostname:</strong>
|
||||
|
||||
Reference in New Issue
Block a user