From da15e439e64c8314825ad5f28073fbcbd436946f Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Thu, 30 May 2019 13:29:31 +0100 Subject: Initial version of demo This commit introduces the demo functionality. The task assignment has been removed at the moment, as this will be changed in a future commit. --- app/templates/demo/evaluate.html | 49 ++++++++++++++++++++++++++++++++++++++++ app/templates/demo/learn.html | 23 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 app/templates/demo/evaluate.html create mode 100644 app/templates/demo/learn.html (limited to 'app/templates/demo') diff --git a/app/templates/demo/evaluate.html b/app/templates/demo/evaluate.html new file mode 100644 index 0000000..b148f66 --- /dev/null +++ b/app/templates/demo/evaluate.html @@ -0,0 +1,49 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block styles %} +{{ super() }} + +{% endblock %} + +{% block app_content %} +

{{ title }}

+ +
+
+ {{ text | safe }} +
+
+ +
+
+

Your annotation:

+
+
+
+

Ground truth:

+
+
+
+ +
+
+ {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} +
+
+ + + + + +{% endblock %} diff --git a/app/templates/demo/learn.html b/app/templates/demo/learn.html new file mode 100644 index 0000000..8d3d6c9 --- /dev/null +++ b/app/templates/demo/learn.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block styles %} +{{ super() }} + +{% endblock %} + +{% block app_content %} +

{{ title }}

+ +
+
+ {{ text | safe }} +
+
+ +
+
+ {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} +
+
+{% endblock %} -- cgit v1.2.3