diff --git a/luciexpress/htdocs/js/rpc.js b/luciexpress/htdocs/js/rpc.js index 4a2d57663..d866f1486 100644 --- a/luciexpress/htdocs/js/rpc.js +++ b/luciexpress/htdocs/js/rpc.js @@ -84,6 +84,7 @@ }).done(function(result){ if(!("username" in result.data)) { console.log("Session: Not authenticated!"); + RPC_SESSION_ID = RPC_DEFAULT_SESSION_ID; // reset sid to 000.. deferred.reject(); } else { self.$session = result; diff --git a/luciexpress/htdocs/plugins/internet/pages/internet.exposed_host.js b/luciexpress/htdocs/plugins/internet/pages/internet.exposed_host.js index b81382a94..14ea91f12 100644 --- a/luciexpress/htdocs/plugins/internet/pages/internet.exposed_host.js +++ b/luciexpress/htdocs/plugins/internet/pages/internet.exposed_host.js @@ -1,6 +1,7 @@ $juci.module("internet") .controller("InternetExHostPageCtrl", function($scope, $rpc, $config, $uci, $tr){ $scope.config = $config; + $scope.wan = {}; async.parallel([ function(next){ diff --git a/luciexpress/htdocs/plugins/status/pages/status.status.tv.html b/luciexpress/htdocs/plugins/status/pages/status.status.tv.html index b7a19b2a3..68a451814 100644 --- a/luciexpress/htdocs/plugins/status/pages/status.status.tv.html +++ b/luciexpress/htdocs/plugins/status/pages/status.status.tv.html @@ -7,13 +7,19 @@

{{'Vodafone TV Channels'|translate}}

- - - - - + + + + + + + + + + + + -
Group IPBandwidth Usage (kbps)PID/CC ErrorLAN PortClient IPGroup IPClient IPLAN PortWAN PortTimeout
{{row.group}}{{row.reporter}}{{row.device}}{{row.srcdevice}}{{row.timeout}}
diff --git a/luciexpress/htdocs/plugins/status/pages/status.status.tv.js b/luciexpress/htdocs/plugins/status/pages/status.status.tv.js index 33204b36f..505f68f6f 100644 --- a/luciexpress/htdocs/plugins/status/pages/status.status.tv.js +++ b/luciexpress/htdocs/plugins/status/pages/status.status.tv.js @@ -1,4 +1,10 @@ $juci.module("status") -.controller("StatusTVPageCtrl", function($scope){ - +.controller("StatusTVPageCtrl", function($scope, $rpc, gettext){ + $rpc.router.igmptable().done(function(result){ + if(!result.table) { + $scope.$emit("error", gettext("Unable to retreive igmptable from device!")); + return; + } + $scope.igmptable = result.igmptable; + }); });