Subversion Repositories wimsdev

Rev

Rev 13714 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13714 Rev 15026
Line 92... Line 92...
92
 
92
 
93
:Third step instruction
93
:Third step instruction
94
\text{instruction3=Give the past participle of the verb \name}
94
\text{instruction3=Give the past participle of the verb \name}
95
 
95
 
96
:%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%%
96
:%%%%%%%%%%%%%% Nothing to modify until statement %%%%%%%%%%%%%%%%
-
 
97
\css{<style>
-
 
98
  .name {color:#047;}
-
 
99
  .big_bullet>li{font-size:2em;color:#599;margin:0 0 .5em .5em;}
-
 
100
  .big_bullet div, .big_bullet label{font-size:1rem;margin:.2em;}
97
\css{<style>.feedback{color:#666}.name {color:#047;}.big_bullet>li{font-size:2em;color: #599;margin-bottom:.5em;}.big_bullet div{font-size:1rem;margin:.2em;}.big_bullet .instruction,.big_bullet .reponse{color:initial;}</style>}
101
  .big_bullet .instruction,.big_bullet .reponse{color:initial;}
-
 
102
</style>}
98
 
103
 
99
\text{format1=wims(word 1 of \format1)}
104
\text{format1=wims(word 1 of \format1)}
100
\text{format2=wims(word 1 of \format2)}
105
\text{format2=wims(word 1 of \format2)}
101
\text{format3=wims(word 1 of \format3)}
106
\text{format3=wims(word 1 of \format3)}
102
\text{rep1=\data[1]}
107
\text{rep1=\data[1]}
Line 150... Line 155...
150
 
155
 
151
\statement{
156
\statement{
152
<div>\instruction</div>
157
<div>\instruction</div>
153
<ol class="big_bullet"><li>
158
<ol class="big_bullet"><li>
154
  <div class="instruction">\instruction1</div>
159
  <div class="instruction">\instruction1</div>
-
 
160
  \if{\step=1 or \step>=4}{
-
 
161
    \if{\format1 notsametext radio}{
-
 
162
      <label class="reponse" for="reply1">\name_my_answer \embed{r1}</label>
-
 
163
    }{
155
  \if{\step=1 or \step>=4}{ <div class="reponse">\name_my_answer \embed{r1}</div> }
164
      <div class="reponse">\name_my_answer \embed{r1}</div>
-
 
165
    }
-
 
166
  }{
156
  {<div class="reponse">
167
    <div class="reponse">
157
      \name_my_answer <span class="name">\reply1</span>
168
      \name_my_answer <span class="name">\reply1</span>
158
   </div>}
169
    </div>
-
 
170
  }
159
 
171
 
160
  \if{\step>=2}{
172
  \if{\step>=2}{
161
    <div class="feedback">
173
    <div class="feedback
162
      \if{\sc_reply1=1}{\right}{\false} \feedback1
174
      \if{\sc_reply1=1}{oef_indgood">\right}{\if{\sc_reply1<=0}{oef_indbad}{oef_indpartial}">\false} \feedback1
163
    </div>
175
    </div>
164
    </li><li>
176
    </li><li>
165
    <div class="instruction">
177
    <div class="instruction">
166
      \instruction2
178
      \instruction2
167
    </div>
179
    </div>
168
  }
180
  }
-
 
181
 
-
 
182
  \if{\step=2 or \step>=4}{
-
 
183
    \if{\format2 notsametext radio}{
-
 
184
      <label class="reponse" for="reply2">\name_my_answer \embed{r2}</label>
-
 
185
    }{
169
  \if{\step=2 or \step>=4}{ <div class="reponse">\name_my_answer \embed{r2}</div> }
186
      <div class="reponse">\name_my_answer \embed{r2}</div>
-
 
187
    }
-
 
188
  }
170
 
189
 
171
  \if{\step>=3}{
190
  \if{\step>=3}{
172
    \if{\step < 4}{
191
    \if{\step < 4}{
173
      <div class="reponse">
192
      <div class="reponse">
174
        \name_my_answer <span class="name">\reply2</span>
193
        \name_my_answer <span class="name">\reply2</span>
175
      </div>
194
      </div>
176
    }
195
    }
177
    <div class="feedback">
196
    <div class="feedback
178
      \if{\sc_reply2=1}{\right}{\false} \feedback2
197
      \if{\sc_reply2=1}{oef_indgood">\right}{\if{\sc_reply2<=0}{oef_indbad}{oef_indpartial}">\false} \feedback2
179
    </div>
198
    </div>
180
    \if{\format3!=0}{
199
    \if{\format3!=0}{
181
      </li><li>
200
      </li><li>
182
      <div class="instruction"> \instruction3</div>
201
      <div class="instruction"> \instruction3</div>
-
 
202
      \if{\format3 notsametext radio}{
-
 
203
        <label class="reponse" for="reply3">\name_my_answer \embed{r3}</label>
-
 
204
      }{
183
      <div class="reponse">\name_my_answer \embed{r3}</div>
205
        <div class="reponse">\name_my_answer \embed{r3}</div>
-
 
206
      }
184
    }
207
    }
185
  }
208
  }
186
  \if{\step>=4 and \format3!=0}{
209
  \if{\step>=4 and \format3!=0}{
187
    <div class="feedback">
210
    <div class="feedback
188
      \if{\sc_reply3=1}{\right}{\false} \feedback3
211
      \if{\sc_reply3=1}{oef_indgood">\right}{\if{\sc_reply3<=0}{oef_indbad}{oef_indpartial}">\false} \feedback3
189
    </div>
212
    </div>
190
  }
213
  }
191
  </li>
214
  </li>
192
</ol>
215
</ol>
193
}
216
}