-
Notifications
You must be signed in to change notification settings - Fork 129
/
image.html
51 lines (50 loc) · 1.28 KB
/
image.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
<!DOCTYPE html><html lang="en"><head><script type="text/javascript">var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38205696-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script><title>Polyvia</title><style type="text/css" rel="stylesheet">* {
margin: 0;
padding: 0;
}
html {
width: 100%;
height: 100%;
overflow: hidden;
}
#source-img, #img-path {
display: none;
}
.msg {
background-color: #22C3AA;
color: #333;
padding: 3px 8px;
position: absolute;
left: 10px;
bottom: 10px;
}
#info {
position: absolute;
right: 0;
top: 0;
padding: 10px 20px;
z-index: 10;
text-align: right;
}
h1 {
margin: 0.5rem 0;
font-weight: bold;
}
h3 {
margin-bottom: 2rem;
}
p {
margin: 0.75rem 0;
}
a {
color: #157a6b;
}
</style></head><body><canvas id="canvas"></canvas><input id="img-path" type="file"><script type="text/javascript" src="build/lib.js"></script><script type="text/javascript" src="build/image.js"></script></body></html>