From 174b5a7e697d3a3ec560ad8bf4b285153ccb2a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Schr=C3=B6der?= Date: Wed, 27 May 2015 21:18:01 +0200 Subject: [PATCH] Quickfixes in the gui (do not use until next commit) --- luciexpress/htdocs/plugins/core/pages/overview.html | 6 +++--- .../htdocs/plugins/internet/pages/settings.network.js | 2 +- .../htdocs/plugins/phone/pages/phone.ringing_schedule.html | 5 ++++- .../htdocs/plugins/status/pages/status.status.voice.js | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/luciexpress/htdocs/plugins/core/pages/overview.html b/luciexpress/htdocs/plugins/core/pages/overview.html index 99f82cfec..b4e6ca5fe 100644 --- a/luciexpress/htdocs/plugins/core/pages/overview.html +++ b/luciexpress/htdocs/plugins/core/pages/overview.html @@ -33,13 +33,13 @@
-
Schedule {{wifiSchedStatus | translate}}
+
Schedule {{wifiSchedStatus | translate}}
-
WPS {{wifiWPSStatus | translate}}
+
WPS {{wifiWPSStatus | translate}}
@@ -85,7 +85,7 @@
-
Schedule is on
+
Schedule is {{wifiWPSStatus | translate}}
diff --git a/luciexpress/htdocs/plugins/internet/pages/settings.network.js b/luciexpress/htdocs/plugins/internet/pages/settings.network.js index 1ddd6de0c..9a61e0496 100644 --- a/luciexpress/htdocs/plugins/internet/pages/settings.network.js +++ b/luciexpress/htdocs/plugins/internet/pages/settings.network.js @@ -2,6 +2,6 @@ JUCI.app .controller("SettingsNetworkCtrl", function($scope, $uci){ $uci.sync("network").done(function(){ $scope.network = $uci.network; - $scope.interfaces = $uci.network['@interface'].filter(function(i){ return i.type.value != ""; }); + $scope.interfaces = $uci.network['@interface'].filter(function(i){ return i.type.value != "" && i.is_lan.value == true}); }); }); diff --git a/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html b/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html index 242c3a565..f2c6032ee 100644 --- a/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html +++ b/luciexpress/htdocs/plugins/phone/pages/phone.ringing_schedule.html @@ -8,8 +8,11 @@ + + + - +
diff --git a/luciexpress/htdocs/plugins/status/pages/status.status.voice.js b/luciexpress/htdocs/plugins/status/pages/status.status.voice.js index 1e2b80133..bd0421c10 100644 --- a/luciexpress/htdocs/plugins/status/pages/status.status.voice.js +++ b/luciexpress/htdocs/plugins/status/pages/status.status.voice.js @@ -6,7 +6,7 @@ JUCI.app if(data && data.sip){ var accounts = []; Object.keys(data.sip).map(function(k){ - if(data.sip[k].ip) accounts.push(data.sip[k]); + accounts.push(data.sip[k]); }); $scope.sipAccounts = accounts; $scope.$apply();
Day Time