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