Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev logger #26

Merged
merged 3 commits into from
Mar 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,287 changes: 607 additions & 680 deletions frontend/index.html

Large diffs are not rendered by default.

687 changes: 687 additions & 0 deletions frontend/index_content.html

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions frontend/info.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
var demoname = "Zoe Demo";
var demoexplanation = "This is an online demo of our recent paper Zero-Shot Open Entity Typing as Type-Compatible Grounding. Please use the question buttons when you are looking for instructions. If none of them solves your problem, please create an issue on our Github repo.";
var citations = {
"http://cogcomp.org/page/publication_view/845" : "Zero-Shot Open Entity Typing as Type-Compatible Grounding",
};
var contact = "[email protected]";

function initial_load() {
document.getElementById("demo-name").innerHTML = demoname;
document.getElementById("demo-explanation").innerHTML = "<p>" + demoexplanation + "</p>";
if (citations.length != 0) {
citation_content = "If you wish to cite this work, please cite the following publication(s):";
var cid = 1;
for (var key in citations) {
citation_content +=
"<span ng-repeat='pub in data.publications' class='ng-scope'>" +
"<i class='ng-binding'>(" + cid.toString() + ")" +
"<a href='" + key + "' class='ng-binding'>" + citations[key] + "</a></i><span ng-if='!$last' class='ng-scope'>,</span>" +
"</span>";
cid ++;
}
document.getElementById("demo-citations").innerHTML = citation_content;
document.getElementById("demo-contact").href = "mailto:" + contact;
document.getElementById("demo-contact").innerHTML = contact;
}
}

initial_load();
58 changes: 58 additions & 0 deletions frontend/js/analytics.js

Large diffs are not rendered by default.

Loading