summaryrefslogtreecommitdiff
path: root/www/templates/events-modal.html
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-14 16:02:57 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-14 16:02:57 -0400
commit79d2427d6d44df8cf20907420eccf87c06b821d9 (patch)
treecda8d1ce27c0933df15ccdb19a892bba31970808 /www/templates/events-modal.html
parent95d3bed1b71c7801981a9c78454adfa8fadbd486 (diff)
Feed screens now have a grey background, also have ability to scale images to crop or fit
Diffstat (limited to 'www/templates/events-modal.html')
-rw-r--r--www/templates/events-modal.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index a37e12d2..9f3f257f 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -1,12 +1,14 @@
<ion-modal-view cache="false">
- <ion-content>
+ <ion-content style="background-color:#444444">
<!-- so I can access my common modal controller
which is shared between events and monitors for modal views -->
<div ng-controller="ModalCtrl">
<ion-scroll has-bouncing=false min-zoom=1 zooming="true"
direction="xy" style="width: 100%; ">
+ <div style="height: 100vh;">
<img imageonload="finishedLoadingImage()"
- ng-src="{{loginData.streamingurl}}/cgi-bin/zms?source=event&mode=jpeg&event={{eventId}}&frame=1&maxfps={{loginData.maxFPS}}&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}" width="100%" />
+ ng-src="{{loginData.streamingurl}}/cgi-bin/zms?source=event&mode=jpeg&event={{eventId}}&frame=1&maxfps={{loginData.maxFPS}}&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}" ng-class="{'zm-image-fit':imageStyle==true, 'zm-image-crop':imageStyle==false}" />
+ </div>
</ion-scroll>
</div>