From c6d99ee8bb6b099028b91b3bce6b9915fff6261b Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Thu, 20 Jun 2019 11:35:51 -0400 Subject: [PATCH] google sign-in and css fixes --- punch_list/eventManage.js | 9 +++++++++ punch_list/index.html | 10 ++++++++-- punch_list/metadata.js | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) 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 @@ + + +
+
+
-
+
@@ -56,7 +62,7 @@
-
+
In Progress
diff --git a/punch_list/metadata.js b/punch_list/metadata.js index 68e50d7..7e4699d 100644 --- a/punch_list/metadata.js +++ b/punch_list/metadata.js @@ -1,4 +1,4 @@ -var version = "0.4.003", +var version = "0.4.012", debug = false, jsonUrl = "https://api.myjson.com/bins/1dodsj", showDone = false,