added endpage and tracking for completed forms
This commit is contained in:
@@ -92,6 +92,27 @@ step={{question["step"]}}
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
|
||||
{% if (infovideo) %}
|
||||
<dialog>
|
||||
|
||||
<button class="dialogBtn" autofocus><img class="infoButtonIcon" id="buttonClose" src="{{ url_for('static', filename='icons/x-icon.png')}}"
|
||||
alt="Delete Icon"></button>
|
||||
<div class="iframe-container">
|
||||
<iframe class="center" src="{{ infovideo['videourl'] }}" title="YouTube video player" frameborder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
allowfullscreen></iframe>
|
||||
</div>
|
||||
<div class="dialogTextContainer">
|
||||
<p>{{ infovideo["infotext"] }}</p>
|
||||
</div>
|
||||
</dialog>
|
||||
<button class="dialogBtn"><img class="infoButtonIcon" id="buttonInfoIcon" src="{{ url_for('static', filename='icons/info-icon.png')}}"
|
||||
alt="Info Icon"></button>
|
||||
<script src="{{ url_for('static', filename='infoDialogScript.js')}}"></script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if (stimulus_type == "single_video") %}
|
||||
{{ single_video(**stimulus_configuration) }}
|
||||
{% elif (stimulus_type == "double_video") %}
|
||||
@@ -120,7 +141,6 @@ step={{question["step"]}}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% elif (questions[question]["type"] == "textinput") %}
|
||||
<div class="textarea-container">
|
||||
<label class="textarea-label">
|
||||
|
||||
Reference in New Issue
Block a user