diff options
| author | ARC <arjunrc@gmail.com> | 2015-05-01 14:52:22 -0400 |
|---|---|---|
| committer | ARC <arjunrc@gmail.com> | 2015-05-01 14:52:22 -0400 |
| commit | 9faf95be527b8b7c23e4ed4226c35bb771129f41 (patch) | |
| tree | 6d5baa8fc0b2a06d2ccb46ad9be75cce64bc34e8 /www/templates | |
| parent | bcdc2629d7b289c48776169c350d8da3b74f64d4 (diff) | |
Made various tweaks to config files and code to make things work on Android. Using crosswalk for Android for better performance
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/events-modal.html | 2 | ||||
| -rw-r--r-- | www/templates/login.html | 2 | ||||
| -rw-r--r-- | www/templates/monitors-modal.html | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 8f43b114..08dbe651 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -24,7 +24,7 @@ <div ng-if="isSimulated()"> <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; "> - <img ng-src="img/demo.gif" width="100%"> + <img imageonload="finishedLoadingImage()" ng-src="img/demo.gif" width="100%" /> </ion-scroll> </div> diff --git a/www/templates/login.html b/www/templates/login.html index 05d28848..0e302c9e 100644 --- a/www/templates/login.html +++ b/www/templates/login.html @@ -14,7 +14,7 @@ <input type="password" placeholder="Password" ng-model="loginData.password"> </label> <label class="item item-input"> - <input autocapitalize="none" type="text" placeholder="Zoneminder base URL" ng-model="loginData.url"> + <input autocapitalize="none" type="text" placeholder="ZM base URL (please don't add /zm)" ng-model="loginData.url"> </label> <label class="item item-input"> <input autocapitalize="none" type="text" placeholder="API base URL" ng-model="loginData.apiurl"> diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 1d5e5488..47da2917 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -16,13 +16,13 @@ <div ng-if="!isSimulated()"> <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; "> - <img imageonload="finishedLoadingImage()" ng-src="{{LoginData.url}}/cgi-bin/zms?mode=jpeg&monitor={{monitorId}}&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" style="background-image:url('http://www.pbase.com/arjunrc/image/159892445/medium.jpg');" /> + <img imageonload="finishedLoadingImage()" ng-src="{{LoginData.url}}/cgi-bin/zms?mode=jpeg&monitor={{monitorId}}&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="100%" /> </ion-scroll> </div> <div ng-if="isSimulated()"> <ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; "> - <img ng-src="img/demo.gif" width="100%"> + <img imageonload="finishedLoadingImage()" ng-src="img/demo.gif" width="100%" /> </ion-scroll> </div> |
