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 @@ + + +
+ + +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 +
+