Archived
1
0

add hr in connection state

This commit is contained in:
Jeff Becker 2016-03-12 10:18:43 -05:00
parent c618440878
commit 8181d174a5
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -181,12 +181,12 @@ function createConnectionElement(j) {
} }
function inject_nntp_feed_element(feed, elem) { function inject_nntp_feed_element(feed, elem) {
elem.appendChild(document.createElement("hr"));
var name = document.createElement("div"); var name = document.createElement("div");
name.setAttribute("class", "feeds_name"); name.setAttribute("class", "feeds_name");
name_elem = document.createTextNode("Name: "+feed.State.Config.Name); name_elem = document.createTextNode("Name: "+feed.State.Config.Name);
name.appendChild(name_elem); name.appendChild(name_elem);
elem.appendChild(name); elem.appendChild(name);
var conns = document.createElement("div"); var conns = document.createElement("div");
conns.setAttribute("class", "connections"); conns.setAttribute("class", "connections");
for ( var idx = 0 ; idx < feed.Conns.length; idx ++ ) { for ( var idx = 0 ; idx < feed.Conns.length; idx ++ ) {