Fixed a but with singlepages in the startpage backend
This commit is contained in:
parent
f4dd20e76d
commit
428a9b0b44
@ -186,7 +186,7 @@ def startpage():
|
||||
|
||||
for name in block_names:
|
||||
print("block: ",name)
|
||||
if config[name]["type"] == "TaskTemplate" and ("stimuli" in current_block):
|
||||
if config[name]["type"] == "TaskTemplate" and ("stimuli" in config[name]):
|
||||
match config[name]["stimuli"]["type"]:
|
||||
case "single_video":
|
||||
order = list(config[name]["stimuli"]["list"]) # order = list of simuli keys
|
||||
|
@ -24,7 +24,7 @@
|
||||
Sie können den Button nochmal anklicken um wieder zur Aufgabe zurückzukommen.
|
||||
</p>
|
||||
<div style="margin: auto; display: block; max-width: 90px;">
|
||||
<button style="margin: auto; max-width: ;"><img class="infoButtonIcon" id="buttonInfoIcon"
|
||||
<button style="margin: auto; max-width: 90px;"><img class="infoButtonIcon" id="buttonInfoIcon"
|
||||
src="{{ url_for('static', filename='icons/sl-icon.png')}}" alt="sign-language-icon"></button>
|
||||
</div>
|
||||
<p style="font-size: 22px; text-align: center;">
|
||||
@ -32,9 +32,9 @@
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<form class="dsgvoform" action="{{ url_for('startpage') }}" method="post">
|
||||
<form class="dsgvoform" action="{{ url_for('sendpage') }}" method="post">
|
||||
<div class="button-container">
|
||||
<input id="submitbutton" type="submit" value="Starten" />
|
||||
<button id="submitbutton" type="submit">Starten</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user