forked from HumanSignal/label-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (85 loc) · 3.56 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 lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css' />
<link href='//fonts.googleapis.com/css?family=Dosis:500&text=LabelStudio' rel='stylesheet' type='text/css' />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="stylesheet" href="%PUBLIC_URL%/styles/main.css">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Label Studio</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="header">
<a id="logo" href="/">
<img src="./images/ls_logo.png" alt="label studio logo">
<span style="font-size: 1.2em;">Label Studio</span>
</a>
<ul id="nav">
<li><a style="margin-right: 1em; text-decoration: underline;" href="https://labelstud.io/guide">Guide</a></li>
<li><a class="github-button" href="https://github.com/heartexlabs/label-studio"
data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star heartexlabs/label-studio on GitHub"><img src="./images/GitHub-Mark-64px.png" height="25" /></a></li>
</ul>
</div>
<div id="ls-container">
<div id="label-studio"></div>
</div>
<footer class="footer">Made by <a target="_blank" href="https://heartex.net">Heartex</a> in San Francisco
<br/><br/>
<img src="./images/3nowhite.svg" height="80" />
</footer>
<script>
(function (d, o) {
d.domReady = function (n, a) {
o.addEventListener && o.addEventListener("DOMContentLoaded", function e(t) {
o.removeEventListener("DOMContentLoaded", e), n.call(a || d, t)
}) || o.attachEvent && o.attachEvent("onreadystatechange", function e(t) {
"complete" === o.readyState && (o.detachEvent("onreadystatechange", e), n.call(a || d, t))
})
}
})(window, document);
</script>
<script>
domReady(function () {
var ls = new LabelStudio("label-studio", {
description: "Description",
interfaces: [
"controls",
"completions:menu",
"completions:add-new",
"completions:delete",
"predictions:menu",
"panel",
"side-column",
"update",
],
task: {
completions: [],
predictions: [],
id: 1,
data: {
image: "https://htx-misc.s3.amazonaws.com/opensource/label-studio/examples/images/nick-owuor-astro-nic-visuals-wDifg5xc9Z4-unsplash.jpg"
}
}
});
});
</script>
</body>
</html>