Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

ordWord.transf
1
<?xml version="1.0" encoding="UTF-8"?>
2
<sma:assmntUnitMlqXhtmlTransf 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/ordWord.model"/>
4
	<sm:scenario>
5
		<sm:sequence code="play">
6
			<sm:initBody>
7
				<sm:labelInteraction mode="enabled"/>
8
				<sm:resultDisplay mode="none"/>
9
				<sm:elementDisplay refId="score" mode="invisible"/>
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:scoreSessionKey>
17
					<sm:fixedKey value=""/>
18
				</sm:scoreSessionKey>
19
			</sm:loadData>
20
			<sm:saveData>
21
				<sm:responseSessionKey>
22
					<sm:fixedKey value=""/>
23
				</sm:responseSessionKey>
24
				<sm:scoreSessionKey>
25
					<sm:fixedKey value=""/>
26
				</sm:scoreSessionKey>
27
			</sm:saveData>
28
			<sm:scoreComputing>
29
				<sm:orderingScoring algorithm="distance"/>
30
			</sm:scoreComputing>
31
			<sm:resultDisplaying classIfRight="ddLabel_Right" classIfWrong="ddLabel_Wrong"/>
32
		</sm:sequence>
33
	</sm:scenario>
34
	<sm:publicFunctions>
35
		<sm:function fctName="play">
36
			<sm:goToSequence refCode="play"/>
37
		</sm:function>
38
		<sm:function fctName="reset">
39
			<sm:resetSession response="yes" score="yes">
40
				<sm:sessionKey>
41
					<sm:fixedKey value=""/>
42
				</sm:sessionKey>
43
			</sm:resetSession>
44
			<sm:goToSequence refCode="play"/>
45
		</sm:function>
46
		<sm:function fctName="displaySol">
47
			<sm:resultDisplay mode="addClass"/>
48
			<sm:elementDisplay refId="gExpln" mode="visible"/>
49
		</sm:function>
50
		<sm:function fctName="cleanSol">
51
			<sm:resultDisplay mode="none"/>
52
			<sm:elementDisplay refId="gExpln" mode="collapsed"/>
53
		</sm:function>
54
	</sm:publicFunctions>
55
	<sm:assmntBody>
56
		<div sm:commonClass="bkSolResOut">
57
			<div sm:commonClass="bkSolResFra1">
58
				<div sm:commonClass="bkSolResFra2">
59
					<div sm:commonClass="bkSolResFra3">
60
						<div sm:commonClass="bkSolResCo">
61
							<div sm:commonClass="btnScore">
62
								<sm:WToggleButton commonClass="btnQuiz">
63
									<sm:buttonBody>
64
										<span sm:commonClass="btnQuizCaption">Score</span>
65
									</sm:buttonBody>
66
									<sm:buttonTitle>
67
										<sm:fixedString value="Calculer le score"/>
68
									</sm:buttonTitle>
69
									<sm:buttonActionOn>
70
										<sm:elementDisplay refId="score" mode="visible"/>
71
									</sm:buttonActionOn>
72
									<sm:buttonActionOff>
73
										<sm:elementDisplay refId="score" mode="invisible"/>
74
									</sm:buttonActionOff>
75
								</sm:WToggleButton>
76
							</div>
77
							<div sm:commonClass="btnHelp">
78
								<sm:WToggleButton commonClass="btnQuiz">
79
									<sm:buttonBody>
80
										<span sm:commonClass="btnQuizCaption">Aide</span>
81
									</sm:buttonBody>
82
									<sm:buttonTitle>
83
										<sm:fixedString value="Afficher ou masquer l'aide"/>
84
									</sm:buttonTitle>
85
									<sm:buttonActionOn>
86
										<sm:resultDisplay mode="addClass"/>
87
										<sm:elementDisplay refId="gExpln" mode="visible"/>
88
									</sm:buttonActionOn>
89
									<sm:buttonActionOff>
90
										<sm:resultDisplay mode="none"/>
91
										<sm:elementDisplay refId="gExpln" mode="collapsed"/>
92
									</sm:buttonActionOff>
93
								</sm:WToggleButton>
94
							</div>
95
							<div sm:commonClass="btnReset">
96
								<sm:WButton commonClass="btnQuiz">
97
									<sm:buttonBody>
98
										<span sm:commonClass="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 sm:commonClass="scoreBox">
114
								<sm:WScore sm:id="score" commonClass="score">
115
									<sm:scoreText>
116
										<sm:scaleScore min="0" max="100" step="1">
117
											<sm:display scoreMoreThan="99" valueFormat="numeric" suffix="% de bonnes réponses" commonClass="answBest"/>
118
											<sm:display scoreMoreThan="49" scoreLessOrEqualThan="99" valueFormat="numeric" suffix="% de bonnes réponses" commonClass="answGood"/>
119
											<sm:display scoreLessOrEqualThan="49" valueFormat="numeric" suffix="% de bonnes réponses" commonClass="answBad"/>
120
										</sm:scaleScore>
121
									</sm:scoreText>
122
								</sm:WScore>
123
							</div>
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
			<sm:WLabelsBasket tagName="div" commonClass="ddBasket">
136
				<sm:WDragDropContainer tagName="div" dropMode="append" onDragOverClass="ddBasketDragOver" commonClass="ddBasketCatch">
137
					<sm:WContainer tagName="div" commonClass="ddBasketCont">
138
						<sm:forRandomLabel>
139
							<sm:WDraggableLabel tagName="div" onDragClass="ddLabelDrag" commonClass="ddLabel">
140
								<sm:callLabelModel/>
141
							</sm:WDraggableLabel>
142
						</sm:forRandomLabel>
143
					</sm:WContainer>
144
					<sm:WIfContainerEmpty tagName="div" commonClass="ddBasketIfEmpty">
145
						<span>Plus d'éléments à ordonner</span>
146
					</sm:WIfContainerEmpty>
147
					<div sm:commonClass="ddBasketEnd"/>
148
				</sm:WDragDropContainer>
149
			</sm:WLabelsBasket>
150
			<sm:WResponseArea tagName="div" commonClass="ddRepArea">
151
				<sm:WDragDropContainer tagName="div" dropMode="ordered" onDragOverClass="ddCatchDragOver" commonClass="ddDropCatch">
152
					<sm:WContainer tagName="div" commonClass="ddDropCont"/>
153
					<sm:WIfContainerEmpty tagName="div" commonClass="ddDropContIfEmpty">
154
						<span>Déposez ici</span>
155
					</sm:WIfContainerEmpty>
156
					<div sm:commonClass="ddCatchDragEnd"/>
157
				</sm:WDragDropContainer>
158
			</sm:WResponseArea>
159
			<sm:WGlobalExplanation sm:id="gExpln" commonClass="gExpln">
160
				<sm:callExplanationModel/>
161
			</sm:WGlobalExplanation>
162
		</div>
163
	</sm:assmntBody>
1
<?xml version="1.0" encoding="UTF-8"?><sma:assmntUnitMlqXhtmlTransf 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/ordWord.model"/>
3
	<sm:scenario>
4
		<sm:sequence code="play">
5
			<sm:initBody>
6
				<sm:labelInteraction mode="enabled"/>
7
				<sm:resultDisplay mode="none"/>
8
				<sm:elementDisplay refId="score" mode="invisible"/>
9
				<sm:elementDisplay refId="gExpln" mode="collapsed"/>
10
			</sm:initBody>
11
			<sm:loadData>
12
				<sm:responseSessionKey>
13
					<sm:fixedKey value=""/>
14
				</sm:responseSessionKey>
15
				<sm:scoreSessionKey>
16
					<sm:fixedKey value=""/>
17
				</sm:scoreSessionKey>
18
			</sm:loadData>
19
			<sm:saveData>
20
				<sm:responseSessionKey>
21
					<sm:fixedKey value=""/>
22
				</sm:responseSessionKey>
23
				<sm:scoreSessionKey>
24
					<sm:fixedKey value=""/>
25
				</sm:scoreSessionKey>
26
			</sm:saveData>
27
			<sm:scoreComputing>
28
				<sm:orderingScoring algorithm="distance"/>
29
			</sm:scoreComputing>
30
			<sm:resultDisplaying classIfRight="ddLabel_Right" classIfWrong="ddLabel_Wrong"/>
31
		</sm:sequence>
32
	</sm:scenario>
33
	<sm:publicFunctions>
34
		<sm:function fctName="play">
35
			<sm:goToSequence refCode="play"/>
36
		</sm:function>
37
		<sm:function fctName="reset">
38
			<sm:resetSession response="yes" score="yes">
39
				<sm:sessionKey>
40
					<sm:fixedKey value=""/>
41
				</sm:sessionKey>
42
			</sm:resetSession>
43
			<sm:goToSequence refCode="play"/>
44
		</sm:function>
45
		<sm:function fctName="displaySol">
46
			<sm:resultDisplay mode="addClass"/>
47
			<sm:elementDisplay refId="gExpln" mode="visible"/>
48
		</sm:function>
49
		<sm:function fctName="cleanSol">
50
			<sm:resultDisplay mode="none"/>
51
			<sm:elementDisplay refId="gExpln" mode="collapsed"/>
52
		</sm:function>
53
	</sm:publicFunctions>
54
	<sm:assmntBody>
55
		<div class="bkSolResOut">
56
			<div class="bkSolResFra1">
57
				<div class="bkSolResFra2">
58
					<div class="bkSolResFra3">
59
						<div class="bkSolResCo">
60
							<div class="btnScore">
61
								<sm:WToggleButton widgetClass="btnQuiz">
62
									<sm:buttonBody>
63
										<span class="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 class="btnHelp">
77
								<sm:WToggleButton widgetClass="btnQuiz">
78
									<sm:buttonBody>
79
										<span class="btnQuizCaption">Aide</span>
80
									</sm:buttonBody>
81
									<sm:buttonTitle>
82
										<sm:fixedString value=";Afficher ou masquer l'aide"/>
83
									</sm:buttonTitle>
84
									<sm:buttonActionOn>
85
										<sm:resultDisplay mode="addClass"/>
86
										<sm:elementDisplay refId="gExpln" mode="visible"/>
87
									</sm:buttonActionOn>
88
									<sm:buttonActionOff>
89
										<sm:resultDisplay mode="none"/>
90
										<sm:elementDisplay refId="gExpln" mode="collapsed"/>
91
									</sm:buttonActionOff>
92
								</sm:WToggleButton>
93
							</div>
94
							<div class="btnReset">
95
								<sm:WButton widgetClass="btnQuiz">
96
									<sm:buttonBody>
97
										<span class="btnQuizCaption">Recommencer</span>
98
									</sm:buttonBody>
99
									<sm:buttonTitle>
100
										<sm:fixedString value=";Effacer les réponses"/>
101
									</sm:buttonTitle>
102
									<sm:buttonAction>
103
										<sm:resetSession response="yes" score="yes">
104
											<sm:sessionKey>
105
												<sm:fixedKey value=""/>
106
											</sm:sessionKey>
107
										</sm:resetSession>
108
										<sm:goToSequence refCode="play"/>
109
									</sm:buttonAction>
110
								</sm:WButton>
111
							</div>
112
							<div class="scoreBox">
113
								<sm:WScore widgetClass="score" sm:id="score">
114
									<sm:scoreText>
115
										<sm:scaleScore min="0" max="100" step="1">
116
											<sm:display class="answBest" scoreMoreThan="99" valueFormat="numeric" suffix=";% de bonnes réponses"/>
117
											<sm:display class="answGood" scoreMoreThan="49" scoreLessOrEqualThan="99" valueFormat="numeric" suffix=";% de bonnes réponses"/>
118
											<sm:display class="answBad" scoreLessOrEqualThan="49" valueFormat="numeric" suffix=";% de bonnes réponses"/>
119
										</sm:scaleScore>
120
									</sm:scoreText>
121
								</sm:WScore>
122
							</div>
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
			<sm:WLabelsBasket widgetClass="ddBasket" tagName="div">
135
				<sm:WDragDropContainer widgetClass="ddBasketCatch" tagName="div" dropMode="append" onDragOverClass="ddBasketDragOver">
136
					<sm:WContainer widgetClass="ddBasketCont" tagName="div">
137
						<sm:forRandomLabel>
138
							<sm:WDraggableLabel widgetClass="ddLabel" tagName="div" onDragClass="ddLabelDrag">
139
								<sm:callLabelModel/>
140
							</sm:WDraggableLabel>
141
						</sm:forRandomLabel>
142
					</sm:WContainer>
143
					<sm:WIfContainerEmpty widgetClass="ddBasketIfEmpty" tagName="div">
144
						<span>Plus d'éléments à ordonner</span>
145
					</sm:WIfContainerEmpty>
146
					<div class="ddBasketEnd"/>
147
				</sm:WDragDropContainer>
148
			</sm:WLabelsBasket>
149
			<sm:WResponseArea widgetClass="ddRepArea" tagName="div">
150
				<sm:WDragDropContainer widgetClass="ddDropCatch" tagName="div" dropMode="ordered" onDragOverClass="ddCatchDragOver">
151
					<sm:WContainer widgetClass="ddDropCont" tagName="div"/>
152
					<sm:WIfContainerEmpty widgetClass="ddDropContIfEmpty" tagName="div">
153
						<span>Déposez ici</span>
154
					</sm:WIfContainerEmpty>
155
					<div class="ddCatchDragEnd"/>
156
				</sm:WDragDropContainer>
157
			</sm:WResponseArea>
158
			<sm:WGlobalExplanation widgetClass="gExpln" sm:id="gExpln">
159
				<sm:callExplanationModel/>
160
			</sm:WGlobalExplanation>
161
		</div>
162
	</sm:assmntBody>
164 163
</sma:assmntUnitMlqXhtmlTransf>

Also available in: Unified diff