pearmut 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pearmut/app.py +55 -25
- pearmut/assignment.py +312 -0
- pearmut/cli.py +37 -19
- pearmut/static/assets/style.css +168 -0
- pearmut/static/dashboard.bundle.js +1 -1
- pearmut/static/listwise.bundle.js +1 -0
- pearmut/static/listwise.html +77 -0
- pearmut/static/pointwise.bundle.js +1 -1
- pearmut/static/pointwise.html +1 -167
- pearmut/utils.py +55 -2
- {pearmut-0.1.1.dist-info → pearmut-0.1.3.dist-info}/METADATA +64 -13
- pearmut-0.1.3.dist-info/RECORD +19 -0
- pearmut/protocols.py +0 -122
- pearmut-0.1.1.dist-info/RECORD +0 -17
- {pearmut-0.1.1.dist-info → pearmut-0.1.3.dist-info}/WHEEL +0 -0
- {pearmut-0.1.1.dist-info → pearmut-0.1.3.dist-info}/entry_points.txt +0 -0
- {pearmut-0.1.1.dist-info → pearmut-0.1.3.dist-info}/licenses/LICENSE +0 -0
- {pearmut-0.1.1.dist-info → pearmut-0.1.3.dist-info}/top_level.txt +0 -0
pearmut/static/assets/style.css
CHANGED
|
@@ -57,4 +57,172 @@ label {
|
|
|
57
57
|
background: #fff;
|
|
58
58
|
padding: 15pt;
|
|
59
59
|
box-shadow: 0 4px 6px #0000001a
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* Shared annotation styles for pointwise and listwise */
|
|
63
|
+
|
|
64
|
+
.output_block {
|
|
65
|
+
margin-bottom: 30pt;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Character hover and highlighting */
|
|
69
|
+
.tgt_char:hover {
|
|
70
|
+
background-color: #ccc;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.src_char:hover {
|
|
75
|
+
background-color: #ccc;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.src_char.highlighted,
|
|
79
|
+
.tgt_char.highlighted {
|
|
80
|
+
background-color: #ccc;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.highlighted_active {
|
|
84
|
+
background-color: #aaf !important;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Error span colors */
|
|
88
|
+
.error_unknown {
|
|
89
|
+
background-color: #ddf;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.error_neutral {
|
|
93
|
+
background-color: #edd;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.error_minor {
|
|
97
|
+
background-color: #fcc;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.error_major {
|
|
101
|
+
background-color: #e88;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Span toolbox */
|
|
105
|
+
.span_toolbox {
|
|
106
|
+
background-color: white;
|
|
107
|
+
padding: 5px;
|
|
108
|
+
border-radius: 8px;
|
|
109
|
+
box-shadow: 0 4px 6px #0005;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.span_toolbox_parent {
|
|
113
|
+
position: absolute;
|
|
114
|
+
padding-left: 20px;
|
|
115
|
+
padding-right: 20px;
|
|
116
|
+
padding-top: 10px;
|
|
117
|
+
min-width: max-content;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Error severity buttons */
|
|
121
|
+
input[type="button"].error_neutral {
|
|
122
|
+
background-color: #ecc9 !important;
|
|
123
|
+
width: 100%;
|
|
124
|
+
text-align: center;
|
|
125
|
+
border-radius: 8px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
input[type="button"].error_neutral:hover {
|
|
129
|
+
background-color: #ecc !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
input[type="button"].error_minor {
|
|
133
|
+
background-color: #fcc !important;
|
|
134
|
+
width: 100%;
|
|
135
|
+
text-align: center;
|
|
136
|
+
border-radius: 8px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
input[type="button"].error_minor:hover {
|
|
140
|
+
background-color: #daa !important;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
input[type="button"].error_major {
|
|
144
|
+
background-color: #e88 !important;
|
|
145
|
+
width: 100%;
|
|
146
|
+
text-align: center;
|
|
147
|
+
border-radius: 8px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
input[type="button"].error_major:hover {
|
|
151
|
+
background-color: #c66 !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
input[type="button"].error_delete {
|
|
155
|
+
background-color: #ddd !important;
|
|
156
|
+
font-size: 10pt;
|
|
157
|
+
width: 100%;
|
|
158
|
+
text-align: center;
|
|
159
|
+
border-radius: 8px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
input[type="button"].error_delete:hover {
|
|
163
|
+
background-color: #ccc !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
#button_error_minor:hover,
|
|
167
|
+
#button_error_major:hover {
|
|
168
|
+
opacity: 0.8;
|
|
169
|
+
cursor: pointer;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Progress bar */
|
|
173
|
+
#progress span {
|
|
174
|
+
font-size: 0pt;
|
|
175
|
+
display: inline-block;
|
|
176
|
+
border-radius: 50%;
|
|
177
|
+
text-align: center;
|
|
178
|
+
line-height: 2em;
|
|
179
|
+
margin-left: 2px;
|
|
180
|
+
box-shadow: 0 1px 1px #0002;
|
|
181
|
+
width: 10px;
|
|
182
|
+
height: 10px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
#progress span:hover,
|
|
186
|
+
#progress span.progress_current,
|
|
187
|
+
#progress span.progress_incomplete:last-child {
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
user-select: none;
|
|
190
|
+
position: relative;
|
|
191
|
+
top: 7.5px;
|
|
192
|
+
width: 22px;
|
|
193
|
+
height: 22px;
|
|
194
|
+
font-size: 8pt;
|
|
195
|
+
margin-left: -5px;
|
|
196
|
+
margin-right: -5px;
|
|
197
|
+
box-shadow: 0 1px 3px #0002;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
#progress span:hover {
|
|
201
|
+
z-index: 100;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
#progress span.progress_complete {
|
|
205
|
+
color: white;
|
|
206
|
+
background: #3b5238;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
#progress span.progress_complete:hover {
|
|
210
|
+
background: #2e3e2b;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
#progress span.progress_current {
|
|
214
|
+
background: #91b08d;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
#progress span.progress_current:hover {
|
|
218
|
+
background: #739c6f;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
#progress span.progress_incomplete {
|
|
222
|
+
background: #bbb;
|
|
223
|
+
color: #555;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
#progress span.progress_incomplete:hover {
|
|
227
|
+
background: #aaa;
|
|
60
228
|
}
|