Rev 12784 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12784 | Rev 13495 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | </thead> |
28 | </thead> |
29 | <tbody> |
29 | <tbody> |
30 | <tr> |
30 | <tr> |
31 | <td style="vertical-align:top"> |
31 | <td style="vertical-align:top"> |
32 | 32 | ||
33 | !! list of |
33 | !! list of available sheets |
34 | <div> |
34 | <div> |
35 | <label for="ltsheets">$name_selectsheet</label> |
35 | <label for="ltsheets">$name_selectsheet</label> |
36 | <select id="ltsheets" name="ltsheets" value="$ltsheets" |
36 | <select id="ltsheets" name="ltsheets" value="$ltsheets" |
37 | onchange="filterSelectExoSheet(this.form.elements['select_sheet1'], this.form.elements['ltsheets'])" |
37 | onchange="filterSelectExoSheet(this.form.elements['select_sheet1'], this.form.elements['ltsheets'])" |
38 | > |
38 | > |
Line 58... | Line 58... | ||
58 | !next k |
58 | !next k |
59 | </select> |
59 | </select> |
60 | </div> |
60 | </div> |
61 | 61 | ||
62 | !! Available exercices |
62 | !! Available exercices |
- | 63 | <select $select_option name="select_sheet1" id="select_sheet1" |
|
63 |
|
64 | ondblclick="moveSelections(this.form.elements['select_sheet1'], this.form.elements['select_sheet2'], this.form.elements['echoose'], 'add')"> |
64 | !for i in $asheets |
65 | !for i in $asheets |
65 | !set t=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$i |
66 | !set t=!recordcnt wimshome/log/classes/$wims_class/sheets/.sheet$i |
66 | !for j=1 to $t |
67 | !for j=1 to $t |
67 | !if $i.$j isitemof $echoose |
68 | !if $i.$j isitemof $echoose |
68 | !set r=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$i |
69 | !set r=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$i |
69 | !distribute line $r into r1,r2,r3,r4,r5,r6 |
70 | !distribute line $r into r1,r2,r3,r4,r5,r6 |
70 | !let checked=!append line <option value="$i.$j" data-sheetId="$i">$i.$j : $r5</option> to $checked |
71 | !let checked=!append line <option value="$i.$j" data-sheetId="$i">$i.$j : $r5</option> to $checked |
71 | !else |
72 | !else |
72 | !if $i isitemof $ltsheets |
- | |
73 | !set r=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$i |
73 | !set r=!record $j of wimshome/log/classes/$wims_class/sheets/.sheet$i |
74 | !distribute line $r into r1,r2,r3,r4,r5,r6 |
74 | !distribute line $r into r1,r2,r3,r4,r5,r6 |
75 | <option value="$i.$j" data-sheetId="$i" |
75 | <option value="$i.$j" data-sheetId="$i" |
- | 76 | !if $i notitemof $ltsheets |
|
- | 77 | style="display:none;" |
|
76 | !endif |
78 | !endif |
- | 79 | >$i.$j : $r5</option> |
|
77 | !endif |
80 | !endif |
78 | !next j |
81 | !next j |
79 | !next i |
82 | !next i |
80 | </select> |
83 | </select> |
81 | </td> |
84 | </td> |