diff options
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> |
