diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 17:18:42 -0500 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-11-20 17:18:42 -0500 |
| commit | 8454b1836c03d70c2591b2e42d5ca28be7528a96 (patch) | |
| tree | ee9834bf76d4fb57c125b2706b4ece77306266d6 | |
| parent | 2663d42a3a4333ae8ec19d50e4b32bdce44d17e3 (diff) | |
pause image fit to screen
Former-commit-id: ccc7407bdebc28185f739118e2d021ddb23dd3c2
| -rw-r--r-- | www/templates/events-modal.html | 4 | ||||
| -rw-r--r-- | www/templates/monitors-modal.html | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 0b851e78..ea0a6c4c 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -21,10 +21,10 @@ /> </div> <div ng-if="animationInProgress"> - <img imageonload="finishedLoadingImage($index)" + <img style="width:100vw; height:100vh" imageonload="finishedLoadingImage($index)" image-spinner-src="img/pausevideo.png" image-spinner-loader="lines" - ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" /> + class="object-fit_contain" /> </div> diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 2bb90dfb..f2a19a0f 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -26,16 +26,16 @@ </div> <div ng-if="animationInProgress"> - <img + <img style="width:100vw; height:100vh" - ng-src="img/pausevideo.png" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" + ng-src="img/pausevideo.png" class="object-fit_contain" /> </div> </div> <div ng-if="$root.authSession=='undefined'"> - <img id="img-$index" ng-src="img/pausevideo.png" style="display:block;" + <img id="img-$index" ng-src="img/pausevideo.png" style="width:100vw; height:100vh; display:block;" class="object-fit_contain" width="{{((devWidth)/(7-monitorSize[$index]))}}px;"/> </div> </div> |
