-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (103 loc) · 3.43 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>G-Drive Image Link Creator</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div class="navbar">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="index.html"
>G-DRIVE LINK CREATOR</a
>
</li>
<li class="nav-item instructions">
<a class="nav-link" aria-current="page" href="#">HELP</a>
</li>
</ul>
</div>
<br />
<div class="full-body">
<label>Google Drive path</label>
<textarea
class="form-control mb-3"
id="gd-url"
placeholder="Enter your image Gdrive URL"
></textarea>
<button id="btn-convert" class="">
Make Google Drive Path Linkable
</button>
<div id="convert-result">
<label for="result">Linkable Image path</label>
<div class="input-group mb-3">
<input class="form-control" id="result" name="result" readonly />
<button
id="btn-save-result-cb"
class="btn btn-outline-success btn-sm"
data-clipboard-target="#result"
>
<span aria-hidden="true"></span>
<i class="fa-solid fa-copy"></i>
</button>
</div>
<label for="result-img-tag">Image Tag</label>
<div class="input-group mb-3">
<input
class="form-control"
id="result-img-tag"
name="result"
readonly
/>
<button
id="btn-save-result-img-tag-cb"
class="btn btn-outline-success btn-sm"
data-clipboard-target="#result-img-tag"
>
<span aria-hidden="true"></span>
<i class="fa-solid fa-copy"></i>
</button>
</div>
</div>
<br />
<br />
<h5 align="center">
<b>Preview image</b>
</h5>
<p align="center">
<img
id="preview"
alt="image preview"
src="https://i1.wp.com/www.rauldiego.es/wp-content/uploads/2018/09/Drive-1.jpg"
class="img-thumbnail"
style="max-width: 250px"
/><br />
</p>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.6.4.slim.min.js"
integrity="sha256-a2yjHM4jnF9f54xUQakjZGaqYs/V1CYvWpoqZzC2/Bw="
crossorigin="anonymous"
></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js"></script>
<script src="script.js"></script>
</body>
</html>