-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathOnePact.html
73 lines (43 loc) · 2.27 KB
/
OnePact.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<h1>ONE Page</h1>
<head>
<!-- below is the mlab api key reference -->
<script src="https://api.mlab.com/api/1/databases/my-db/collections/User_Login?apiKey=lbx3SvV71pqmjIKix0ZO8BNh0IK7vHc_"></script>
<!-- below is the bootstrap max CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap
/3.3.7/css/bootstrap.min.css">
<!-- call to the google api with the OnePact client ID-->
<meta name="google-signin-client_id" content="18895588643-k3qqihtp5c6hfaeefvv6lm751ll0sq1k.apps.googleusercontent.com">
<!-- google platform library loaded-->
<script src="https://apis.google.com/js/platform.js" async defer></script>
<!--below is the jquery google CDN-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
</head>
<style>
.g-signin2{
margin-left: 300px;
margin-top: 100px;
}
.data{
display:none;
}
</style>
<body>
<div class="g-signin2" data-onsuccess="onSignIn"></div>
<div class="data">
<p>Profile Details</p>
<!-- class img-circle is a BootStrap class-->
<img id="pic" class="img-circle" width="100px" height="100px"/>
<p>Your Email Address</p>
<!-- alert alert-danger is also a BootStrap Class -->
<p id="email" class = "alert alert-danger "></p>
<p>This is my ID</p>
<p id="ID" class = "alert alert-danger"></p>
<button onclick = "signOut()" class = "btn btn-danger">Log Off</button>
<a href="OnePact2.html"><button>Next Page</button></a>
</div>
</body>
</html>
<!-- JavaScript files here -->