mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 15:01:03 +00:00
Fix table structure
This commit is contained in:
parent
4322554c66
commit
72ace793a6
1 changed files with 2 additions and 2 deletions
|
|
@ -288,13 +288,13 @@ function render_status(status) {
|
|||
table.appendChild(tbody)
|
||||
var caption = document.createElement("caption")
|
||||
caption.innerHTML = "(" + nodes.length + ")"
|
||||
tbody.appendChild(caption)
|
||||
table.appendChild(caption)
|
||||
|
||||
var header = document.createElement('tr')
|
||||
markup = `<th>Host</th>
|
||||
<th>State</th>`
|
||||
header.innerHTML = markup
|
||||
table.appendChild(header)
|
||||
tbody.appendChild(header)
|
||||
for(var n=0; n<nodes.length; n++) {
|
||||
var row = document.createElement("tr")
|
||||
markup = `<td>${nodes[n]["Host"]}</td>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue