Skip to content
View reportbase's full-sized avatar

Block or report reportbase

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
reportbase/readme.readme
  
<!DOCTYPE html>
<html>
<head>
  <meta name="google-signin-client_id" content="676848032016-7rdfc1a1gse8olfh399kfqtahqvu5ci5.apps.googleusercontent.com">
  <script src="https://apis.google.com/js/platform.js" async defer></script>
</head>

<body>

  <div id="g-signin2"></div>

  <p id="error" style="color: red; display: none;">Error message</p>

  <script>
    function onSignIn(googleUser) {
      // Show profile info
      let profile = googleUser.getBasicProfile();
      console.log('ID: ' + profile.getId());
    }

    function onFailure(error) {
      // Show error message
      document.getElementById('error').style.display = 'block';
      document.getElementById('error').innerText = error.error;
    }

    function renderButton() {
      gapi.signin2.render('g-signin2', {
        'scope': 'profile email',
        'width': 240,
        'height': 50,
        'longtitle': true,
        'theme': 'dark',
        'onsuccess': onSignIn,
        'onfailure': onFailure 
      });
    }
  </script>

</body>
</html>

Popular repositories Loading

  1. ipfs-view ipfs-view Public

    Forked from repbaprotonme/repba

    JavaScript 1 1

  2. zip-view zip-view Public

    JavaScript

  3. reportbase reportbase Public

    HTML