-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (51 loc) · 1.46 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
<html>
<head>
<style>
img {
border: 1px solid black;background: url(loading.gif) 50% no-repeat;
}
button {padding: 10px; background: none; border: 2px solid black; border-radius: 7px;
cursor: pointer;
font-weight: bolder;
font-size: 18px;
width: 170px;
}
button:hover{
color: green;
border-color: yellowgreen;
}
.fade-in{transition: opacity 0.5s ease-in-out;}
.btn-container {display: inline-block;width:45%;}
</style>
<link href="mglass.css" rel="stylesheet" type="text/css" />
<script src="mglass2.js"></script>
</head>
<body>
<div id='container' style="text-align: center;">
<div id='title' style="margin:40px;"></div>
<small id='version' style="display:none;"></small>
<progress id="progress" value="-1"></progress>
<i id='load-txt'>Loading images...</i>
<div id="img-panel" style="display: inline-block;">
<img id="img-left" />
<img id='img-right'/>
</div>
<br/>
<div id="panel">
<div class="btn-container">
<button onclick="leftClick()">Left is better</button>
</div>
<div class="btn-container">
<button onclick="rightClick()">Right is better</button>
</div>
</div>
<table id='table'></table>
</div>
<script>
var w=(window.innerWidth / 2) - 50;
document.getElementById('img-left').width = w;
document.getElementById('img-right').width = w;
</script>
<script src="v2.js"></script>
</body>
</html>