diff --git a/static/rbmd/script.js b/static/rbmd/script.js
index 201a2fb..121681d 100644
--- a/static/rbmd/script.js
+++ b/static/rbmd/script.js
@@ -63,17 +63,16 @@ function displayData(a){
$("#mountFormTrigger").removeClass("w3-disabled")
$('#details').css("border", "0");
}
- $( "#statusContainer:contains('alive')" ).css("background-color", "#4CAF50" );
- $( "#statusContainer:contains('resizing')" ).css("background-color", "#ff9800" );
- $( "#statusContainer:contains('deadly')" ).css("background-color", "#f44336" );;
+ $("#statusContainer:contains('alive')").css("background-color", "#4CAF50");
+ $("#statusContainer:contains('resizing')").css("background-color", "#ff9800");
+ $("#statusContainer:contains('deadly')").css("background-color", "#f44336");;
var node2 = a;
w3DisplayData("id01", node2);
$('.tablink').css('display', 'block');
if (selected_node != undefined && selected_node != 'dead'){
-
//a.quorum.forEach(function(item) {if (item.node == selected_node) { console.log(item.node)}})
var selected_node_body = a.quorum.find(function(node) {
- return node.node == selected_node
+ return node.node == selected_node;
});
var t = new Date(selected_node_body["updated"] * 1000)
var up_formatted = t.getFullYear() + "/"
@@ -94,10 +93,9 @@ function displayData(a){
+ selected_node + '", "'
+ selected_node_body.mounts[i].mountpoint + '", "'
+ selected_node_body.mounts[i].block
- + '")\' >unmount
Mountpoint: '
- + mnt.mountpoint + '
Mountopts: '
- + mnt.mountopts + '
Fstype: '
- + mnt.fstype
+ + '")\' >unmount
Mountpoint: ' + mnt.mountpoint
+ + '
Mountopts: ' + mnt.mountopts
+ + '
Fstype: ' + mnt.fstype
+ '
Pool: ' + mnt.pool
+ '
Image: ' + mnt.image
+ '
Block: ' + mnt.block + '
';
diff --git a/templates/rbmd/index.html b/templates/rbmd/index.html
index 91d4d14..c3f43bf 100644
--- a/templates/rbmd/index.html
+++ b/templates/rbmd/index.html
@@ -7,13 +7,20 @@
+