diff --git a/src/main.js b/src/main.js index 69f50d7..54d8bf3 100644 --- a/src/main.js +++ b/src/main.js @@ -20,6 +20,9 @@ io.on('connection', function(socket){ io.emit('status', {"users": users.length}); get_dirs(socket); + socket.on('log', function(msg){ + console.log('id: ' + this.id + ' LOG:' + msg); + }); socket.on('disconnect', function(){ console.log('id: ' + this.id + ' disconnected'); diff --git a/src/static/css/main.css b/src/static/css/main.css index c55cd71..93fdf52 100644 --- a/src/static/css/main.css +++ b/src/static/css/main.css @@ -25,7 +25,7 @@ body { text-align: right; } -#txt-duration { +.align-right { float: right; text-align: right; } diff --git a/src/static/index.html b/src/static/index.html index 3cf01ab..5c20261 100644 --- a/src/static/index.html +++ b/src/static/index.html @@ -21,15 +21,18 @@ - Slowdowner + SlowDowner