Minor adjustments to semantics.
parent
c508b712fd
commit
e6add04473
|
@ -3,35 +3,31 @@
|
||||||
"name": "title",
|
"name": "title",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Title",
|
"label": "Title",
|
||||||
"description": "Question set title (optional)",
|
"description": "Question set title (optional)."
|
||||||
"default": ""
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "randomOrder",
|
"name": "randomOrder",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"label": "Randomize order",
|
"label": "Randomize order",
|
||||||
"description": "Whether questions should be shown in random order",
|
"description": "Whether questions should be shown in random order."
|
||||||
"default": false
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "initialQuestion",
|
"name": "initialQuestion",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"label": "Initial question",
|
"label": "Initial question",
|
||||||
"description": "Which question to start with. Count from 0",
|
"description": "Which question to start with. Count from 0."
|
||||||
"default": 0
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "backgroundImage",
|
"name": "backgroundImage",
|
||||||
"type": "image",
|
"type": "image",
|
||||||
"label": "Background image",
|
"label": "Background image",
|
||||||
"description": "An optional background image for the Question set.",
|
"description": "An optional background image for the Question set."
|
||||||
"default": ""
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "progressType",
|
"name": "progressType",
|
||||||
"type": "select",
|
"type": "select",
|
||||||
"label": "Progress indicator",
|
"label": "Progress indicator",
|
||||||
"description": "Question set progress indicator style",
|
"description": "Question set progress indicator style.",
|
||||||
"values": [
|
"values": [
|
||||||
{
|
{
|
||||||
"text": "Textual",
|
"text": "Textual",
|
||||||
|
@ -62,8 +58,8 @@
|
||||||
"name": "library",
|
"name": "library",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"label": "Question library",
|
"label": "Question library",
|
||||||
"description": "Library for this question",
|
"description": "Library for this question.",
|
||||||
"validLibs": [
|
"options": [
|
||||||
"H5P.MultiChoice"
|
"H5P.MultiChoice"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -73,7 +69,7 @@
|
||||||
"name": "introPage",
|
"name": "introPage",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"label": "Intro page",
|
"label": "Intro page",
|
||||||
"description": "Data for the intro page",
|
"description": "Data for the intro page.",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": "showIntroPage",
|
"name": "showIntroPage",
|
||||||
|
@ -144,37 +140,37 @@
|
||||||
"name": "resultPage",
|
"name": "resultPage",
|
||||||
"type": "group",
|
"type": "group",
|
||||||
"label": "Result page",
|
"label": "Result page",
|
||||||
"description": "Data and texts for the result page",
|
"description": "Data and texts for the result page.",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": "successGreeting",
|
"name": "successGreeting",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Success greeting",
|
"label": "Success greeting",
|
||||||
"description": "Title in result page on success"
|
"description": "Title in result page on success."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "successComment",
|
"name": "successComment",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Success comment",
|
"label": "Success comment",
|
||||||
"description": "Comment shown after the score"
|
"description": "Comment shown after the score."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "failGreeting",
|
"name": "failGreeting",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Failed greeting",
|
"label": "Failed greeting",
|
||||||
"description": "Title in result page on failed quiz"
|
"description": "Title in result page on failed quiz."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "failComment",
|
"name": "failComment",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Failed comment",
|
"label": "Failed comment",
|
||||||
"description": "Comment shown after the score on failed quiz"
|
"description": "Comment shown after the score on failed quiz."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "finishButtonText",
|
"name": "finishButtonText",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"label": "Finish button text",
|
"label": "Finish button text",
|
||||||
"description": "Text for the finish button"
|
"description": "Text for the finish button."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -186,23 +182,22 @@
|
||||||
{
|
{
|
||||||
"name": "showAnimations",
|
"name": "showAnimations",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"label": "Show animations",
|
"label": "Show animations"
|
||||||
"default": false
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "successVideo",
|
"name": "successVideo",
|
||||||
"type": "video",
|
"type": "video",
|
||||||
"label": "Success video",
|
"label": "Success video",
|
||||||
"description": "Video displayed on successful quiz"
|
"description": "Video displayed on successful quiz."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "failVideo",
|
"name": "failVideo",
|
||||||
"type": "video",
|
"type": "video",
|
||||||
"label": "Fail video",
|
"label": "Fail video",
|
||||||
"description": "Video displayed on failed quiz"
|
"description": "Video displayed on failed quiz."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
Reference in New Issue