summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-11-23 16:24:56 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-11-23 16:24:56 -0400
commitd90a9534c04299c7eedefaf4388801722562ad09 (patch)
tree9ce4da1f2e4f98e93ff90f8c89636470c5ea6745 /www/templates
parent2118c797762d6ef2699a80b2dc3356a6f10d0bae (diff)
updates for #379 and #383 - you will now see both an MP4 and a GIF icon. MP4 will show only if you are on desktop and using 264 branch
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index cfb6fa0d..849d9e3e 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -64,9 +64,13 @@
<div class="item-text-wrap">
<i class="ion-ios-videocam-outline"></i>
<b>{{event.Event.MonitorName}}</b> ({{event.Event.Id}}) &nbsp; &nbsp;
- <button ng-if="gifshotSupported" class="button button-small button-outline icon ion-android-download" ng-click=" permissionsDownload(event)">
+ <button ng-if="gifshotSupported" class="button button-small button-clear icon gif-icon" ng-click="permissionsDownload(event)">
</button>
+
+
+ <a ng-if="event.Event.DefaultVideo!='' && $root.platformOS=='desktop' " class="button button-clear button-small icon mp4-icon" href="{{event.Event.videoPath}}" download="{{event.Event.Id}}-video.mp4" ng-click="mp4warning()"></a>
+
</div>
<i class="ion-images"></i> {{event.Event.Frames}} &nbsp;
<i class="ion-ios-bell-outline"></i> {{event.Event.AlarmFrames}} &nbsp;