From 19f4c7b95bf32d0cf581274d947bdc9120c2e8f2 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 8 Jul 2016 10:45:38 +0530 Subject: oauth implemented User can login via google and facebook. If user logs in from google and then later the same user logs in from facebook, then he will be considered as the same user if the email registered on facebook is of gmail. User profile will be created when user logs in via facebook or google. In yaksh pipeline, user.py is used to create profile. Pipeline settings is defined that defines the functions to be executed during oauth. Used bootstrap social and Font Awesome for UI design --- yaksh/templates/yaksh/login.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/login.html b/yaksh/templates/yaksh/login.html index dfeac1e..63e6919 100644 --- a/yaksh/templates/yaksh/login.html +++ b/yaksh/templates/yaksh/login.html @@ -4,7 +4,9 @@ {% block pagetitle %} Online Test {% endblock %} {% block formtitle %}Login{% endblock %} {% block css %} + + {% endblock %} {% block content %} @@ -17,6 +19,13 @@
    

Forgot Password?

New User? Sign-Up
+

Login with

+ + + + + + {% endblock content %} -- cgit From 7b61ac1c1c8c43b07afe90682f809013be857777 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Fri, 8 Jul 2016 11:30:03 +0530 Subject: next query string not required --- yaksh/templates/yaksh/login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/login.html b/yaksh/templates/yaksh/login.html index 63e6919..0a78c1b 100644 --- a/yaksh/templates/yaksh/login.html +++ b/yaksh/templates/yaksh/login.html @@ -20,10 +20,10 @@
Forgot Password?

New User? Sign-Up

Login with

- + - + -- cgit