fixed login issue on chromium; moved docker into mwaeckerlin/docker.js on github
This commit is contained in:
		@@ -113,8 +113,8 @@ function connect() {
 | 
			
		||||
  $("#connectionstatus #good").hide();
 | 
			
		||||
  success("login to server");
 | 
			
		||||
  socket.emit('authentication', {
 | 
			
		||||
    username: $("#username").val(),
 | 
			
		||||
    password: $("#password").val()
 | 
			
		||||
    username: $("#usernamefield").val(),
 | 
			
		||||
    password: $("#passwordfield").val()
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -314,7 +314,7 @@ function showviz(vizpath, more) {
 | 
			
		||||
      .attr('font-weight', 'bold')
 | 
			
		||||
      .attr('font-size', '16')
 | 
			
		||||
      .each(function() {$(this).attr('y', parseFloat($(this).attr('y'))+1.0)});
 | 
			
		||||
    $('#main a > ellipse + text + text + text').attr('font-size', '12');
 | 
			
		||||
    $('#main a > ellipse + text + text + text, #main a > ellipse + text + text + text + text').attr('font-size', '10');
 | 
			
		||||
  } catch(e) {
 | 
			
		||||
    (res = res.split("\n")).forEach(function(v, i, a) {
 | 
			
		||||
      a[i] = ("000"+(i+1)).slice(-3)+": "+v;
 | 
			
		||||
@@ -362,8 +362,11 @@ function stats(data) {
 | 
			
		||||
  lines.forEach(function(line) {
 | 
			
		||||
    if (!line) return;
 | 
			
		||||
    elements = line.split(/ +/);
 | 
			
		||||
    $('#main text + text:contains("'+elements[0]+'") + text')
 | 
			
		||||
    $('#main text + text:contains("'+elements[0]+'") + text + text')
 | 
			
		||||
      .html('cpu: '+elements[1]+' mem: '+elements[7]);
 | 
			
		||||
    $('#main text + text:contains("'+elements[0]+'") + text')
 | 
			
		||||
      .html('net: '+elements[8]+elements[9]+' '+elements[11]+elements[12]
 | 
			
		||||
           +' block: '+elements[13]+elements[14]+' '+elements[16]+elements[17]);
 | 
			
		||||
  });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user