upd
This commit is contained in:
parent
9e3d178e28
commit
76e2365013
@ -17,7 +17,7 @@ $(function() {
|
||||
})
|
||||
*/
|
||||
})
|
||||
|
||||
|
||||
|
||||
// var ws = new WebSocket('{{escape(ws)}}');
|
||||
// var cluster, selected_node, deadNode, node2;
|
||||
@ -208,6 +208,7 @@ function openNode(evt, nodeName) {
|
||||
// // displayData(a);
|
||||
// } else {
|
||||
$('#showDeadlyDetails').text('Show details');
|
||||
$('#details').css("border", "").css("display", "block"); displayData(a);
|
||||
$('#details').css("border", "").css("display", "block");
|
||||
displayData(a);
|
||||
// }
|
||||
}
|
||||
|
@ -85,13 +85,14 @@
|
||||
</body>
|
||||
<script>
|
||||
var ws = new WebSocket('{{escape(ws)}}');
|
||||
console.log(ws);
|
||||
var a, selected_node, deadNode, node2;
|
||||
ws.onopen = function() {ws.send(""); };
|
||||
ws.onmessage = function (evt) {
|
||||
a = JSON.parse(evt.data);
|
||||
displayData(a);
|
||||
};
|
||||
$('.tablink').css('display', 'block')
|
||||
$('.tablink').css('display', 'block');
|
||||
//
|
||||
// $('#mountForm').submit(function(event){
|
||||
// event.preventDefault();
|
||||
|
Loading…
Reference in New Issue
Block a user