Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

mcqSur.transf
1
<?xml version="1.0" encoding="UTF-8"?>
2
<sma:assmntUnitMcqXhtmlTransf xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sma="kelis.fr:scenari/modeling/assessment" xmlns="http://www.w3.org/1999/xhtml" info="exercice d'entrainement, boutons solution score et reset, fonctions jouer - reset - afficher Solutions - masquer Solutions">
3
	<sm:model sc:refUri="/academic/model/Uc/quiz/mcqSur.model"/>
4
	<sm:scenario>
5
		<sm:sequence code="play">
6
			<sm:initBody>
7
				<sm:choiceInteraction mode="enabled"/>
8
				<sm:solutionDisplay mode="hidden"/>
9
				<sm:elementDisplay refId="score" mode="invisible"/>
10
				<sm:elementDisplay refId="chExpln" mode="collapsed"/>
11
				<sm:elementDisplay refId="gExpln" mode="collapsed"/>
12
			</sm:initBody>
13
			<sm:loadData>
14
				<sm:responseSessionKey>
15
					<sm:fixedKey value=""/>
16
				</sm:responseSessionKey>
17
			</sm:loadData>
18
			<sm:saveData>
19
				<sm:responseSessionKey>
20
					<sm:fixedKey value=""/>
21
				</sm:responseSessionKey>
22
				<sm:scoreSessionKey>
23
					<sm:fixedKey value=""/>
24
				</sm:scoreSessionKey>
25
			</sm:saveData>
26
			<sm:scoreComputing>
27
				<sm:forBooleanScoring scoreIfRight="1" scoreIfWrong="0"/>
28
			</sm:scoreComputing>
29
		</sm:sequence>
30
	</sm:scenario>
31
	<sm:publicFunctions>
32
		<sm:function fctName="play">
33
			<sm:goToSequence refCode="play"/>
34
		</sm:function>
35
		<sm:function fctName="reset">
36
			<sm:resetSession response="yes" score="yes">
37
				<sm:sessionKey>
38
					<sm:fixedKey value=""/>
39
				</sm:sessionKey>
40
			</sm:resetSession>
41
			<sm:goToSequence refCode="play"/>
42
		</sm:function>
43
		<sm:function fctName="displaySol">
44
			<sm:solutionDisplay mode="shown"/>
45
			<sm:elementDisplay refId="chExpln" mode="visible"/>
46
			<sm:elementDisplay refId="gExpln" mode="visible"/>
47
		</sm:function>
48
		<sm:function fctName="cleanSol">
49
			<sm:solutionDisplay mode="hidden"/>
50
			<sm:elementDisplay refId="gExpln" mode="collapsed"/>
51
			<sm:elementDisplay refId="chExpln" mode="collapsed"/>
52
		</sm:function>
53
	</sm:publicFunctions>
54
	<sm:assmntBody>
55
		<div sm:commonClass="bkSolResOut">
56
			<div sm:commonClass="bkSolResFra1">
57
				<div sm:commonClass="bkSolResFra2">
58
					<div sm:commonClass="bkSolResFra3">
59
						<div sm:commonClass="bkSolResCo">
60
							<div sm:commonClass="btnScore">
61
								<sm:WToggleButton commonClass="btnQuiz">
62
									<sm:buttonBody>
63
										<span sm:commonClass="btnQuizCaption">Score</span>
64
									</sm:buttonBody>
65
									<sm:buttonTitle>
66
										<sm:fixedString value="Calculer le score"/>
67
									</sm:buttonTitle>
68
									<sm:buttonActionOn>
69
										<sm:elementDisplay refId="score" mode="visible"/>
70
									</sm:buttonActionOn>
71
									<sm:buttonActionOff>
72
										<sm:elementDisplay refId="score" mode="invisible"/>
73
									</sm:buttonActionOff>
74
								</sm:WToggleButton>
75
							</div>
76
							<div sm:commonClass="btnSol">
77
								<sm:WToggleButton commonClass="btnQuiz">
78
									<sm:buttonBody>
79
										<span sm:commonClass="btnQuizCaption">Solutions</span>
80
									</sm:buttonBody>
81
									<sm:buttonTitle>
82
										<sm:fixedString value="Afficher ou masquer les solutions"/>
83
									</sm:buttonTitle>
84
									<sm:buttonActionOn>
85
										<sm:solutionDisplay mode="shown"/>
86
										<sm:elementDisplay refId="gExpln" mode="visible"/>
87
										<sm:elementDisplay refId="chExpln" mode="visible"/>
88
									</sm:buttonActionOn>
89
									<sm:buttonActionOff>
90
										<sm:solutionDisplay mode="hidden"/>
91
										<sm:elementDisplay refId="gExpln" mode="collapsed"/>
92
										<sm:elementDisplay refId="chExpln" mode="collapsed"/>
93
									</sm:buttonActionOff>
94
								</sm:WToggleButton>
95
							</div>
96
							<div sm:commonClass="btnReset">
97
								<sm:WButton commonClass="btnQuiz">
98
									<sm:buttonBody>
99
										<span sm:commonClass="btnQuizCaption">Recommencer</span>
100
									</sm:buttonBody>
101
									<sm:buttonTitle>
102
										<sm:fixedString value="Effacer les réponses"/>
103
									</sm:buttonTitle>
104
									<sm:buttonAction>
105
										<sm:resetSession response="yes" score="yes">
106
											<sm:sessionKey>
107
												<sm:fixedKey value=""/>
108
											</sm:sessionKey>
109
										</sm:resetSession>
110
										<sm:goToSequence refCode="play"/>
111
									</sm:buttonAction>
112
								</sm:WButton>
113
							</div>
114
							<div sm:commonClass="scoreBox">
115
								<sm:WScore sm:id="score" commonClass="score">
116
									<sm:scoreText>
117
										<sm:scaleScore min="0" max="100" step="1">
118
											<sm:display scoreMoreThan="99" valueFormat="numeric" suffix="% de bonnes réponses" commonClass="answBest"/>
119
											<sm:display scoreMoreThan="49" scoreLessOrEqualThan="99" valueFormat="numeric" suffix="% de bonnes réponses" commonClass="answGood"/>
120
											<sm:display scoreLessOrEqualThan="49" valueFormat="numeric" suffix="% de bonnes réponses" commonClass="answBad"/>
121
										</sm:scaleScore>
122
									</sm:scoreText>
123
								</sm:WScore>
124
							</div>
125
						</div>
126
					</div>
127
				</div>
128
			</div>
129
		</div>
130
		<div sm:commonClass="headerQ">
131
			<div sm:id="question" sm:commonClass="question">
132
				<sm:callQuestionModel/>
133
			</div>
134
		</div>
135
		<div sm:id="choiceList">
136
			<sm:WChoiceList commonClass="choiceList">
137
				<sm:choiceBody>
138
					<div sm:id="choice" sm:commonClass="choice">
139
						<div sm:id="label" sm:commonClass="label">
140
							<sm:callLabelModel/>
141
						</div>
142
						<sm:WChoiceExplanation sm:id="chExpln" commonClass="chExpln">
143
							<sm:callExplanationModel/>
144
						</sm:WChoiceExplanation>
145
					</div>
146
				</sm:choiceBody>
147
			</sm:WChoiceList>
148
		</div>
149
		<sm:WGlobalExplanation sm:id="gExpln" commonClass="gExpln">
150
			<sm:callExplanationModel/>
151
		</sm:WGlobalExplanation>
152
	</sm:assmntBody>
1
<?xml version="1.0" encoding="UTF-8"?><sma:assmntUnitMcqXhtmlTransf xmlns:sma="kelis.fr:scenari/modeling/assessment" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns="http://www.w3.org/1999/xhtml" info="exercice d'entrainement, boutons solution score et reset, fonctions jouer - reset - afficher Solutions - masquer Solutions">
2
	<sm:model sc:refUri="/academic/model/Uc/quiz/mcqSur.model"/>
3
	<sm:scenario>
4
		<sm:sequence code="play">
5
			<sm:initBody>
6
				<sm:choiceInteraction mode="enabled"/>
7
				<sm:solutionDisplay mode="hidden"/>
8
				<sm:elementDisplay refId="score" mode="invisible"/>
9
				<sm:elementDisplay refId="chExpln" mode="collapsed"/>
10
				<sm:elementDisplay refId="gExpln" mode="collapsed"/>
11
			</sm:initBody>
12
			<sm:loadData>
13
				<sm:responseSessionKey>
14
					<sm:fixedKey value=""/>
15
				</sm:responseSessionKey>
16
			</sm:loadData>
17
			<sm:saveData>
18
				<sm:responseSessionKey>
19
					<sm:fixedKey value=""/>
20
				</sm:responseSessionKey>
21
				<sm:scoreSessionKey>
22
					<sm:fixedKey value=""/>
23
				</sm:scoreSessionKey>
24
			</sm:saveData>
25
			<sm:scoreComputing>
26
				<sm:forBooleanScoring scoreIfRight="1" scoreIfWrong="0"/>
27
			</sm:scoreComputing>
28
		</sm:sequence>
29
	</sm:scenario>
30
	<sm:publicFunctions>
31
		<sm:function fctName="play">
32
			<sm:goToSequence refCode="play"/>
33
		</sm:function>
34
		<sm:function fctName="reset">
35
			<sm:resetSession response="yes" score="yes">
36
				<sm:sessionKey>
37
					<sm:fixedKey value=""/>
38
				</sm:sessionKey>
39
			</sm:resetSession>
40
			<sm:goToSequence refCode="play"/>
41
		</sm:function>
42
		<sm:function fctName="displaySol">
43
			<sm:solutionDisplay mode="shown"/>
44
			<sm:elementDisplay refId="chExpln" mode="visible"/>
45
			<sm:elementDisplay refId="gExpln" mode="visible"/>
46
		</sm:function>
47
		<sm:function fctName="cleanSol">
48
			<sm:solutionDisplay mode="hidden"/>
49
			<sm:elementDisplay refId="gExpln" mode="collapsed"/>
50
			<sm:elementDisplay refId="chExpln" mode="collapsed"/>
51
		</sm:function>
52
	</sm:publicFunctions>
53
	<sm:assmntBody>
54
		<div class="bkSolResOut">
55
			<div class="bkSolResFra1">
56
				<div class="bkSolResFra2">
57
					<div class="bkSolResFra3">
58
						<div class="bkSolResCo">
59
							<div class="btnScore">
60
								<sm:WToggleButton widgetClass="btnQuiz">
61
									<sm:buttonBody>
62
										<span class="btnQuizCaption">Score</span>
63
									</sm:buttonBody>
64
									<sm:buttonTitle>
65
										<sm:fixedString value=";Calculer le score"/>
66
									</sm:buttonTitle>
67
									<sm:buttonActionOn>
68
										<sm:elementDisplay refId="score" mode="visible"/>
69
									</sm:buttonActionOn>
70
									<sm:buttonActionOff>
71
										<sm:elementDisplay refId="score" mode="invisible"/>
72
									</sm:buttonActionOff>
73
								</sm:WToggleButton>
74
							</div>
75
							<div class="btnSol">
76
								<sm:WToggleButton widgetClass="btnQuiz">
77
									<sm:buttonBody>
78
										<span class="btnQuizCaption">Solutions</span>
79
									</sm:buttonBody>
80
									<sm:buttonTitle>
81
										<sm:fixedString value=";Afficher ou masquer les solutions"/>
82
									</sm:buttonTitle>
83
									<sm:buttonActionOn>
84
										<sm:solutionDisplay mode="shown"/>
85
										<sm:elementDisplay refId="gExpln" mode="visible"/>
86
										<sm:elementDisplay refId="chExpln" mode="visible"/>
87
									</sm:buttonActionOn>
88
									<sm:buttonActionOff>
89
										<sm:solutionDisplay mode="hidden"/>
90
										<sm:elementDisplay refId="gExpln" mode="collapsed"/>
91
										<sm:elementDisplay refId="chExpln" mode="collapsed"/>
92
									</sm:buttonActionOff>
93
								</sm:WToggleButton>
94
							</div>
95
							<div class="btnReset">
96
								<sm:WButton widgetClass="btnQuiz">
97
									<sm:buttonBody>
98
										<span class="btnQuizCaption">Recommencer</span>
99
									</sm:buttonBody>
100
									<sm:buttonTitle>
101
										<sm:fixedString value=";Effacer les réponses"/>
102
									</sm:buttonTitle>
103
									<sm:buttonAction>
104
										<sm:resetSession response="yes" score="yes">
105
											<sm:sessionKey>
106
												<sm:fixedKey value=""/>
107
											</sm:sessionKey>
108
										</sm:resetSession>
109
										<sm:goToSequence refCode="play"/>
110
									</sm:buttonAction>
111
								</sm:WButton>
112
							</div>
113
							<div class="scoreBox">
114
								<sm:WScore widgetClass="score" sm:id="score">
115
									<sm:scoreText>
116
										<sm:scaleScore min="0" max="100" step="1">
117
											<sm:display class="answBest" scoreMoreThan="99" valueFormat="numeric" suffix=";% de bonnes réponses"/>
118
											<sm:display class="answGood" scoreMoreThan="49" scoreLessOrEqualThan="99" valueFormat="numeric" suffix=";% de bonnes réponses"/>
119
											<sm:display class="answBad" scoreLessOrEqualThan="49" valueFormat="numeric" suffix=";% de bonnes réponses"/>
120
										</sm:scaleScore>
121
									</sm:scoreText>
122
								</sm:WScore>
123
							</div>
124
						</div>
125
					</div>
126
				</div>
127
			</div>
128
		</div>
129
		<div class="headerQ">
130
			<div class="question" sm:id="question">
131
				<sm:callQuestionModel/>
132
			</div>
133
		</div>
134
		<div sm:id="choiceList">
135
			<sm:WChoiceList widgetClass="choiceList">
136
				<sm:choiceBody>
137
					<div class="choice" sm:id="choice">
138
						<div class="label" sm:id="label">
139
							<sm:callLabelModel/>
140
						</div>
141
						<sm:WChoiceExplanation widgetClass="chExpln" sm:id="chExpln">
142
							<sm:callExplanationModel/>
143
						</sm:WChoiceExplanation>
144
					</div>
145
				</sm:choiceBody>
146
			</sm:WChoiceList>
147
		</div>
148
		<sm:WGlobalExplanation widgetClass="gExpln" sm:id="gExpln">
149
			<sm:callExplanationModel/>
150
		</sm:WGlobalExplanation>
151
	</sm:assmntBody>
153 152
</sma:assmntUnitMcqXhtmlTransf>

Also available in: Unified diff