diff --git a/templates/viewer.html b/templates/viewer.html index 87c1737..e771530 100644 --- a/templates/viewer.html +++ b/templates/viewer.html @@ -63,7 +63,7 @@ } -
+
{% set max=eids.split(',')|length %}
@@ -86,7 +86,8 @@ var faces=[] {% for face in obj.file_details.faces %} data = { - 'name': 'TST', 'x': '{{face.locn[3]}}', 'y': '{{face.locn[0]}}', 'w': '{{face.locn[1]-face.locn[3]}}', 'h':'{{face.locn[2]-face.locn[0]}}' + 'x': '{{face.locn[3]}}', 'y': '{{face.locn[0]}}', + 'w': '{{face.locn[1]-face.locn[3]}}', 'h':'{{face.locn[2]-face.locn[0]}}' } {% if face.refimg %} data['who']='{{face.refimg.person.tag}}' @@ -126,3 +127,22 @@
{% endblock main_content %} +{% block script_content %} + +{% endblock script_content %}