summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMarko Pušnik <marko.pusnik@guru.si>2015-09-29 16:06:11 +0200
committerMarko Pušnik <marko.pusnik@guru.si>2015-09-29 16:06:11 +0200
commit91f3b77d4743731b6f0b2f282a592752565d7d74 (patch)
tree91cf098a1495b409ace434e179422f7aa1d87078 /js
parent22cb497f9ed19548e30a4c86dd99aaa91fd4b344 (diff)
made login as modal with arnesaai button + modals beautified;
Diffstat (limited to 'js')
-rw-r--r--js/codeq/login.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/codeq/login.js b/js/codeq/login.js
index f590acb..248e8c3 100644
--- a/js/codeq/login.js
+++ b/js/codeq/login.js
@@ -28,8 +28,9 @@
};
codeq.globalStateMachine.register('login',{
'enter': function(){
+ $('#signed-in-title').html('');
$("#submit").on('click', loginFun);
- //$('#modalLogin').modal();
+ $('#modalLogIn').modal();
$("#screen_login").css('display', '');
$('#disabled').css('display', 'none');
@@ -37,6 +38,7 @@
'exit' : function(){
$("#submit").off('click', loginFun);
$("#screen_login").css('display', 'none');
+ $('#signed-in-title').html('Signed in as '+$('#username').val());
$("#password").val('');
}
});