diff options
| author | PliablePixels <pliablepixels@gmail.com> | 2015-06-24 18:47:42 -0400 |
|---|---|---|
| committer | PliablePixels <pliablepixels@gmail.com> | 2015-06-24 18:47:42 -0400 |
| commit | 855a0e8ddc273b58066530a1b55a946021dfc56e (patch) | |
| tree | 26550033e855a31a265fc2da4da3df0cc2733dc1 /www/templates/events-modal.html | |
| parent | d442629aa825aab6bc55ab6be19e3aba060867fe (diff) | |
Cleaned up code, commented, preparing for HTTPS via CordovaHTTP
Diffstat (limited to 'www/templates/events-modal.html')
| -rw-r--r-- | www/templates/events-modal.html | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index c904c9d0..a3cd5bcc 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -1,22 +1,12 @@ <ion-modal-view cache="false"> - - <!-- <ion-header-bar> - <h1 class="title"> - <span style="float:left"> - <button class="button button-clear icon icon-left ion-close" ng-click="closeModal()" >Close</button> - </span> - <span style="float:right"> - {{eventName}} (Duration:{{eventDur}}s) - </span> - </h1> - </ion-header-bar> --> <ion-content> + <!-- so I can access my common modal controller + which is shared between events and monitors for modal views --> <div ng-controller="ModalCtrl"> - - <!-- replay can also be gapless --> - - <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; "> - <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%" /> + <ion-scroll has-bouncing=false min-zoom=1 zooming="true" + direction="xy" style="width: 100%; "> + <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%" /> </ion-scroll> </div> </ion-content> |
