-
Notifications
You must be signed in to change notification settings - Fork 0
/
multi_class.html
95 lines (92 loc) · 4.32 KB
/
multi_class.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
94
95
<!DOCTYPE html>
<html>
<head>
<title>Speed Labeling</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://use.fontawesome.com/releases/v5.0.7/css/all.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/multi_class.css">
<link rel="stylesheet" type="text/css" href="./css/header.css">
<link rel="stylesheet" type="text/css" href="./css/footer.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Speed Labeling</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Methods
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="./index.html">Two Class</a>
<a class="dropdown-item" href="./multi_class.html">Multi Class</a>
<a class="dropdown-item" href="./lasso.html">Image Selection</a>
<a class="dropdown-item" href="./text.html">Text Class</a>
</div>
</li>
<li class="nav-item"><a class="nav-link" href="#">About</a></li>
<li class="nav-item"><a class="nav-link" href="#">Labels</a></li>
<li class="nav-item"><a class="nav-link" href="#">Contact</a></li>
</ul>
<span class="navbar-text"></span>
</div>
</nav>
<div class="container main">
<h5 class="title">Click the relevant tags or enter your own!</h5 class="title">
<div class="row">
<div class="col my-left-col">
<h3>Recommended</h3>
<div class="new-tag-group input-group mb-3">
<input type="text" class="form-control new-tag"
placeholder="Add a tag" onkeypress="onEnter(event)">
<div class="input-group-append">
<button onclick="onAdd()"
class="add-button btn btn-outline-secondary" type="button">
<i class="fa fa-plus"></i>
</button>
</div>
</div>
<div class="recommended"></div>
</div>
<div class="col col-6 tweet-wrapper">
<div class="card tag-text">
<div class="card-header">Text 1</div>
<div class="card-body">
<p id="text" class="card-text"></p>
<div class="download" style="display: none;">
<a class="download-btn btn btn-success">Download</a>
</div>
</div>
</div>
<button onclick="submit(docNum++, tagged)"
type="button"
class="submit-button btn btn-outline-success">
Save Selections
</button>
</div>
<div class="col my-right-col">
<h3>Selected</h3>
<div class="tagged"></div>
</div>
</div>
</div>
<button type="button" class="previous btn btn-light" onclick="previous()">Previous</button>
<button type="button" class="next btn btn-light" onclick="next()">Next</button>
<footer class="footer">
<div class="hotkey-bar container">
<span class="hotkey-tip"><b>Shift + Enter</b> : Save Selections</span>
<span class="hotkey-tip"><b>j</b> : Previous</span>
<span class="hotkey-tip"><b>k</b> : Next</span>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="./js/dataLoader.js"></script>
<script src="./js/multi_class.js"></script>
</body>
</html>