From 89211bbbd526bbc587361085b119a19d296f6a7f Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 20 Oct 2018 19:17:21 -0400 Subject: #724 cleanup and making sure we take recordingURL for playback --- www/templates/events.html | 4 ++-- www/templates/moment.html | 2 +- www/templates/monitors.html | 2 ++ www/templates/timeline-modal.html | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'www/templates') diff --git a/www/templates/events.html b/www/templates/events.html index b312a79c..71522fa0 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -152,13 +152,13 @@
- +
:{{alarm.frameid}}, :{{alarm.score}}, : {{prettifyTimeSec(alarm.time)}}
+ style="width: auto; height: auto;max-width: 100%;max-height: 170px" on-tap="showImage(event.Event.recordingURL, alarm.fname, alarm.frameid, event.Event.Id, event.Event.imageMode, alarm.id, alarm_images, $index)" />
diff --git a/www/templates/moment.html b/www/templates/moment.html index 45cdbd13..0f0f55c4 100644 --- a/www/templates/moment.html +++ b/www/templates/moment.html @@ -113,7 +113,7 @@ ng-click="togglePin(moment.Event.Id)"> - +
 {{moment.Event.humanizeTime}} {{hourmin(moment.Event.StartTime)}} 
diff --git a/www/templates/monitors.html b/www/templates/monitors.html index fbd1ce26..8daf6fa8 100644 --- a/www/templates/monitors.html +++ b/www/templates/monitors.html @@ -48,6 +48,8 @@
{{'kStatus' | translate}}: {{monitor.Monitor.isRunningText}}
{{'kId' | translate}}: {{monitor.Monitor.Id}}
{{'kEventRecording' | translate}}: {{(monitor.Monitor.VideoWriter>0?'kVideo':'kImages') | translate}} +
Streaming URL: {{monitor.Monitor.streamingURL}} +
Portal URL: {{monitor.Monitor.baseURL}}

diff --git a/www/templates/timeline-modal.html b/www/templates/timeline-modal.html index 3ae0aba7..5b6c8694 100644 --- a/www/templates/timeline-modal.html +++ b/www/templates/timeline-modal.html @@ -27,7 +27,7 @@
f:{{alarm.fid}} scr:{{alarm.score}} @ {{alarm.time}}
-- cgit v1.2.3