-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
82 lines (77 loc) · 3.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image Occlusion</title>
<link rel="stylesheet" href="style.css?v=1.6">
<link rel="stylesheet" href="animate.css-main/animate.min.css" />
</head>
<body>
<div id="main_container">
<div id="app">
<h1>Image Occlusion</h1>
<p id="description">Image Occlusion is a learning tool where students can interactively guess and learn by
drawing over images. Upload an image, draw "FlashCards" and enhance your learning experience.</p>
<label for="image_upload" class="upload-button" title="upload new image">Upload Image</label>
<input type="file" id="image_upload" accept="image/*">
<button title="redraw saved image" id="redraw_previous_image">Redraw Saved Image</button>
<p id="image_hidden_P_tag_for_saving_src"></p>
<div id="saved_drawing_screen_shot" title="redraw saved image"></div>
</div>
<div id="occlusion_canvas_container">
<div id="navbar_buttons">
<button title="create" id="create">
<div></div>
</button>
<button title="preview" id="preview">
<div></div>
</button>
</div>
<button title="save" id="save">Save</button>
<span id="close_button" title="quit">Exit</span>
<canvas id="occlusion_canvas" class="animate_animated animate_zoomIn"></canvas>
<div id="modal">
<div class="switch-container">
<h2 id="card_label"></h2>
<span class="enabled-text">Ignore</span>
<label class="switch">
<input type="checkbox" id="enableCheckbox">
<span class="slider"></span>
</label>
<button title="close" id="close_modal_btn"> x </button>
</div>
<label for="frontLabel">Question</label>
<input type="text" autocomplete="off" id="frontLabel">
<br>
<label for="backLabel">Answer</label>
<input type="text" autocomplete="off" id="backLabel">
<br>
<button title="add lables to card" id="addValueButton" class="modal-button-value">Add</button>
<button id="deletelabelButton" class="modal-button-value" title="delete card"> Delete <div></div>
</button>
</div>
<h2 id="guess_me" class="animate_animated animate_rotateIn">Guess the Cards!</h2>
<button id="start_test">TEST ME</button>
<button id="end_test">END TEST</button>
<div id="test_modal" class="animate_animated animate_backInRight">
<div>
<label for="testBackLabel"> Your Answer </label>
<div id="label_result_container">
<label id="question_label_result_container"> Did you get it right? </label>
<label for="correct_answer"> Yes </label>
<input type="radio" name="answer" value="correct" id="correct_answer">
<label for="incorrect_answer"> No </label>
<input type="radio" name="answer" value="incorrect" id="incorrect_answer">
</div>
<button title="close" id="close_test_modal_btn"> x </button>
</div>
<input type="text" id="correctTestBackLabel" class="animate_animated animate__flash" readonly>
<input placeholder="Answer of the Card" type="text" autocomplete="off" id="testBackLabel">
<button id="show_answer">SHOW ANSWER</button>
</div>
</div>
</div>
<script src="imageOcclusion.js?v=1.6"></script>
</body>
</html>