<html>
<head>
	<script src="/socket.io/socket.io.js"></script>
	<script src="http://code.jquery.com/jquery-latest.js"></script>
	<script>
		var socket = io.connect('http://127.0.0.1:9009');
		socket.on('agent-logs', function(data) {
			$("<div />").text(data).prependTo("#logs");
			var position = $("#logs").get(0).scrollHeight;
			$("#logs").animate({
				scrollTop : position
			}, 500);
		});
	</script>
	<style>
	body { 
		background-color: #1C1C1C;
		margin: 0;
	}
	#logs {
		height: 100%; 
		width: 95%; 
		font-family: "Lucida Console", Monaco, monospace; 
		color: #fff;
		font-size: 0.8em;
		padding: 5px; 
		margin: 0;
	}
	#logs div {
		padding: 2px;
	}
	</style>
	<title>IoT Kit Console</title>
</head>
<body>
	<div id='logs'></div>
</body>
</html>
<html>
<head>
	<script src="/socket.io/socket.io.js"></script>
	<script src="http://code.jquery.com/jquery-latest.js"></script>
	<script>
		var socket = io.connect();
		socket.on('agent-logs', function(data) {
			$("<div />").text(data).prependTo("#logs");
			var position = $("#logs").get(0).scrollHeight;
			$("#logs").animate({
				scrollTop : position
			}, 500);
		});
	</script>
	<style>
	body { 
		background-color: #1C1C1C;
		margin: 0;
	}
	#logs {
		height: 100%; 
		width: 95%; 
		font-family: "Lucida Console", Monaco, monospace; 
		color: #fff;
		font-size: 0.8em;
		padding: 5px; 
		margin: 0;
	}
	#logs div {
		padding: 2px;
	}
	</style>
	<title>IoT Kit Console</title>
</head>
<body>
	<div id='logs'></div>
</body>
</html>
Allow console to be used remotely (not just localhost)
Allow console to be used remotely (not just localhost)
