2013-04-04 15:44:06 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "backgroundImage",
|
|
|
|
"type": "image",
|
|
|
|
"label": "Background image",
|
2013-05-02 14:41:39 +02:00
|
|
|
"optional": true,
|
2013-04-04 15:44:06 +02:00
|
|
|
"description": "An optional background image for the Question set."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "progressType",
|
|
|
|
"type": "select",
|
|
|
|
"label": "Progress indicator",
|
|
|
|
"description": "Question set progress indicator style.",
|
2013-04-30 11:45:25 +02:00
|
|
|
"options": [
|
2013-04-04 15:44:06 +02:00
|
|
|
{
|
2013-04-30 11:45:25 +02:00
|
|
|
"value": "textual",
|
|
|
|
"label": "Textual"
|
2013-04-04 15:44:06 +02:00
|
|
|
},
|
|
|
|
{
|
2013-04-30 11:45:25 +02:00
|
|
|
"value": "dots",
|
|
|
|
"label": "Dots"
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"default": "textual"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "passPercentage",
|
|
|
|
"type": "number",
|
|
|
|
"label": "Pass percentage",
|
|
|
|
"description": "Percentage of total score required for passing the quiz.",
|
|
|
|
"min": 0,
|
|
|
|
"max": 100,
|
|
|
|
"step": 1,
|
|
|
|
"default": 50
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "questions",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Questions",
|
2013-04-04 15:44:06 +02:00
|
|
|
"type": "list",
|
2013-07-08 14:29:13 +02:00
|
|
|
"widget": "verticalTabs",
|
2013-06-24 14:27:50 +02:00
|
|
|
"min": 1,
|
2013-04-04 15:44:06 +02:00
|
|
|
"entity": "question",
|
|
|
|
"field": {
|
|
|
|
"name": "question",
|
2013-07-08 11:37:33 +02:00
|
|
|
"type": "library",
|
|
|
|
"label": "Question type",
|
|
|
|
"description": "Library for this question.",
|
|
|
|
"options": [
|
|
|
|
"H5P.MultiChoice 1.0",
|
|
|
|
"H5P.DragQuestion 1.0",
|
|
|
|
"H5P.Blanks 1.0"
|
2013-04-04 15:44:06 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "introPage",
|
|
|
|
"type": "group",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Quiz introduction",
|
2013-04-04 15:44:06 +02:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "showIntroPage",
|
|
|
|
"type": "boolean",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Display introduction"
|
2013-04-04 15:44:06 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "title",
|
|
|
|
"type": "text",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Title",
|
|
|
|
"optional": true,
|
2013-07-15 09:27:13 +02:00
|
|
|
"description": "This title will be displayed above the introduction text.",
|
|
|
|
"tags": [
|
|
|
|
"sub",
|
|
|
|
"sup",
|
|
|
|
"strong",
|
|
|
|
"em"
|
|
|
|
]
|
2013-04-04 15:44:06 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "introduction",
|
|
|
|
"type": "text",
|
2013-07-10 10:34:17 +02:00
|
|
|
"widget": "html",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Introduction text",
|
|
|
|
"optional": true,
|
2013-07-10 10:34:17 +02:00
|
|
|
"description": "This text will be displayed before the quiz starts.",
|
|
|
|
"enterMode": "p",
|
|
|
|
"tags": [
|
|
|
|
"sub",
|
|
|
|
"sup",
|
|
|
|
"strong",
|
|
|
|
"em",
|
|
|
|
"p"
|
|
|
|
]
|
2013-04-04 15:44:06 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "startButtonText",
|
|
|
|
"type": "text",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Start button text",
|
|
|
|
"optional": true,
|
|
|
|
"default": "Start Quiz"
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "texts",
|
|
|
|
"type": "group",
|
|
|
|
"label": "Interface texts in quiz",
|
|
|
|
"common": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "prevButton",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Back button",
|
|
|
|
"default": "Previous"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "nextButton",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Next button",
|
|
|
|
"default": "Next"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "finishButton",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Finish button",
|
|
|
|
"default": "Finish"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "textualProgress",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Progress text",
|
|
|
|
"description": "Text used if textual progress is selected.",
|
2013-07-15 09:27:13 +02:00
|
|
|
"default": "Question: @current of @total questions",
|
|
|
|
"tags": [
|
|
|
|
"strong",
|
|
|
|
"em"
|
|
|
|
]
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "endGame",
|
|
|
|
"type": "group",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Quiz finished",
|
2013-04-04 15:44:06 +02:00
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"name": "showResultPage",
|
|
|
|
"type": "boolean",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Display results",
|
2013-04-04 15:44:06 +02:00
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
{
|
2013-05-02 14:41:39 +02:00
|
|
|
"name": "successGreeting",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Quiz passed title",
|
|
|
|
"placeholder": "Congratulations!",
|
|
|
|
"default": "Congratulations!",
|
2013-05-12 00:08:05 +02:00
|
|
|
"optional": true,
|
2013-07-15 09:27:13 +02:00
|
|
|
"description": "This title will be displayed above results if the user has successfully passed the quiz.",
|
|
|
|
"tags": [
|
|
|
|
"strong",
|
|
|
|
"em"
|
|
|
|
]
|
2013-05-02 14:41:39 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "successComment",
|
|
|
|
"type": "text",
|
2013-07-09 15:51:27 +02:00
|
|
|
"widget": "html",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Passed comment",
|
|
|
|
"default": "You did very well!",
|
2013-05-12 00:08:05 +02:00
|
|
|
"optional": true,
|
2013-07-15 09:27:13 +02:00
|
|
|
"description": "This comment will be displayed after the score if the user has successfully passed the quiz.",
|
|
|
|
"tags": [
|
|
|
|
"sub",
|
|
|
|
"sup",
|
|
|
|
"strong",
|
|
|
|
"em",
|
|
|
|
"p"
|
|
|
|
]
|
2013-05-02 14:41:39 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "failGreeting",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Quiz failed title",
|
|
|
|
"default": "Oh, no!",
|
2013-05-12 00:08:05 +02:00
|
|
|
"optional": true,
|
2013-07-15 09:27:13 +02:00
|
|
|
"description": "This title will be displayed above the results if the user has failed the quiz.",
|
|
|
|
"tags": [
|
|
|
|
"strong",
|
|
|
|
"em"
|
|
|
|
]
|
2013-05-02 14:41:39 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "failComment",
|
|
|
|
"type": "text",
|
2013-07-09 15:51:27 +02:00
|
|
|
"widget": "html",
|
2013-05-02 14:41:39 +02:00
|
|
|
"label": "Failed comment",
|
|
|
|
"default": "This didn't go so well.",
|
2013-05-12 00:08:05 +02:00
|
|
|
"optional": true,
|
2013-07-15 09:27:13 +02:00
|
|
|
"description": "This comment will be displayed after the score if the user has failed the quiz.",
|
|
|
|
"tags": [
|
|
|
|
"sub",
|
|
|
|
"sup",
|
|
|
|
"strong",
|
|
|
|
"em",
|
|
|
|
"p"
|
|
|
|
]
|
2013-05-02 14:41:39 +02:00
|
|
|
},
|
2013-05-03 15:24:17 +02:00
|
|
|
{
|
|
|
|
"name": "solutionButtonText",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Solution button label",
|
|
|
|
"default": "Show solution",
|
|
|
|
"description": "Text for the solution button."
|
|
|
|
},
|
2013-05-02 14:41:39 +02:00
|
|
|
{
|
|
|
|
"name": "finishButtonText",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Finish button text",
|
2013-05-03 18:51:10 +02:00
|
|
|
"default": "Finish"
|
2013-05-02 14:41:39 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "showAnimations",
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Display video before quiz results"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "skippable",
|
|
|
|
"type": "boolean",
|
|
|
|
"label": "Enable skip video button"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "skipButtonText",
|
|
|
|
"type": "text",
|
|
|
|
"label": "Skip video button label",
|
|
|
|
"default": "Skip video",
|
|
|
|
"common": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "successVideo",
|
|
|
|
"type": "video",
|
|
|
|
"label": "Passed video",
|
|
|
|
"optional": true,
|
|
|
|
"description": "This video will be played if the user successfully passed the quiz."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "failVideo",
|
|
|
|
"type": "video",
|
|
|
|
"label": "Fail video",
|
|
|
|
"optional": true,
|
|
|
|
"description": "This video will be played if the user failes the quiz."
|
2013-04-04 15:44:06 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2013-05-02 14:41:39 +02:00
|
|
|
]
|