diff --git a/luci-app-openmptcprouter/htdocs/luci-static/resources/openmptcprouter/css/wanstatus.css b/luci-app-openmptcprouter/htdocs/luci-static/resources/openmptcprouter/css/wanstatus.css index b9c6b535f..04786f927 100644 --- a/luci-app-openmptcprouter/htdocs/luci-static/resources/openmptcprouter/css/wanstatus.css +++ b/luci-app-openmptcprouter/htdocs/luci-static/resources/openmptcprouter/css/wanstatus.css @@ -212,16 +212,16 @@ right connector from last child*/ width: 85px; height: 0; } -.tree ul li#networkRootNode:not(:first-child) td::before { +.tree ul li#networkRootNode:not(:first-child) tr.spaceline td { content: ''; position: absolute; - /*top: 0;*/ - top: 75px; + /*top: 0; + top: 75px;*/ border-left: 2px solid black; border-bottom: none; width: 2px; /*height: 50%;*/ - height: 65px; + height: 55px; left: 200px; /* z-index: -10;*/ } @@ -322,4 +322,7 @@ Thanks :)*/ } .space { height: 55px; -} \ No newline at end of file +} +.spaceline { + height: 55px; +} diff --git a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm index 475506267..f485e4849 100644 --- a/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm +++ b/luci-app-openmptcprouter/luasrc/view/openmptcprouter/wanstatus.htm @@ -95,9 +95,10 @@ temp += '
  • '; if (mArray.wans) { - for( var j = 0; j < mArray.wans.length; j++ ) + temp += ''; + for( var j = 1; j < mArray.wans.length; j++ ) { - temp += ''; + temp += ''; } } temp += '
    ';