1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix status display in themes

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-04-22 19:09:26 +02:00
parent f32a1f2eab
commit 8880acd39e
2 changed files with 11 additions and 7 deletions

View file

@ -212,16 +212,16 @@ right connector from last child*/
width: 85px; width: 85px;
height: 0; height: 0;
} }
.tree ul li#networkRootNode:not(:first-child) td::before { .tree ul li#networkRootNode:not(:first-child) tr.spaceline td {
content: ''; content: '';
position: absolute; position: absolute;
/*top: 0;*/ /*top: 0;
top: 75px; top: 75px;*/
border-left: 2px solid black; border-left: 2px solid black;
border-bottom: none; border-bottom: none;
width: 2px; width: 2px;
/*height: 50%;*/ /*height: 50%;*/
height: 65px; height: 55px;
left: 200px; left: 200px;
/* z-index: -10;*/ /* z-index: -10;*/
} }
@ -323,3 +323,6 @@ Thanks :)*/
.space { .space {
height: 55px; height: 55px;
} }
.spaceline {
height: 55px;
}

View file

@ -94,10 +94,11 @@
temp += '<li id="networkRootNode"><table><tr><td><table>'; temp += '<li id="networkRootNode"><table><tr><td><table>';
if (mArray.wans) if (mArray.wans)
{
for( var j = 0; j < mArray.wans.length; j++ )
{ {
temp += '<tr class="space"><td></td></tr>'; temp += '<tr class="space"><td></td></tr>';
for( var j = 1; j < mArray.wans.length; j++ )
{
temp += '<tr class="spaceline"><td></td></tr>';
} }
} }
temp += '<tr><td></td></tr><tr><td><a href="#" id="omr">'; temp += '<tr><td></td></tr><tr><td><a href="#" id="omr">';