Subversion Repositories wimsdev

Rev

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

Rev 15179 Rev 17142
Line 84... Line 84...
84
be indicated whether the selected choices are right or wrong.
84
be indicated whether the selected choices are right or wrong.
85
<li></li>
85
<li></li>
86
If you choose "no" then, after each question, the selected choices
86
If you choose "no" then, after each question, the selected choices
87
 will be displayed without any indication.
87
 will be displayed without any indication.
88
</li></ul>
88
</li></ul>
89
In other cases, after each question, it will be indicated whether 
89
In other cases, after each question, it will be indicated whether
90
the selected choices are right or wrong and in case of error, 
90
the selected choices are right or wrong and in case of error,
91
the list of correct choices will be displayed.
91
the list of correct choices will be displayed.
92
 
92
 
93
\text{answer_given=item(1, yes, no)}
93
\text{answer_given=item(1, yes, no)}
94
 
94
 
95
:Questions
95
:Questions
Line 270... Line 270...
270
 .enonce{margin-bottom:0}
270
 .enonce{margin-bottom:0}
271
 .qcm_prompt2{margin-top:.5em}
271
 .qcm_prompt2{margin-top:.5em}
272
 img{vertical-align:middle;}
272
 img{vertical-align:middle;}
273
 .q_num, .panel .wims_title{
273
 .q_num, .panel .wims_title{
274
 font-size:120%;font-family:Impact, Charcoal, sans-serif;
274
 font-size:120%;font-family:Impact, Charcoal, sans-serif;
275
 color:#777;
275
 color:#717171;
276
 }
276
 }
277
 .feedback{border:1px dashed grey;padding:.5em;margin-top:.5em;}
277
 .feedback{border:1px dashed grey;padding:.5em;margin-top:.5em;}
278
 .reponse {
278
 .reponse {
279
   margin: 0 1em;
279
   margin: 0 1em;
280
   padding: .5em;
280
   padding: .5em;
Line 453... Line 453...
453
 
453
 
454
  \for{h=1 to \etape[\step]}{
454
  \for{h=1 to \etape[\step]}{
455
 
455
 
456
    \if{\question[\h;] notsametext }{
456
    \if{\question[\h;] notsametext }{
457
      \if{\h <= \etape[\step] - \N}
457
      \if{\h <= \etape[\step] - \N}
458
        {<div class="panel">}
458
        {<fieldset class="panel">}
459
        {\if{r \h isitemof \nstep}{<div class="panel callout">}}
459
        {\if{r \h isitemof \nstep}{<fieldset class="panel callout">}}
460
      }
460
      }
461
 
461
 
462
   \if{(\h <= \etape[\step] - \N or r \h isitemof \nstep) and \question[\h;] notsametext }{
462
   \if{(\h <= \etape[\step] - \N or r \h isitemof \nstep) and \question[\h;] notsametext }{
463
     <div class="enonce">
463
     <div class="enonce">
464
       \if{\cnt_step > 1 and \MAX > 1}{<span class="q_num">\h. </span>}
464
       \if{\cnt_step > 1 and \MAX > 1}{<span class="q_num">\h. </span>}
Line 508... Line 508...
508
        </ol>
508
        </ol>
509
      </div>
509
      </div>
510
      }
510
      }
511
   }
511
   }
512
   \if{\question[\h;] notsametext
512
   \if{\question[\h;] notsametext
513
    and (\h <= \etape[\step] - \N or r \h isitemof \nstep)}{</div>}
513
    and (\h <= \etape[\step] - \N or r \h isitemof \nstep)}{</fieldset>}
514
  }
514
  }
515
 }
515
 }
516
\answer{}{\REP1;\CHOIX[1;]}{type=\format}{option=\option}
516
\answer{}{\REP1;\CHOIX[1;]}{type=\format}{option=\option}
517
\answer{}{\REP2;\CHOIX[2;]}{type=\format}{option=\option}
517
\answer{}{\REP2;\CHOIX[2;]}{type=\format}{option=\option}
518
\answer{}{\REP3;\CHOIX[3;]}{type=\format}{option=\option}
518
\answer{}{\REP3;\CHOIX[3;]}{type=\format}{option=\option}