-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (76 loc) · 3.28 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
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<title>Image Gallery</title>
<!-- Add any additional head content here -->
</head>
<body>
<h1>Capture24 Labelling Hub</h1>
<!--select individuals-->
<div class="main-container">
<!-- Left column for existing controls -->
<div class="column">
<div id="indvidual-controls">
<label for="individual-selector">Select Individual:</label>
<select id="individual-selector">
</select>
</div>
<!--slider to contorl image size-->
<div id="slider-container">
<label for="img-size-slider">Adjust Image Size:</label>
<input type="range" id="img-size-slider" min="50" max="450" value="230">
</div>
<!--progress bar to show image loaded-->
<div id="progress-controls">
<label>Downloading images:</label>
<progress id="progress-bar" value="32" max="100"></progress>
</div>
</div>
<div class="column">
<!--input field for quick annotation-->
<div id="quick-annotation">
<form id="quick-annotation-form">
<label for="label-input">Quick Annotation:</label>
<input type="text" id="label-input">
<input type="submit" value="Submit" id="label-input-submit">
</form>
</div>
<!--drop down select menu for annotation selection-->
<div id="label-controls">
<label for="label-selector">Select Label:</label>
<select id="label-selector">
<option value="a">active not eating</option>
<option value="ae">active eating</option>
<option value="ame">active maybe eating</option>
<option value="s">sedantry not eating</option>
<option value="se">sedantry eating</option>
<option value="sme">sedantry maybe eating</option>
<option value="na">uncallable</option>
<!-- Add more options as needed -->
</select>
<button id="assign-label">Assign Label</button>
</div>
</div>
<!-- Right column for upload and download controls -->
<div class="column">
<!-- button to load saved labels-->
<div id="upload-controls">
<label for="upload-file-input">Load Labelling progress:</label>
<input type="file" id="upload-file-input" accept=".json">
<button id="load-button">Load File</button>
</div>
<!-- button to save labels -->
<div id="download-controls">
<button id="download-labels">Downlaod Labelled results</button>
</div>
</div>
</div>
<!--slider for image selection-->
<div id="gallery" class="slider-container">
<!-- Images will be loaded here -->
</div>
<script src="script.js"></script><!-- Link to your JavaScript file -->
</body>
</html>