Updated node details and settings style

Fixed nav spacing.
Added a header to the storage table.
This commit is contained in:
J-Lassauw authored and Jonas Lassauw committed 2018-12-11 22:31:30 +00:00
1 parent 659b071eb6
commit 1788d72f8f
8 files changed
+88 -83

No files matched your search

+7 -2
View File
@@ -25,7 +25,7 @@
for(let id in slaves){
let slave = slaves[id];
html += `
<div id="${id}" class="slaveBox card">
<div id="${id}" class="slaveBox card mb-3">
<div class="card-body">
<h5 class="card-title"><a href='nodeDetails?instanceID=${id}'>
<h2>${slave.instanceName}</h2>
@@ -50,17 +50,22 @@
for(let i in slaveListingEntries){
let button = slaveListingEntries[i];
if(button.getHtml && typeof button.getHtml == "function"){
html += "<div class=\"plugin-link\">"
html += button.getHtml({slave});
html += "</div>"
}
}
}
}
html += `
</div>
</div>`
`
}
%>
<%- html %>
</div>
</div>
<script>
$('.plugin-link a').addClass('btn btn-primary')
</script>
</body>