Skip to content

Commit

Permalink
Update user_status.htm
Browse files Browse the repository at this point in the history
  • Loading branch information
JSZMonkey authored Nov 29, 2021
1 parent 8e6171c commit 9b03e6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions luci-app-oaf/luasrc/view/admin_network/user_status.htm
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
}
var tr = tb.insertRow(-1);
tr.className = 'tr cbi-rowstyle-' + ((i % 2) + 1);
$('tr').find('td').attr('class', 'td');
//tr.insertCell().className = 'td';
tr.insertCell(-1).innerHTML = i + 1;
tr.insertCell(-1).innerHTML = hostname;
tr.insertCell(-1).innerHTML = "<a href='<%=url('admin/network/appfilter/')%>"+devlist[i].mac+"'>"+devlist[i].mac+"</a>";
Expand All @@ -41,6 +39,7 @@
tr.insertCell(-1).innerHTML = "<%:Online%>";
else
tr.insertCell(-1).innerHTML = "<%:Offline%>";
$('tr').find('td').attr('class', 'td');
}
}
}
Expand Down

0 comments on commit 9b03e6a

Please sign in to comment.