-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewer.html
30 lines (29 loc) · 1.16 KB
/
viewer.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Viewer</title>
<link rel="stylesheet" href="css/viewer.css">
</head>
<body>
<script src="js/util.js"></script>
<script src="js/viewer-src-browser.js"></script>
<script>
var index = 0;
var images = load_images((data)=>{
images = data;
set_image(index);
});
console.log('images: ', images);
</script>
<div id="parent">
<div class="c arrow-container"><button class="arrow-btn" onclick="prev_image()"><img class="arrow" src="images/left_arrow.png" alt=""></button></div>
<div class="c image"><img id="image" src="" alt=""></div>
<div class="c arrow-container"><button class="arrow-btn" onclick="next_image()"><img class="arrow" src="images/right_arrow.png" alt=""></button></div>
</div>
<div id="feedback"><button id="feedback-btn" onclick="report()">Tell us if there no washover in the image</button></div>
<!-- <script>next_image()</script> -->
<!-- <script src="/js/src/viewer.js"></script> -->
</body>
</html>