From f01036194764a77fbd057b95d2edf1c853f6118f Mon Sep 17 00:00:00 2001 From: "Alex M. Sielicki" Date: Thu, 14 Jan 2016 00:51:50 +0000 Subject: [PATCH] Adding error message to login page. Closes #548 --- web-server/slycat-login/css/styles.css | 3 +++ web-server/slycat-login/js/app.js | 1 + web-server/slycat-login/slycat-login.html | 1 + 3 files changed, 5 insertions(+) diff --git a/web-server/slycat-login/css/styles.css b/web-server/slycat-login/css/styles.css index ee806b632..f893d44ea 100644 --- a/web-server/slycat-login/css/styles.css +++ b/web-server/slycat-login/css/styles.css @@ -35,4 +35,7 @@ body { margin-bottom: 20px; border-top-left-radius: 0; border-top-right-radius: 0; +} +#signin-alert { + display: none; } \ No newline at end of file diff --git a/web-server/slycat-login/js/app.js b/web-server/slycat-login/js/app.js index 18f93cfbb..51a7fd557 100644 --- a/web-server/slycat-login/js/app.js +++ b/web-server/slycat-login/js/app.js @@ -27,6 +27,7 @@ require(["jquery", "URI"], function($, URI) error: function(request, status, reason_phrase) { console.log("error request:" + request.responseJSON +" status: "+ status + " reason: " + reason_phrase); + $("#signin-alert").show(200); }, data: sendInfo }); diff --git a/web-server/slycat-login/slycat-login.html b/web-server/slycat-login/slycat-login.html index a83d51500..314d349e8 100644 --- a/web-server/slycat-login/slycat-login.html +++ b/web-server/slycat-login/slycat-login.html @@ -12,6 +12,7 @@