From 73b995931b4024dd28806ca8b602ec04241be535 Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Fri, 18 Jul 2014 18:31:00 -0700 Subject: [PATCH] Added user login --- client/css/style.css | 4 ++- client/index.html | 17 ++++++----- client/js/chat.js | 62 ++++++++++++++++++++++++++--------------- config.js | 12 -------- config.json | 5 ++++ lib/client.js | 35 ++++++++++++++--------- lib/server.js | 56 +++++++++++++++++++++++++++++-------- users/example/user.json | 7 +++-- 8 files changed, 126 insertions(+), 72 deletions(-) delete mode 100644 config.js create mode 100644 config.json diff --git a/client/css/style.css b/client/css/style.css index de84bbcf..fadcc395 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -144,8 +144,10 @@ button { color: #7c838d; line-height: 1.6; font-size: 12px; + padding: 25px 40px 80px; text-align: center; - width: 140px; + position: absolute; + top: 0; } #sidebar .empty:before { content: "\f085"; diff --git a/client/index.html b/client/index.html index 41c7ad6f..9552f3cd 100644 --- a/client/index.html +++ b/client/index.html @@ -21,10 +21,9 @@