diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-12-09 12:41:42 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-12-09 12:41:42 -0500 |
| commit | 02b539d381517228fec72235c3b8c5a5659bd711 (patch) | |
| tree | 8e71d548378c4184239493716764a7befb9de394 /www/templates | |
| parent | 21856d3106726668616fdf4b96e9a7b02ce69d42 (diff) | |
#91 rotated image fix and other typos
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index 999c8c88..41e5b104 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -64,7 +64,7 @@ <div class="col"> <div class="item-text-wrap"> - <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.MaxScore">({{event.Event.Id}})</span> + <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.MaxScoreFrameId">({{event.Event.Id}})</span> <button ng-if="gifshotSupported && loginData.enableGIFMP4 " class="button button-small button-clear icon gif-icon" ng-click="permissionsDownload(event)"> </button> @@ -85,11 +85,12 @@ </div> - <div ng-if="loginData.enableThumbs && event.Event.MaxScore" class = "col col-left"> + <div ng-if="loginData.enableThumbs && event.Event.MaxScoreFrameId" class = "col col-left" style="max-height:150px" > <!-- thumbnail --> - <!-- ng-image-appear transition-duration="0.5s" animation="fillIn" bg-color="#50a4e2" --> - <img ng-image-appear transition-duration="0.3s" animation="fillIn" bg-color="#50a4e2" width="{{event.Event.thumbWidth}}px" height="{{event.Event.thumbHeight}}px" ng-src="{{event.Event.baseURL}}/index.php?view=image&fid={{event.Event.MaxScoreFrameId}}&width={{event.Event.thumbWidth*2}}&height={{event.Event.thumbHeight*2}}" on-tap="showThumbnail(event.Event.baseURL,event.Event.MaxScoreFrameId)" /> + <!-- ng-image-appear transition-duration="0.5s" animation="fillIn" bg-color="#50a4e2" {{event.Event.thumbWidth}}X{{event.Event.thumbHeight}}--> + + <img ng-image-appear transition-duration="0.3s" animation="fillIn" bg-color="#50a4e2" width="{{event.Event.thumbWidth}}px" height="{{event.Event.thumbHeight}}px" ng-src="{{event.Event.baseURL}}/index.php?view=image&fid={{event.Event.MaxScoreFrameId}}&width={{event.Event.thumbWidth*2}}&height={{event.Event.thumbHeight*2}}" on-tap="showThumbnail(event.Event.baseURL,event.Event.MaxScoreFrameId)" /> <!--<p>{{event.Event.thumbWidth}}px*{{event.Event.thumbHeight}}px</p>--> |
