diff --git a/punch_list/eventManage.js b/punch_list/eventManage.js index 1acadd6..c4aa646 100644 --- a/punch_list/eventManage.js +++ b/punch_list/eventManage.js @@ -403,3 +403,12 @@ function genUid() { '-' + chr4() + chr4() + chr4(); } +//google stuff +function onSignIn(googleUser) { + var profile = googleUser.getBasicProfile(); + console.log('ID: ' + profile.getId()); // Do not send to your backend! Use an ID token instead. + console.log('Name: ' + profile.getName()); + console.log('Image URL: ' + profile.getImageUrl()); + console.log('Email: ' + profile.getEmail()); // This is null if the 'email' scope is not present. +} + diff --git a/punch_list/index.html b/punch_list/index.html index 6552194..dd61ba1 100644 --- a/punch_list/index.html +++ b/punch_list/index.html @@ -14,6 +14,7 @@ + @@ -21,11 +22,16 @@ + +
+