-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (128 loc) · 5.39 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html>
<head>
<style>
</style>
<link href="css/styles.css" rel="stylesheet">
<link href="css/highlight.css" rel="stylesheet">
</head>
<body>
<div id="splash">
<div id="splashBg"></div>
<img id="splashIcon" src="images/Tag.gif" />
</div>
<div id="leftContainer" class="container">
<div id="logoContainer">
<img id="logo" src="images/Tag1.png" alt="" />
</div>
<div id="searchContainer">
<input id="searchEntry" type="search" placeholder="Search">
<button id="textType" class="searchButton" value="text">
<div>txt</div>
</button>
<button id="searchSend" class="searchButton" value="add">
<div>add</div>
</button>
<button id="searchToggle" class="searchButton">
<div>></div>
</button>
<button id="regexFlags" class="searchButton"><img id="flagIcon" src="images/flagWhite.png"></button>
<form id="flags">
<label class="flagOption hoverWhite"><input type="checkbox" name="flag" value="i"><span></span>
(i)
Case-insensitive </label>
<label class="flagOption hoverWhite"><input type="checkbox" name="flag" value="m"><span></span>
(m) Multiline
mode</label>
<label class="flagOption hoverWhite"><input type="checkbox" name="flag" value="s"><span></span>
(s) Dotall
Mode </label>
<label class="flagOption hoverWhite"><input type="checkbox" name="flag" value="u"><span></span>
(u) Unicode
Support </label>
<label class="flagOption hoverWhite"><input type="checkbox" name="flag" value="y"><span></span>
(y) Sticky
Mode </label>
</form>
</div>
<h1>Labels
<div id="add-label" class="addBtn">+</div>
</h1>
<hr>
<div id="label-list" class="listWrapper">
</div>
<h1>Documents
<div id="add-document" class="addBtn">+</div>
</h1>
<hr>
<div id="doc-list" class="listWrapper">
</div>
<div id="bButtonContainer">
<button id="downloadBtn" class="bButton">Export</button>
<button id="trainBtn" class="bButton">Train</button>
<button id="annotateBtn" class="bButton">Annotate</button>
</div>
<div id="dlContainer" class="btnGrpContainer">
<button id="dlZip" class="dlButton">Export All JSONs (.zip)</button>
<button id="dlJson" class="dlButton">Export This JSON</button>
</div>
<div id="trainContainer" class="btnGrpContainer">
<button id="modelPath" class="trainButton"></button>
<button id="trainAll" class="trainButton">Train on All Documents</button>
<button id="trainThis" class="trainButton">Train on This Document</button>
<button id="loadNew" class="trainButton">Load Existing Model</button>
</div>
<div id="annotateContainer" class="btnGrpContainer">
<button id="annAll" class="annButton">Annotate All Documents</button>
<button id="annThis" class="annButton">Annotate This Document</button>
</div>
</div>
<div id="center" class="container"></div>
<div id="centerContainer" class="container">
<div id="content" class="container">
<div id="highlightArea" class="hwt-container">
<textarea id="doc-view" class="hwt-content hwt-input" readonly="true"></textarea>
</div>
</div>
</div>
<div id="rightContainer" class="container">
<img id='rightArrow' src='images/arrowDownWhite.png'>
<h1>Annotations</h1>
<hr>
<div id="recentArea">
<h2>Most Recent Highlight</h2>
<ul class="anno-group">
<li id="recent" class="annotation hoverWhite"></li>
</ul>
<hr>
</div>
<div id='anno-list'></div>
<div id=consoleContainer>
<ul id='console'></ul>
<img id='consoleArrow' src='images/arrowDownWhite.png' class="upsideDown">
</div>
</div>
<!-- No display -->
<ul id="delete-menu"></ul>
<input id="colorChangePicker" class="noDisplay" type="color" />
<input id="fileInputControl" class="noDisplay" type="file" accept="text/plain,.json, .zip" multiple />
<a id="download_link" class="noDisplay" download="annotations.json" href=””></a>
<!-- Scripts -->
<script>const $ = require('jquery');</script>
<script src="js/classes/annotation.js"></script>
<script src="js/classes/category.js"></script>
<script src="js/classes/doc.js"></script>
<script src="js/classes/tagmodel.js"></script>
<script src="js/modules/jszip.min.js"></script>
<script src="js/modules/FileSaver.js"></script>
<script src="js/app.js"></script>
<script src="js/leftPanel.js"></script>
<script src="js/rightPanel.js"></script>
<script src="js/search.js"></script>
<script src="js/backend.js"></script>
<script src="js/splash.js"></script>
<script src="./renderer.js"></script>
<script src="js/menubar.js"></script>
<script src="js/disable.js"></script>
</body>
</html>