-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (54 loc) · 2.68 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="HCv4Cp3Hv1vPCabjnlNyr-2nYLG5qeoCgulOS8Qyy6A" />
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<title>GitToColab</title>
</head>
<h2 class="display-4 text-center py-5">GitToColab</h2>
<div style="padding-bottom:25px">
<h5 class="text-center">Create Colab URLs and Badges by just pasting the GitHub URL of you notebook.</h5>
</div>
<body>
<div class="container" style="padding-bottom:15px;">
<form>
<h6>Paste the github url of your notebook:</h6>
<input type="text" id="git_field" size="64" placeholder="Notebook GitHub URL">
<input type="button" id="to_colab" value="To Colab"/>
</form>
</div>
<div class="container">
<form>
<div style="padding-bottom:15px;">
<h6>Your Colab url:</h6>
<input type="text" id="url_field" size="64" placeholder="Press 'To Colab' button to get your URL">
<input type="button" id="copy_url" value="Copy URL"/>
</div>
<div style="padding-bottom:15px;">
<h6>Your Colab Badge:</h6>
<input type="text" id="badge_field" size="64" placeholder="Press 'To Colab' button to get your Colab Badge">
<input type="button" id="copy_badge" value="Copy Badge"/>
</div>
<div style="padding-bottom:15px;">
<h6>Your HTML Badge:</h6>
<textarea id="html_field" style="width:500px;height:100px;white-space:nowrap;"></textarea>
<input type="button" id="copy_html" value="Copy HTML"/>
</div>
</form>
</div>
<footer class="footer">
<div class="container">
<span class="text-muted">Author: <a href="https://github.com/MatheusCod">MatheusCod</a></span>
</div>
</footer>
<!-- JavaScript -->
<script type"text/javascript" src="main.js"></script>
<!-- Option 2: Separate Popper and Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous"></script>
</body>
</html>