diff --git a/slaeforms/static/styles.css b/slaeforms/static/styles.css index 3e1886a..2d6e90b 100644 --- a/slaeforms/static/styles.css +++ b/slaeforms/static/styles.css @@ -97,7 +97,22 @@ iframe { margin: auto; } +.video-container { + position: relative; + padding-bottom: 56.25%; /* 16:9 aspect ratio */ + height: 0; + overflow: hidden; + max-width: 100%; + background: #000; +} +.video-container iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} form { text-align: center; diff --git a/slaeforms/templates/standard_template.html b/slaeforms/templates/standard_template.html index b138540..072c4e5 100644 --- a/slaeforms/templates/standard_template.html +++ b/slaeforms/templates/standard_template.html @@ -7,10 +7,12 @@ {% if (title != "") %}

{{title}}

{% endif %} +
+
{% else %} {{code}} diff --git a/slaeforms/templates/teststartpage.html b/slaeforms/templates/teststartpage.html index 8fecf26..e2d36d7 100644 --- a/slaeforms/templates/teststartpage.html +++ b/slaeforms/templates/teststartpage.html @@ -8,6 +8,7 @@ +

Hello! Thank you for participating in our study!

\ No newline at end of file