From c484b83aca30c9072efeb1726d64f04b5408b736 Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Fri, 25 Jul 2014 04:36:09 -0700 Subject: [PATCH] Show authentication errors --- client/css/style.css | 4 ++++ client/index.html | 5 ++++- client/js/chat.js | 12 ++++++++++-- lib/server.js | 5 +++++ package.json | 2 +- 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index be024c8..fb8710c 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -541,6 +541,10 @@ button { #sign-in .btn { margin-top: 25px; } +#sign-in .error { + color: #e74c3c; + margin-top: 1em; +} #connect label { display: block; margin-top: 10px; diff --git a/client/index.html b/client/index.html index 90a8f80..eca0ae6 100644 --- a/client/index.html +++ b/client/index.html @@ -15,7 +15,7 @@ - "> + ">
@@ -57,6 +57,9 @@
+