summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-28 19:40:37 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-28 19:40:37 +0100
commit982522b5b9dfc39c10d08129b873aadf77b7293f (patch)
tree9f02558bec78b8466ce63da9cd81c11fab857be0 /index.html
parent9de619cde9a51a8c7d2cf3e8dbffeca3b4fc94a0 (diff)
Experiment: add "teacher helped" link to Prolog screen
Records a {'typ': 'experiment', 'data': 'teacher help'} action when clicked. This will allow us to consider such traces specially when evaluating different hint types. This is specific to the prolog_hints experiment and should be reverted or generalized in the future.
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/index.html b/index.html
index 9675f40..96e7504 100644
--- a/index.html
+++ b/index.html
@@ -364,6 +364,12 @@
<div class="description" data-dict="prolog" data-tkey="description"></div>
</div>
<div class="hints"></div>
+ <!-- experiment: Prolog hints -->
+ <div class="teacher-help"
+ style="display: none; background-color: white; border: 1px solid gray; font-size: small; padding: 0.2em 0.4em;">
+ <span data-tkey="teacher_help">If you received help from the teacher, please click</span> <a href="#" data-tkey="here">here</a>.
+ </div>
+ <!-- end of experiment: Prolog hints -->
</div>
<div class="col-lg-8 col-md-8 col-sm-12 block block-right ">
<div class="col-lg-6 col-md-12 col-sm-12 block block2">