summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-04-22 10:50:52 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-04-22 10:50:52 -0400
commitbbd8d4b8fc3da1182ec3c6077775a6bf857950bc (patch)
tree9a96fa068f4d7c9d648ba5898f8bc7bb00c8b109 /www/js/LoginCtrl.js
parent2d414799fd949b37f35e21b52256fc79e12cea43 (diff)
#228 - more tweaks
Former-commit-id: 4df202510c0d6a37e4a51791ab7b8c6216dc2242
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index f89ed726..82742497 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -322,7 +322,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
title: 'cgi-bin settings',
cssClass: 'popup90',
template: text,
- buttons: [{text: 'Ok'},{text:'Use suggestion', onTap:function(e) {$scope.loginData.streamingurl=dtext;}}, /*{text:'try harder', onTap:function(e) {tryHarder();}}*/]
+ buttons: [{text: 'Ok', type:'button-positive'},{text:'Use suggestion',type:'button-balanced', onTap:function(e) {$scope.loginData.streamingurl=dtext;}}, /*{text:'try harder', onTap:function(e) {tryHarder();}}*/]
});
}
@@ -648,7 +648,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
$http.get(ld.streamingurl + "/zms")
.success(function (data) {
ZMDataModel.zmDebug("Urk! cgi-path returned success, but it should not have come here");
- loginStatus = "Login validated, but could not validate cgi-path. If live streams don't work please check your cgi-bin path";
+ loginStatus = "Login validated, but could not validate cgi-path. If live streams don't work please check your cgi-bin path or try using the discover feature";
var refresh = ZMDataModel.getMonitors(1);
@@ -670,7 +670,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
// if its 4xx then the cgi-bin path is not valid
if (status < 500) {
- loginStatus = "The cgi-bin path you entered may be wrong. I can't make sure, but if your live views don't work, please review your cgi path.";
+ loginStatus = "The cgi-bin path you entered may be wrong. I can't make sure, but if your live views don't work, please review your cgi path or try using the discover feature.";
}
if (showalert)