Skip to content

Commit

Permalink
Revert "update interface"
Browse files Browse the repository at this point in the history
This reverts commit 8667c25.
  • Loading branch information
lfoppiano committed Jan 6, 2025
1 parent f32f90e commit 8a22507
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
8 changes: 0 additions & 8 deletions grobid-service/src/main/resources/web/grobid/grobid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').hide();
$('#segmentSentencesBlock').hide();
$('#teiCoordinatesBlock').hide();
$('#flavorBlock').hide();
setBaseUrl('processHeaderDocument');
}
else if (selected == 'processFulltextDocument') {
Expand All @@ -1462,7 +1461,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').show();
$('#segmentSentencesBlock').show();
$('#teiCoordinatesBlock').show();
$('#flavorBlock').show();
setBaseUrl('processFulltextDocument');
}
else if (selected == 'processDate') {
Expand All @@ -1474,7 +1472,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').hide();
$('#segmentSentencesBlock').hide();
$('#teiCoordinatesBlock').hide();
$('#flavorBlock').hide();
setBaseUrl('processDate');
}
else if (selected == 'processHeaderNames') {
Expand All @@ -1486,7 +1483,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').hide();
$('#segmentSentencesBlock').hide();
$('#teiCoordinatesBlock').hide();
$('#flavorBlock').hide();
setBaseUrl('processHeaderNames');
}
else if (selected == 'processCitationNames') {
Expand All @@ -1498,7 +1494,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').hide();
$('#segmentSentencesBlock').hide();
$('#teiCoordinatesBlock').hide();
$('#flavorBlock').hide();
setBaseUrl('processCitationNames');
}
else if (selected == 'processReferences') {
Expand All @@ -1510,7 +1505,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').show();
$('#segmentSentencesBlock').hide();
$('#teiCoordinatesBlock').hide();
$('#flavorBlock').hide();
setBaseUrl('processReferences');
}
else if (selected == 'processAffiliations') {
Expand All @@ -1522,7 +1516,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').hide();
$('#segmentSentencesBlock').hide();
$('#teiCoordinatesBlock').hide();
$('#flavorBlock').hide();
setBaseUrl('processAffiliations');
}
else if (selected == 'processCitation') {
Expand All @@ -1534,7 +1527,6 @@ var grobid = (function($) {
$('#includeRawCitationsBlock').hide();
$('#segmentSentencesBlock').hide();
$('#teiCoordinatesBlock').hide();
$('#flavorBlock').hide();
setBaseUrl('processCitation');
}
/*else if (selected == 'processCitationPatentTEI') {
Expand Down
8 changes: 1 addition & 7 deletions grobid-service/src/main/resources/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,7 @@ <h2>
<input type="checkbox" id="teiCoordinates" name="teiCoordinates" value="ref">Add coordinates</input>
</label>
</td>
<td class="checkbox" id="flavorBlock" style="display: inherit;">
Flavor:
<select id="flavor" name="flavor">
<option value="" selected>No flavor</option>
<option value="sdo/ietf">SDO/IETF</option>
<!-- <option value="sdo/3gpp">Standard 3GPP</option>-->
</select>
<td>
</td>
</tr>
</table>
Expand Down

0 comments on commit 8a22507

Please sign in to comment.