-
Notifications
You must be signed in to change notification settings - Fork 1
/
samerSidebar.html
194 lines (179 loc) · 7.55 KB
/
samerSidebar.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html>
<head>
<base target="_top">
<link href="https://ssl.gstatic.com/docs/script/css/add-ons.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fredoka&family=Roboto:wght@300;400&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="https://kit.fontawesome.com/ee335db31e.js" crossorigin="anonymous"></script>
<?!= include('styles.css.html'); ?>
<?!= include('lex.pos.lm.js'); ?>
<?!= include('levels.js'); ?>
<?!= include('dictiotable.js'); ?>
<?!= include('dictioprefix.js'); ?>
<?!= include('dictiosuffix.js'); ?>
<?!= include('dictiostem.js'); ?>
<?!= include('lex.pos.eng.gloss'); ?>
<?!= include('hypernym_lemmas.js.html'); ?>
<?!= include('synonym_lemmas.js.html'); ?>
<?!= include('opposite_lemmas.js.html'); ?>
<?!= include('almor.js'); ?>
<?!= include('lexscript.js'); ?>
<?!= include('eventHandlers.js.html'); ?>
</head>
<body onbeforeunload="return clearDocument()">
<div class="sidebar">
<div id="header">
<h2 class="section-title">Analyze Readability</h2>
<div id="button-bar">
<button class="outlined" id="doc-analysis-button">Doc Level</button>
<button class="outlined" id="word-analysis-button">Word Level</button>
<button class="filled" id="clear">Clear</button>
</div>
<hr>
<div id="encoding_buttons">
<h2 class="section-title">Modify Markup</h2>
<div class="col">
<div class='text-button' id="show-encoding-button">Show</div>
<!-- <div class='text-button' id="minimize-encoding-button">Minimize</div> -->
</div>
<div class="col">
<div class='text-button' id="hide-encoding-button">Hide</div>
<!-- <div class='text-button' id="clear-encoding-button">Delete</div> -->
</div>
</div>
</div>
<div id="error" class="message"></div>
<div id="success" class="message"></div>
<div id="warning" class="message"></div>
<hr>
<div class="doc-level-analysis">
<div class="inner-header">
<h3 class="title">Doc Level Analysis</h3>
<!-- <div id="doc-level-toggle" class="text-button toggle">Hide</div> -->
<div id="doc-level-toggle" class="toggle"><i class="fas fa-minus"></i></div>
</div>
<div id="doc-level-inner">
<div id="doc-level-token">
<div class="wrapper">
<div class="first">
<label> </label><br/>
<label><b>Names</b></label><br/>
<label><b>Level 1</b></label><br/>
<label><b>Level 2</b></label><br/>
<label><b>Level 3</b></label><br/>
<label><b>Level 4</b></label><br/>
<label><b>Level 5</b></label><br/>
<label><b>Unknown</b></label><br/>
</div>
<div class="second">
<label class="smaller"> Current Doc %</label><br/>
<div class="chart">
<div class="l0 " style="width: 0px;"></div>
<div class="l1 " style="width: 0px;"></div>
<div class="l2 " style="width: 0px;"></div>
<div class="l3 " style="width: 0px;"></div>
<div class="l4 " style="width: 0px;"></div>
<div class="l5 " style="width: 0px;"></div>
<div class="l6 " style="width: 0px;"></div>
</div>
</div>
</div>
<div class="cache"></div>
<div class="score"></div>
<div class="infoAbove"></div>
<div class="infoAt"></div>
<div class="infoBelow"></div>
</div>
<div id="doc-level-type">
<div class="wrapper">
<div class="first">
<label> </label><br/>
<label><b>Names</b></label><br/>
<label><b>Level 1</b></label><br/>
<label><b>Level 2</b></label><br/>
<label><b>Level 3</b></label><br/>
<label><b>Level 4</b></label><br/>
<label><b>Level 5</b></label><br/>
<label><b>Unknown</b></label><br/>
</div>
<div class="second">
<label class="smaller"> Current Doc %</label><br/>
<div class="chart">
<div class="l0 " style="width: 0px;"></div>
<div class="l1 " style="width: 0px;"></div>
<div class="l2 " style="width: 0px;"></div>
<div class="l3 " style="width: 0px;"></div>
<div class="l4 " style="width: 0px;"></div>
<div class="l5 " style="width: 0px;"></div>
<div class="l6 " style="width: 0px;"></div>
</div>
</div>
</div>
<div class="cache"></div>
<div class="score"></div>
<div class="infoAbove"></div>
<div class="infoAt"></div>
<div class="infoBelow"></div>
</div>
<div class="btn-group">
<button id="token" class="grey selected">By Token</button>
<button id="type" class="grey">By Type</button>
</div>
</div>
<hr>
</div>
<div class="word-level-analysis">
<div class="inner-header">
<h3 class="title">Word Level Analysis</h3>
<div id="word-level-toggle" class="toggle"><i class="fas fa-minus"></i></div>
</div>
<div class="moreSol">
<div class="level-0 level-div">
<h3 class="level-text">Name</h3>
<button class="useSol"> Assign </button>
<button class="replaceAll"> Assign all </button>
<div class="level-0 level-options"> </div>
</div>
<hr>
<div class="level-1 level-div">
<h3 class="level-text"> Level 1 </h3>
<button class="useSol"> Assign </button>
<button class="replaceAll"> Assign all </button>
<div class="level-1 level-options"> </div>
</div>
<hr>
<div class="level-2 level-div">
<h3 class="level-text"> Level 2 </h3>
<button class="useSol"> Assign </button>
<button class="replaceAll"> Assign all </button>
<div class="level-2 level-options"> </div>
</div>
<hr>
<div class="level-3 level-div">
<h3 class="level-text"> Level 3 </h3>
<button class="useSol"> Assign </button>
<button class="replaceAll"> Assign all </button>
<div class="level-3 level-options"> </div>
</div>
<hr>
<div class="level-4 level-div">
<h3 class="level-text"> Level 4 </h3>
<button class="useSol"> Assign </button>
<button class="replaceAll"> Assign all </button>
<div class="level-4 level-options"> </div>
</div>
<hr>
<div class="level-5 level-div">
<h3 class="level-text"> Level 5 </h3>
<button class="useSol"> Assign </button>
<button class="replaceAll"> Assign all </button>
<div class="level-5 level-options"> </div>
</div>
</div>
</div>
</div>
</body>
</html>