From a4227291adfe670e93e66ce97af3133bff7f266e Mon Sep 17 00:00:00 2001 From: Arvind Khadri Date: Mon, 24 Jun 2013 20:01:45 +0530 Subject: [PATCH] Adding a UI response for successive submit in the template/users.html --- templates/user.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/user.html b/templates/user.html index f1a5d9f..874d16f 100644 --- a/templates/user.html +++ b/templates/user.html @@ -53,6 +53,7 @@ key = {{ session.key| tojson| safe }} data = $('#password').val(); $.post({{ url_for('user')| tojson| safe }}, {'user':$("#user").val(), "key":data}, function(data){ /*TODO: In the UI flash a "check mark", to indicate success.*/ +$("button").addClass("btn-success"); console.log("Success"); }); -- 1.7.10.4