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,