diff options
| author | ARC <arjunrc@gmail.com> | 2015-04-26 10:19:37 -0400 |
|---|---|---|
| committer | ARC <arjunrc@gmail.com> | 2015-04-26 10:19:37 -0400 |
| commit | 4f85c93a83074f8a7a0dc754bd9516c51401c24e (patch) | |
| tree | 5720407909f7fae3f84d0a2f91d2072851a9e5bc /www/templates | |
| parent | b08473490be9d1571ebbd893ce5564043b3950d3 (diff) | |
add simulation mode via settings and in montage view. Events pending
Diffstat (limited to 'www/templates')
| -rw-r--r-- | www/templates/montage.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/www/templates/montage.html b/www/templates/montage.html index 3ef1885b..8ba62f38 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -25,7 +25,17 @@ <!-- does not route via APIs. As of today, there is no way to do this via apis. FIXME: I should probably not pass username and password here - instead go the http interceptor and auth token mode --> + <div ng-if="!isSimulated()"> <img ng-src="{{LoginData.url}}/cgi-bin/nph-zms?mode=jpeg&monitor={{monitor.Monitor.Id}}&scale=100&maxfps=3&buffer=1000&user={{LoginData.username}}&pass={{LoginData.password}}&rand={{rand}}" width="{{((devWidth-30)/(7-slider.monsize))}}px;" /> + + </div> + + <div ng-if="isSimulated()"> + <img ng-src="img/demo.gif?rand={{rand}}" width="{{((devWidth-30)/(7-slider.monsize))}}px;" + </div> + + <!-- <img ng-src="img/demo.gif?rand={{rand}}" width="{{((devWidth-30)/(7-slider.monsize))}}px;" />--> + <!-- <br/><i class="ion-monitor"></i> Hello --> </article> |
