-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (47 loc) · 1.91 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>ChecklistApp</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-signin-client_id" content="448661438246-7o4vqiolchevrkggaa0068vbfh8i7p4p.apps.googleusercontent.com">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id ="google" class="container">
<h1>Checklist App</h1>
<p>This is a checklist app with user login by google Oauth2.</p>
<div class="g-signin2" data-onsuccess="onSignIn"></div>
</div><br><br>
<div class="data">
<div id="data" class="container">
<h3 class="alert alert-info">Profile Details</h3>
<img id="pic" class="img-circle" width="100" height="100"/>
<h3 class="alert alert-info">Email Address</h3>
<p id="email" class="alert alert-danger"></p>
<button onclick="signOut()" class="btn btn-danger">SignOut</button>
</div>
<br><br>
<div id="todo" class="container">
<div id="checklist" class="header">
<h2>My Daily CheckList</h2>
<input type="text" id="myInput" placeholder="Add a new CheckList">
<span onclick="newElement()" class="addBtn">Add</span>
</div>
<ul id="check">
<li>Get up early</li>
<li class="checked">Have breakfast</li>
<li>Go to office on time</li>
<li>Have lunch</li>
<li>Have Dinner</li>
<li>Go sleep early</li>
</ul>
</div>
</div>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="main.js"></script>
</body>
</html>