From b2732e73c3bf40896023872f985f13f49ec83c7b Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Wed, 1 Jun 2016 16:44:35 -0400 Subject: various updates, hide cast, add loader icons to thumbnails Former-commit-id: 0e6de5d09b64c79a9488def8775ca61d7027da96 --- www/js/DataModel.js | 2 +- www/js/MonitorModalCtrl.js | 6 ++++++ www/templates/events.html | 4 ++-- www/templates/monitors-modal.html | 3 ++- www/templates/timeline-modal.html | 4 ++-- 5 files changed, 13 insertions(+), 6 deletions(-) (limited to 'www') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 14864648..512ae20c 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -337,7 +337,7 @@ angular.module('zmApp.controllers') { if (urls.length > 0 && $rootScope.userCancelledAuth != true) { - $ionicLoading.show({template: $translate.instant('kTrying') + urls[0].server}); + $ionicLoading.show({template: $translate.instant('kTrying') + ' ' +urls[0].server}); zmLog ("Reachability test.." + urls[0].url); return $http.get(urls[0].url).then(function () { zmLog ("Success: reachability on "+ urls[0].url); diff --git a/www/js/MonitorModalCtrl.js b/www/js/MonitorModalCtrl.js index ebdc5326..ef9b9509 100644 --- a/www/js/MonitorModalCtrl.js +++ b/www/js/MonitorModalCtrl.js @@ -198,7 +198,13 @@ angular.module('zmApp.controllers').controller('MonitorModalCtrl', ['$scope', '$ console.log ("PASSED WITH " + JSON.stringify(mon)); //ConnectSDK.discoveryManager.startDiscovery(); + + console.log ("Stopping"); + ConnectSDK.discoveryManager.stopDiscovery(); + + console.log ("Starting"); ConnectSDK.discoveryManager.startDiscovery(); + console.log ("picking"); ConnectSDK.discoveryManager.pickDevice() .success(function (device) { //device.disconnect(); diff --git a/www/templates/events.html b/www/templates/events.html index 2b7c2c59..a7a7a394 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -154,9 +154,9 @@
{{ 'kFrame' | translate}} :{{alarm.frameid}} {{ 'kScore' | translate }} :{{alarm.score}}
- + - + diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index dc16a223..35c5664d 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -113,7 +113,8 @@
  • - +
  • diff --git a/www/templates/timeline-modal.html b/www/templates/timeline-modal.html index 7893f0be..28147213 100644 --- a/www/templates/timeline-modal.html +++ b/www/templates/timeline-modal.html @@ -35,9 +35,9 @@
    f:{{alarm.fid}} scr:{{alarm.score}} @ {{alarm.time}}
    - + - + -- cgit v1.2.3