mirror of
https://github.com/qurator-spk/neat.git
synced 2025-06-10 04:09:55 +02:00
complete refactoring: rename
This commit is contained in:
parent
90cb2d32cc
commit
fffccd5bb3
2 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>ner.edith</title>
|
<title>neath</title>
|
||||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
||||||
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.0.1/papaparse.js"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.0.1/papaparse.js"></script>
|
||||||
|
@ -53,8 +53,8 @@
|
||||||
<div class="col-9">
|
<div class="col-9">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
<h3><a href="https://github.com/cneud/ner.edith" target="_blank">ner.edith</a>: named entity recognition editor in html</h3>
|
<h3><a href="https://github.com/qurator-spk/neath" target="_blank">neath</a>: named entity annotation tool in html</h3>
|
||||||
<a href="https://github.com/cneud/ner.edith/blob/master/docs/User_Guide.md" target="_blank">User Guide</a> | <a href="https://github.com/cneud/ner.edith/blob/master/docs/Annotation_Guidelines.md" target="_blank">Annotation Guidelines</a> | <a href="https://github.com/cneud/ner.edith/issues" target="_blank">Issues</a><hr>
|
<a href="https://github.com/qurator-spk/neath/blob/master/docs/User_Guide.md" target="_blank">User Guide</a> | <a href="https://github.com/qurator-spk/neath/blob/master/docs/Annotation_Guidelines.md" target="_blank">Annotation Guidelines</a> | <a href="https://github.com/qurator-spk/neath/issues" target="_blank">Issues</a><hr>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -86,6 +86,6 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="ner-edith.js"></script>
|
<script src="neath.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -668,14 +668,14 @@ $(document).ready(
|
||||||
loadFile ( evt,
|
loadFile ( evt,
|
||||||
function(results, file, urls) {
|
function(results, file, urls) {
|
||||||
|
|
||||||
var ner_edith = setupInterface(results, file, urls);
|
var neath = setupInterface(results, file, urls);
|
||||||
|
|
||||||
$(window).bind("beforeunload",
|
$(window).bind("beforeunload",
|
||||||
function() {
|
function() {
|
||||||
|
|
||||||
console.log(ner_edith.hasChanges());
|
console.log(neath.hasChanges());
|
||||||
|
|
||||||
if (ner_edith.hasChanges())
|
if (neath.hasChanges())
|
||||||
return confirm("You have unsaved changes. Do you want to save them before leaving?");
|
return confirm("You have unsaved changes. Do you want to save them before leaving?");
|
||||||
}
|
}
|
||||||
);
|
);
|
Loading…
Add table
Add a link
Reference in a new issue