upd
This commit is contained in:
parent
f922deb5cf
commit
57d29ef0a3
@ -54,10 +54,11 @@ function unmount(a, b, c) {
|
||||
function displayData(a){
|
||||
$("#status").html("<p>"+a.health+"</p>");
|
||||
if (a.health == 'deadly.') {
|
||||
// var dead_node = a.deadlyreason["node"];
|
||||
// $('#showDeadlyDetails').on('click', openNode(event, deadNode))
|
||||
deadNode = a.deadlyreason["node"];
|
||||
//$('#showDeadlyDetails').click(event, openNode(event, dead_node))
|
||||
$('#showDeadlyDetails').css("display","block");
|
||||
|
||||
console.log('hui');
|
||||
console.log(a.deadlyreason["node"]);
|
||||
$('#resolve').css("display","block");
|
||||
|
||||
$("#mountFormTrigger").addClass("w3-disabled")
|
||||
@ -146,6 +147,7 @@ function displayData(a){
|
||||
}
|
||||
|
||||
function openNode(evt, nodeName) {
|
||||
console.log(nodeName);
|
||||
var i, x, tablinks;
|
||||
selected_node = nodeName;
|
||||
x = document.getElementsByClassName("node");
|
||||
|
@ -39,7 +39,7 @@
|
||||
<div class="w3-col m9" >
|
||||
<div class="w3-container" id="statusContainer">
|
||||
<div class="w3-padding w3-display-left" id="status">Status... </div>
|
||||
<a href="javascript:void(0)" class="w3-right" id="showDeadlyDetails">
|
||||
<a href="javascript:void(0)" class="w3-right" id="showDeadlyDetails" onclick="openNode(event, deadNode)">
|
||||
Show details
|
||||
</a>
|
||||
<a href="javascript:void(0)" class="w3-right" id="resolve" onClick="resolve()">
|
||||
|
Loading…
Reference in New Issue
Block a user