Rev 11160 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !!! fichier de présentation de l'étape 3 !!! |
11160 | bpr | 2 | <h3 class="wimscenter"> |
3 | Etape $etape: saisie des bonnes réponses |
||
4 | </h3> |
||
5 | <p> |
||
6 | Indiquez pour la question ci-dessous, la liste des réponses valides |
||
7 | (c'est-à-dire considérées comme justes) pour cette question, en |
||
11157 | bpr | 8 | cochant les bonnes cases. |
11160 | bpr | 9 | </p> |
23 | reyssat | 10 | !set obtemp=!line $[$chronobs+1] of $obsrecord |
11 | !set obtemp=!trim $obtemp |
||
12 | !set obtemp=!char 2 to -2 of $obtemp |
||
13 | |||
14 | !set L=!line $[$chronobs+1] of $propsrepList |
||
15 | !for i=1 to $[$propsnb+1] |
||
16 | !set prop=!line $i of $propsrecord |
||
17 | !set prop=!trim $prop |
||
18 | !if ; isin $prop |
||
19 | !set p$(i)=!char 2 to -2 of $prop |
||
20 | !else |
||
21 | !set p$(i)=$prop |
||
11157 | bpr | 22 | !endif |
23 | reyssat | 23 | !next i |
24 | |||
25 | !set indictemp=!trim $(indicList[$[$chronobs+1];]) |
||
26 | !set com=!char 4 to -2 of $indictemp |
||
27 | !set indictemp=!trim $com |
||
28 | |||
11157 | bpr | 29 | <table class="wimscenter wimsborder"> |
23 | reyssat | 30 | <tr> |
11157 | bpr | 31 | <th style="background-color:lightblue"> |
23 | reyssat | 32 | Question |
33 | </th> |
||
11157 | bpr | 34 | <th bgcolor=wheat> |
23 | reyssat | 35 | Réponses |
36 | </th> |
||
37 | </tr> |
||
38 | <tr> |
||
1005 | bpr | 39 | <td bgcolor=lightblue width="30%"> |
23 | reyssat | 40 | <table> |
41 | <tr> |
||
42 | <td bgcolor=white> |
||
11157 | bpr | 43 | $obtemp |
23 | reyssat | 44 | </td> |
45 | </tr> |
||
46 | </table> |
||
47 | </td> |
||
11157 | bpr | 48 | <td bgcolor=darkcyan> |
23 | reyssat | 49 | <table cellpadding=4> |
50 | !for i=1 to $rowsnb |
||
51 | !set bg$(i)=$(coulors[$[((2*$i-1)%3)+1];]) |
||
52 | !set bg2$(i)=$(coulors[$[((2*$i)%3)+1];]) |
||
53 | <tr> |
||
1123 | bpr | 54 | <td bgcolor="$(bg$(i))"> |
6063 | bpr | 55 | <input type="checkbox" name="propsrep" value="$i" |
23 | reyssat | 56 | !if $i isitemof $L |
57 | checked |
||
58 | !endif |
||
17230 | bpr | 59 | > |
23 | reyssat | 60 | </td> |
1123 | bpr | 61 | <td bgcolor="$(bg$(i))"> |
23 | reyssat | 62 | $(p$(i)) |
63 | </td> |
||
64 | <td> |
||
65 | |
||
66 | </td> |
||
1123 | bpr | 67 | <td bgcolor="$(bg2$(i))"> |
6063 | bpr | 68 | <input type="checkbox" name="propsrep" value="$[$i+$rowsnb]" |
23 | reyssat | 69 | !if $[$i+$rowsnb] isitemof $L |
70 | checked |
||
71 | !endif |
||
17230 | bpr | 72 | > |
23 | reyssat | 73 | </td> |
1123 | bpr | 74 | <td bgcolor="$(bg2$(i))"> |
23 | reyssat | 75 | $(p$[$i+$rowsnb]) |
76 | </td> |
||
77 | </tr> |
||
78 | !next i |
||
79 | !if $extrarow!=0 |
||
80 | <tr> |
||
11157 | bpr | 81 | <td bgcolor="$(coulors[$[($propsnb+1)%3+1];])" colspan="5"> |
6063 | bpr | 82 | <input type="checkbox" name="propsrep" value="$[$propsnb+1]" |
23 | reyssat | 83 | !if [$propsnb+1] isitemof $L |
84 | checked |
||
85 | !endif |
||
17230 | bpr | 86 | > |
23 | reyssat | 87 | $(p$[$propsnb+1]) |
88 | </td> |
||
89 | </tr> |
||
90 | !endif |
||
91 | </table> |
||
92 | </td> |
||
93 | </tr> |
||
94 | <tr> |
||
6063 | bpr | 95 | <td colspan="2" bgcolor="white"> |
17230 | bpr | 96 | <hr> |
23 | reyssat | 97 | Saisir ici si besoin, une indication pour cette question: |
17230 | bpr | 98 | <br> |
23 | reyssat | 99 | !set wims_backslash_insmath=no |
100 | !set indictemp=!reinput $indictemp |
||
3049 | bpr | 101 | <textarea name="exo_indic" rows=5 cols=60>$indictemp</textarea> |
23 | reyssat | 102 | !set wims_backslash_insmath=yes |
11157 | bpr | 103 | </td> |
23 | reyssat | 104 | </tr> |
105 | </table> |
||
106 | |||
107 | !read comsDir/valideb |