71 lines
2.8 KiB
HTML
71 lines
2.8 KiB
HTML
<!Doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Reflex</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="main.css">
|
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet">
|
|
|
|
<meta name="google-signin-client_id" content="1028038812776-ovsjf90n1m620svlfncolr3h00c0frdn.apps.googleusercontent.com">
|
|
<script src="https://apis.google.com/js/api.js"></script>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
<script src="https://apis.google.com/js/platform.js" async defer></script>
|
|
|
|
<!-- Optional theme -->
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
|
|
|
|
<!-- Latest compiled and minified JavaScript -->
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Rubik" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css?family=Patua+One" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css?family=Comfortaa" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css?family=Unica+One" rel="stylesheet">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Bree+Serif" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css?family=Contrail+One" rel="stylesheet">
|
|
<script type="text/javascript">
|
|
function onSignIn(googleUser) {
|
|
var profile = googleUser.getBasicProfile();
|
|
console.log('hi');
|
|
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.
|
|
window.location.href = "http://localhost:8000/dashboard.html";
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!--
|
|
<div class="input">
|
|
<p class="title">Reflex
|
|
<font color="yellow" class="title">Accomplishing goals in a better way</font>
|
|
</p>
|
|
|
|
<p class="inputs">Welcome to Relfex Fitness!
|
|
<br>
|
|
<button class="g-signin2" data-onsuccess="onSignIn" id="begin"></button>
|
|
<br>
|
|
</p>
|
|
</div>
|
|
<-->
|
|
<div class="input">
|
|
<p class="title">ReFleX</p>
|
|
<p class="subtitle">Compete With You</p>
|
|
<p class="inputs">
|
|
<br>
|
|
<button class="g-signin2" data-onsuccess="onSignIn" id="begin"></button>
|
|
<br>
|
|
</p>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="indexJs.js"></script>
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|