diff --git a/components/wifi-manager/code.js b/components/wifi-manager/code.js index 971c3bd7..70dd7f1f 100644 --- a/components/wifi-manager/code.js +++ b/components/wifi-manager/code.js @@ -724,6 +724,12 @@ function checkStatus(){ layer.setAttribute("display","inline"); } } + if (data.hasOwnProperty('Jack')) { + var jack = data['Jack']; + if (jack == '1') { + o_jack.setAttribute("display","inline"); + } + } blockAjax = false; }) .fail(function(xhr, ajaxOptions, thrownError) { diff --git a/components/wifi-manager/index.html b/components/wifi-manager/index.html index fe1b6791..cd0d01d5 100644 --- a/components/wifi-manager/index.html +++ b/components/wifi-manager/index.html @@ -25,6 +25,12 @@
+ + + + + + diff --git a/components/wifi-manager/style.css b/components/wifi-manager/style.css index c279cda9..55921866 100644 --- a/components/wifi-manager/style.css +++ b/components/wifi-manager/style.css @@ -322,6 +322,11 @@ svg#output { padding-right: 4px; } +svg#jack { + fill: #ddd; + padding-right: 4px; +} + ul#navbar { border-bottom: 0px; }