summaryrefslogtreecommitdiff
path: root/tbc/templates
diff options
context:
space:
mode:
authorhardythe12014-04-08 16:38:11 +0530
committerhardythe12014-04-08 16:38:11 +0530
commit1b88bd5296f5a748b574ae68549d874c6fa95c7b (patch)
tree1a045352d89843fd3bbae757845dd4d6e13618f1 /tbc/templates
parent1a70d7af3b7f0d70039204819402e800eac235db (diff)
downloadPython-TBC-Interface-1b88bd5296f5a748b574ae68549d874c6fa95c7b.tar.gz
Python-TBC-Interface-1b88bd5296f5a748b574ae68549d874c6fa95c7b.tar.bz2
Python-TBC-Interface-1b88bd5296f5a748b574ae68549d874c6fa95c7b.zip
updating to show the error messages for invalid credentials
Diffstat (limited to 'tbc/templates')
-rwxr-xr-x[-rw-r--r--]tbc/templates/tbc/login.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/tbc/templates/tbc/login.html b/tbc/templates/tbc/login.html
index 92ffb2a..b207511 100644..100755
--- a/tbc/templates/tbc/login.html
+++ b/tbc/templates/tbc/login.html
@@ -1,5 +1,24 @@
{% extends 'base.html' %}
{% block content %}
+
+{% if empty %}
+ <center>
+ <div class="alert" style="width:300px;height:23px;">
+ <a class="close" data-dismiss="alert" href="#">&times;</a>
+ <p>Username/Password cannot be empty !</p>
+ </div>
+ </center>
+{% endif %}
+
+{% if invalid %}
+ <center>
+ <div class="alert" style="width:230px;height:23px;">
+ <a class="close" data-dismiss="alert" href="#">&times;</a>
+ <p>You entered invalid credentials !</p>
+ </div>
+ </center>
+{% endif %}
+
{% if signup %}
<center>
<div class="alert" style="width:550px;height:23px;">