Explorar el Código

status handling backend and front-end refactoring

steve hace 9 años
padre
commit
586d8a8968
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/api/static/js/dashboard.js

+ 1 - 1
src/api/static/js/dashboard.js

@@ -31,7 +31,7 @@ monitor.processes.init = function(x){
 monitor.processes.render = function(label,data) {
 	var status = {"idle":'<i class="fa fa-ellipsis-h" title="IDLE"></i>',"running":'<i class="fa fa-check" title="RUNNING"></i>',"crash":'<i class="fa fa-times" title="CRASHED"></i>'}
 	data = jx.utils.patterns.visitor(data,function(row){
-		console.log(row)
+		
 		row.status = status[row.status]
 // 		var m = row.memory_usage >0
 // 		var c = row.cpu_usage > 0