-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
86 lines (61 loc) · 1.14 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Image Captioning Interface</title>
<link rel="stylesheet" type="text/css" href="./css/skeleton.css" />
<style>
body {
background-color: #EEE;
}
canvas {
position: absolute;
top: 0;
left: 0;
}
#site-container {
position: absolute;
top: 0;
left: 710px;
}
input, button, p {
display: block;
margin-top: 25px;
background-color: #FFF;
}
button {
width: 200px;
}
#img-count {
background-color: #EEE;
color: #D91E18;
padding: 5px;
}
input {
width: 500px;
}
#cap-container {
margin-top: 25px;
color: #333;
}
#cap-container p {
margin-top: 5px;
padding: 5px;
}
</style>
</head>
<body>
<div id="site-container">
<p id="img-count"></p>
<input id="text-input" type="text">
<button id="add-button">add caption</button>
<button id="next-button">next image</button>
<button id="prev-button">previous image</button>
<button id="download-button">download json</button>
<div id="cap-container"></div>
</div>
<script src="./js/jquery-3.2.1.min.js"></script>
<script src="./js/p5.min.js"></script>
<script src="./js/sketch.js"></script>
</body>
</html>