Skip to content
Snippets Groups Projects
Commit 21cc5ae5 authored by Anthony's avatar Anthony
Browse files

Improve previous solution on radio group issue

Fix macao-legacy#39

BEfore it was breaking macao-legacy#37
parent 61bdfc80
Branches 15-api-for-annotations-on-video
No related tags found
No related merge requests found
......@@ -134,7 +134,7 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
.sd-question__header {
margin-top: 0;
max-width: 400px;
max-width: 150px;
}
}
......@@ -218,6 +218,12 @@ em:not(:has(strong)) {
white-space: break-spaces !important;
}
.one-line {
.sd-question__header {
max-width: unset !important;
}
}
@import "plugins/_scrollbars.scss";
{
"showQuestionNumbers": "none",
"css": {
"panel": {
"border": "none !important",
"box-shadow": "none !important"
},
"question": {
"border": "none !important",
"box-shadow": "none !important"
}
},
"correctComment": "Bonnes réponses !",
'incorrectComment': '**Voici le corrigé :**\n\n \n\n every: 2 syllabes\n\n interesting: 3 syllabes\n\n dangerous: 2 syllabes',
"elements": [
{
"type": "panel",
"elements": [
{
"name": "pg545",
"title": "He doesn't **agree**.",
"type": "radiogroup",
"name": "question1",
"customFormat": "one_line",
"title": "eeee eeeeeeeeeeeee eeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeee eeeeeeeeeeeee<audio id=\"every_01.mp3\" ><source src=\"\/macao-hugo\/media\/bt_socio1\/bt_socio1_01.mp3\" type=\"audio\/mpeg\"><\/audio><button onclick=\"document.getElementById('every_01.mp3').play()\" class=\"notextplay\">Play<\/button> sociology <img class=\"inlineImage\" src=\"\/macao-hugo\/media\/phon_sociology2.png\" id=\"phon_sociology2.png\"/><img class=\"inlineImage\" src=\"\/macao-hugo\/media\/\" id=\"\"/>",
"choices": [
{
"value": 0,
"text": "<img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_agree_right.png\" id=\"phon_p37_agree_right.png\"/>"
{ "value": 1, "text": " " },
{ "value": 2, "text": " " },
{ "value": 3, "text": " " },
{ "value": 4, "text": " " },
{ "value": 5, "text": " " }
],
"enableHtml": true,
"correctAnswer": 2,
"colCount": 5
},
{
"value": 1,
"text": "<img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_agree_wrong.png\" id=\"phon_p37_agree_wrong.png\"/>"
}
],
"correctAnswer": 0
}
"type": "radiogroup",
"name": "question2",
"customFormat": "one_line",
"title": "<audio id=\"every_01.mp3\" ><source src=\"\/macao-hugo\/media\/bt_comm\/bt_comm_01.mp3\" type=\"audio\/mpeg\"><\/audio><button onclick=\"document.getElementById('every_01.mp3').play()\" class=\"notextplay\">Play<\/button> communication <img class=\"inlineImage\" src=\"\/macao-hugo\/media\/phon_communication1.png\" id=\"phon_communication1.png\"/><img class=\"inlineImage\" src=\"\/macao-hugo\/media\/\" id=\"\"/>",
"choices": [
{ "value": 1, "text": " " },
{ "value": 2, "text": " " },
{ "value": 3, "text": " " },
{ "value": 4, "text": " " },
{ "value": 5, "text": " " }
],
"columns": 2
"enableHtml": true,
"correctAnswer": 2,
"colCount": 5
},
{
"type": "panel",
"elements": [
{
"name": "pg545_1",
"title": "He's **shaking** his head.",
"type": "radiogroup",
"name": "question3",
"customFormat": "one_line",
"title": "<audio id=\"every_01.mp3\" ><source src=\"\/macao-hugo\/media\/bt_real\/bt_real_01.mp3\" type=\"audio\/mpeg\"><\/audio><button onclick=\"document.getElementById('every_01.mp3').play()\" class=\"notextplay\">Play<\/button> realization <img class=\"inlineImage\" src=\"\/macao-hugo\/media\/phon_realization1.png\" id=\"phon_realization1.png\"/><img class=\"inlineImage\" src=\"\/macao-hugo\/media\/\" id=\"\"/>",
"choices": [
{
"value": 0,
"text": "<img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_shaking_right1.png\" id=\"phon_p37_shaking_right1\"/>"
{ "value": 1, "text": " " },
{ "value": 2, "text": " " },
{ "value": 3, "text": " " },
{ "value": 4, "text": " " },
{ "value": 5, "text": " " }
],
"enableHtml": true,
"correctAnswer": 2,
"colCount": 5
},
{
"value": 1,
"text": "<img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_shaking_wrong2.png\" id=\"phon_p37_shaking_wrong2\"/>"
}
],
"correctAnswer": 0
}
"type": "radiogroup",
"name": "question4",
"customFormat": "one_line",
"title": "<audio id=\"every_01.mp3\" ><source src=\"\/macao-hugo\/media\/bt_university\/bt_university_01.mp3\" type=\"audio\/mpeg\"><\/audio><button onclick=\"document.getElementById('every_01.mp3').play()\" class=\"notextplay\">Play<\/button> university <img class=\"inlineImage\" src=\"\/macao-hugo\/media\/phon_university.png\" id=\"phon_university.png\"/><img class=\"inlineImage\" src=\"/macao-hugo/media/\" id=\"\"/>",
"choices": [
{ "value": 1, "text": " " },
{ "value": 2, "text": " " },
{ "value": 3, "text": " " },
{ "value": 4, "text": " " },
{ "value": 5, "text": " " }
],
"startWithNewLine": false
"enableHtml": true,
"correctAnswer": 2,
"colCount": 5
}
],
"correctComment": "\n\nVoici la transcription appropriée :\n<img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_agree_right.png\" id=\"phon_p37_agree_right.png\"/> et <img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_shaking_right2.png\" id=\"phon_p37_shaking_right2.png\"/>",
"incorrectComment": "\n\nVoici la transcription appropriée :\n<img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_agree_right.png\" id=\"phon_p37_agree_right.png\"/> et <img class=\"inlineImage\" src=\"/macao-hugo/media/phon_p37_shaking_right1.png\" id=\"phon_p37_shaking_right1.png\"/>"
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment