From a4fc083305df4c4c1ae065ff58554fcefc0c3d37 Mon Sep 17 00:00:00 2001 From: Jan Dickmann Date: Wed, 26 Jun 2024 11:32:16 +0200 Subject: [PATCH] Popup video works in test --- slaeforms/app.py | 8 ++++ slaeforms/static/styles.css | 12 ++++++ slaeforms/templates/popuptest.html | 62 ++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 slaeforms/templates/popuptest.html diff --git a/slaeforms/app.py b/slaeforms/app.py index 05dec06..d8fae62 100644 --- a/slaeforms/app.py +++ b/slaeforms/app.py @@ -131,6 +131,14 @@ except SQLAlchemyError as e: #------------------------------------------------------------------------------ #actual page logic with start, form and send +@app.route("/popuptest", methods=["GET"]) +def popuptest(): + + return render_template( + "popuptest.html" + ) + + @app.route("/start", methods=["GET", "POST"]) def startpage(): session.permanent = False diff --git a/slaeforms/static/styles.css b/slaeforms/static/styles.css index 3b10bb7..0b3ab28 100644 --- a/slaeforms/static/styles.css +++ b/slaeforms/static/styles.css @@ -8,6 +8,18 @@ body { font-size: 16px; } + +::backdrop { + background-color: grey; + opacity: 1; +} + +dialog { + width: 66%; +} + + + .container { margin: 0 auto; /* height: 100vh;*/ diff --git a/slaeforms/templates/popuptest.html b/slaeforms/templates/popuptest.html new file mode 100644 index 0000000..342aa14 --- /dev/null +++ b/slaeforms/templates/popuptest.html @@ -0,0 +1,62 @@ + + + + + + DGS Avatar Study + + + +
+

Hello! Thank you for participating in our study!

+ + +
+ +
+

Here is the text with the content of the explanation video. + Here participants can read the full text that is beeing shown in the video above in sign language. + From Feedback with a deaf sign language expert, we concluded that giving the whole text as additional resource + would be a good idea, since this would help if a participants looses track of the vide, can not understand the DGS dialect, + or just wants to read, because maybe that is what they prefer. This is especially relevant is the participant can not see very well.

+
+ + +
+

This is a placeholder EULA and Terms and Condition Text, this should obviously be replaced with some real Text later. + For now, be aware that this is a prototype for a sign language avatar study. + The Data that you input in this form, will be saved on our servers, but in an annonimized ways, so we can not infer who sent this data. + The Video recordings pose a special case. Any videos that are recorded, will be reviewed by sign language experts in our team, + the meaning will be transcribed in text form, then the video will be deleted. + If you have further questions, please send an email to testemail@notarealemail.deee +

+
+
+ +
+ +
+
+
+ + + \ No newline at end of file