-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
67 lines (67 loc) · 1.35 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
min-width: 200px;
}
.website {
margin-top: 1em;
text-align: center;
}
.website a:hover,
.website a:focus {
text-decoration: none;
}
.url {
display: flex;
align-items: center;
}
.url input {
flex-grow: 1;
margin-left: 0.3em;
}
#form button {
margin-top: 0.2em;
width: 100%;
}
.logo {
text-align: center;
}
.logo img {
width: 64px;
height: 64px;
}
</style>
<script src="popup.js" defer></script>
</head>
<body>
<div class="logo">
<img src="icon/icon.svg" width="128" height="128" alt="Logo" />
</div>
<form id="form">
<label class="url">
Url:
<input
type="url"
placeholder="https://…"
required
title="Paste a GitHub, Bitbucket or GitLab file or gist URL here."
/>
</label>
<button type="submit" disabled>Open</button>
</form>
<div class="website">
About:
<a href="https://raw.githack.com" target="_blank" rel="noopener"
>raw.githack.com</a
>
</div>
</body>
</html>