diff options
Diffstat (limited to 'www/templates/monitors-modal.html')
| -rw-r--r-- | www/templates/monitors-modal.html | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 47f67f08..e0779ed9 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -10,14 +10,29 @@ direction="xy" style="width: 100%; "> <!-- android needs this 100vh - otherwise max- does not work --> - <div style="height: 100vh;" class="main"> - <div ng-if="$root.authSession!='undefined'"> - <img id="monitorimage" imageonload="finishedLoadingImage()" - image-spinner-loader="lines" - image-spinner-src="{{LoginData.streamingurl}}/cgi-bin/nph-zms?mode=single&monitor={{monitorId}}{{$root.authSession}}&rand={{$root.modalRand}}" ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}" - on-swipe-left="onSwipeLeft(monitorId,1)" - on-swipe-right="onSwipeRight(monitorId,-1)" /> - <!-- on-swipe-left="onSwipeLeft(monitorId,-1)" on-swipe-right="onSwipeRight(monitorId,1)"--> + <div id="monitorimage" style="height: 100vh;" class="main"> + + + + <div ng-if="$root.authSession!='undefined'"> + + + <div ng-if="!animationInProgress"> + <img imageonload="finishedLoadingImage()" + image-spinner-loader="lines" + image-spinner-src="{{LoginData.streamingurl}}/cgi-bin/nph-zms?mode=single&monitor={{monitorId}}{{$root.authSession}}&rand={{$root.modalRand}}" ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}" + on-swipe-left="onSwipe(monitorId,1)" + on-swipe-right="onSwipe(monitorId,-1)" /> + + </div> + <div ng-if="animationInProgress"> + <img + + ng-src="img/pausevideo.png" ng-class="{'zm-image-fit':imageFit==true, 'zm-image-crop':imageFit==false}" + /> + </div> + + </div> <div ng-if="$root.authSession=='undefined'"> <img id="img-$index" ng-src="img/pausevideo.png" style="display:block;" @@ -52,9 +67,9 @@ </nav> <nav mfb-menu position="tr" effect="zoomin" label="collapse" active-icon="ion-chevron-up" resting-icon="ion-chevron-down" toggling-method="click"> - <button mfb-button icon="ion-android-arrow-back" label="previous monitor" ng-click="onTapLeft(monitorId,-1);"> + <button mfb-button icon="ion-android-arrow-back" label="previous monitor" ng-click="onTap(monitorId,-1);"> </button> - <button mfb-button icon="ion-android-arrow-forward" label="next monitor" ng-click="onTapRight(monitorId,1);"> + <button mfb-button icon="ion-android-arrow-forward" label="next monitor" ng-click="onTap(monitorId,1);"> </button> </nav> |
