From b50fa72fc286a2302d90e137b738911cae9aebf0 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 6 Nov 2013 19:01:08 +0100 Subject: ship README: untypo --- ship/README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ship/README.markdown b/ship/README.markdown index 9686d099..a84f542c 100644 --- a/ship/README.markdown +++ b/ship/README.markdown @@ -7,7 +7,7 @@ BUILD_PATH=libs ./build compile INPUTFILE OUTPUTFILE - If this doesen make science to you, then prepend `debug=true` to get all + If this doesn't make science to you, then prepend `debug=true` to get all the intermediate files printed to stdout. ## Make Interface -- cgit v1.2.3 From 79ce309b9ec09a76506db28e8f1eb9a942bd2429 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 6 Nov 2013 19:03:30 +0100 Subject: webchat: renamed name to origin --- webchat/hello_web.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webchat/hello_web.js b/webchat/hello_web.js index 6f658901..45f6fc56 100644 --- a/webchat/hello_web.js +++ b/webchat/hello_web.js @@ -49,8 +49,8 @@ var echo = sockjs.createServer(); echo.on('connection', function(conn) { var origin = '['+conn.remoteAddress+':'+conn.remotePort+']'; Clients.push(conn); - irc_client.say("#krebs", name + ' has joined'); Clients.broadcast({from: 'system', message: origin + ' has joined'}) + irc_client.say("#krebs", origin + ' has joined'); conn.write(JSON.stringify({from: 'system', message: 'hello'})) conn.on('data', function(data) { console.log('data:',data); @@ -73,8 +73,8 @@ echo.on('connection', function(conn) { }); conn.on('close', function() { Clients.splice(Clients.indexOf(conn)); - irc_client.say("#krebs", name + ' has quit'); Clients.broadcast({from: 'system', message: origin + ' has quit'}) + irc_client.say("#krebs", origin + ' has quit'); }); }); -- cgit v1.2.3 From bbab9d41b9574d65506d4b6cf73371e52b6026e9 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 6 Nov 2013 19:04:07 +0100 Subject: webchat: better style --- webchat/public/reset.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/webchat/public/reset.css b/webchat/public/reset.css index 46b52478..17e10567 100644 --- a/webchat/public/reset.css +++ b/webchat/public/reset.css @@ -47,16 +47,17 @@ q:before, q:after { #chatbox { border-collapse: collapse; border-spacing: 0; - border: solid 2px black; - background-color: white; - color: black; + background-color: black; + color: white; } .chat_from { + color:grey; font-weight: bold; text-align: right; } .chat_from:after { content: ":"; + padding-right: 6px; } #bg { background-image: url(krebs.png); @@ -66,3 +67,6 @@ q:before, q:after { left: 0; right: 0; } +a { + color: red; +} -- cgit v1.2.3