From 84fe3ebd518c38cd9b34b1390824bf2eb1d420e7 Mon Sep 17 00:00:00 2001 From: Wei-Te Chen Date: Mon, 26 Jun 2017 15:26:37 -0600 Subject: [PATCH] Commit current Verbs Anafora --- src/Templates/annotate/index.html | 1 - src/Templates/base.html | 16 +- src/main/annotate/projectSetting.py | 11 +- src/main/annotate/views.py | 9 +- src/main/static/css/style.css | 40 +--- .../js/annotate/anaforaAdjudicationProject.js | 218 ++++++++++++++++-- .../anaforaAdjudicationProjectCoreference.js | 4 +- src/main/static/js/annotate/anaforaObj.js | 115 ++++++--- src/main/static/js/annotate/anaforaProject.js | 42 +--- src/main/static/js/annotate/annotate.js | 46 ++-- src/main/static/js/annotate/annotateFrame.js | 3 +- src/main/static/js/annotate/propertyFrame.js | 18 +- src/main/web/urls.py | 81 +++---- 13 files changed, 395 insertions(+), 209 deletions(-) diff --git a/src/Templates/annotate/index.html b/src/Templates/annotate/index.html index 089e978..22c76f4 100644 --- a/src/Templates/annotate/index.html +++ b/src/Templates/annotate/index.html @@ -151,5 +151,4 @@

Select Schema and Mode

-
Error
Global Info
    Local Info
      Please contact your administrator with above information
      {% endblock %} diff --git a/src/Templates/base.html b/src/Templates/base.html index 2af0cee..d919731 100644 --- a/src/Templates/base.html +++ b/src/Templates/base.html @@ -6,24 +6,24 @@ -{% load staticfiles %} +{% load static %} {% block title %}{{ title }}{% endblock %} - - + + {% for cssName in css %} - + {% endfor %} - + {% for jsName in js %} - + {% endfor %} {% for schema, schemaMode in js_schemaSpecific.items %} {% ifequal schema settingVars.schema %} {% if settingVars.isAdjudication %} {% if schemaMode.adjudication %} {% for jsName in schemaMode.adjudication %} - + {% endfor %} {% endif %} {% else %} {% if schemaMode.annotate %} {% for jsName in schemaMode.annotate %} - + {% endfor %} {% endif %} {% endif %} {% endifequal %} {% endfor %}