diff options
| author | lucas_nz <lucas_nz@outlook.com> | 2020-09-05 11:41:25 +1200 |
|---|---|---|
| committer | lucas_nz <lucas_nz@outlook.com> | 2020-09-05 11:41:25 +1200 |
| commit | 1139b026aedbc609189a5b3cb7ef446e1ceec09d (patch) | |
| tree | 544f5a45be850d069ee6440274eb5a5a6b0cb00c /www/templates/events.html | |
| parent | 2f565924960a7487ecc75d504bf2c7b0d4586580 (diff) | |
select event view thumbnails type, replaces enableThumbs in dev options.
Enables selection of different thumbnail types.
If gif is selected limit the number of events returned to 5 to improve load time.
Diffstat (limited to 'www/templates/events.html')
| -rw-r--r-- | www/templates/events.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index 83ee4f00..00fd0951 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -45,7 +45,7 @@ <i class="ion-clock"></i> {{prettifyDate(event.Event.StartTime)}} {{tzAbbr}} </span> <div class="row" style="font-size:90%;"> - <div ng-if="loginData.enableThumbs" style="margin-left: auto;margin-right: auto;"> + <div ng-if="loginData.eventViewThumbs!='none'" style="margin-left: auto;margin-right: auto;"> <img bg-color="#6C7A89" ng-src="{{constructThumbnail(event)}}" on-tap="closeIfOpen(event);openModalWithSnapshot(event)" @@ -86,7 +86,6 @@ <b> <i ng-if="event.Event.Archived=='1'" class="ion-ios-flag" style="color:red"> </i>{{event.Event.MonitorName}}</b> - <span ng-if="!loginData.enableThumbs">({{event.Event.Id}})</span> <i class="ion-images"></i> {{event.Event.Frames}} <i class="ion-ios-bell-outline"></i> {{event.Event.AlarmFrames}} <span style="font-size:80%; color:rgb(110,110,110)"> |
