-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGoogleDriveAPI.html
More file actions
53 lines (42 loc) · 1.72 KB
/
GoogleDriveAPI.html
File metadata and controls
53 lines (42 loc) · 1.72 KB
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
<html>
<!-- link -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="Css/GoogleDriveAPI.css">
<link rel="stylesheet" type="text/css" media="screen" href="Css/upload.css" />
<!-- script -->
<script src="https://apis.google.com/js/api.js"></script>
<script type ="text/javascript" src = "JS/GoogleDriveAPI.js" ></script>
<script src="Script/jquery.js"></script>
<script src="JS/upload.js"></script>
<!-- meta --> <!-- content="YOUR_CLIENT_ID"-->
<meta name="google-signin-scope" content="profile email">
<meta name="google-signin-client_id" content="86585982831-9f7am38m3pqpqvm5vg0tf0l3jemstksp.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
<style>
.g-signin2{
margin-top: 50px;
}
</style>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="mx-auto" style="width: 300px;">
Interaction with Google Drive
</div>
</nav>
<div>
<input id="files" type="file" name="files[]" multiple/>
<button id="upload">Upload</button>
<div id="progress-wrp">
<div class="progress-bar"></div>
<div class="status">0%</div>
</div>
</div>
<div id="result">
</div>
<div class="col-2">
<div class="g-signin2" data-onsuccess="onSignIn" data-theme="dark"></div>
<a href="#" onclick="signOut();">Sign out</a>
<!-- <button onclick="authenticate()" style="background-color: #bdc3c7">Load Calendar's informations</button> -->
</div>
</body>
</html>