Rev 12621 | Rev 12638 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | !readproc jobs/supervisors.proc |
2 | !if $cnt1>0 |
||
12626 | bpr | 3 | <script src="scripts/js/tablesort.js"></script> |
4 | !set table_id=TABLE_gestionlist |
||
5 | !set table_class=sortable |
||
12616 | bpr | 6 | $table_header |
7 | <caption class="nowrap">$name_othergestion</caption> |
||
12626 | bpr | 8 | <thead> |
12616 | bpr | 9 | $table_hdtr |
12626 | bpr | 10 | <th scope="col">$wims_name_Login</th><th scope="col">$wims_name_firstname</th> |
11 | <th scope="col">$wims_name_lastname</th><th scope="col" data-sort-method="none">$wims_name_action</th> |
||
12616 | bpr | 12 | </tr> |
12626 | bpr | 13 | </thead> |
14 | <tbody> |
||
12616 | bpr | 15 | !for i=1 to $cnt1 |
16 | !set l=!line $(list1[$i]) of $teacherlist |
||
17 | !distribute items $l into last,first,log |
||
18 | $table_tr |
||
19 | <td class="tt">$log</td> |
||
20 | <td>$first</td><td>$last</td> |
||
21 | <td> |
||
22 | !set wims_ref_class=wims_button wims_warning |
||
23 | !href cmd=reply&actype=del&more=$log $wims_name_erase |
||
24 | </td></tr> |
||
25 | !next i |
||
12626 | bpr | 26 | </tbody> |
12616 | bpr | 27 | $table_end |
12626 | bpr | 28 | <script> |
29 | new Tablesort(document.getElementById('TABLE_gestionlist')); |
||
30 | </script> |
||
23 | reyssat | 31 | !endif |
11234 | bpr | 32 | !if $cnt2>0 or ($job=first and $teachercnt!=0) |
33 | <ul class="wims_nopuce"> |
||
34 | !if $cnt2>0 |
||
35 | !form reply |
||
36 | <input type="hidden" name="actype" value="add" /> |
||
37 | <input type="submit" value="$name_addgestion" /> |
||
38 | !if $job!=first |
||
12616 | bpr | 39 | ( |
40 | !defof class_description in $classdir1/$($job)/.def |
||
41 | ) |
||
11234 | bpr | 42 | !endif |
43 | !set wims_html_mode=li |
||
12621 | bpr | 44 | !set wims_ref_class=spacer |
11234 | bpr | 45 | !formcheckbox more list $list2 prompt $prompt |
46 | !formend |
||
47 | !endif |
||
48 | !if $job=first and $teachercnt!=0 |
||
49 | <li class="spacer"> |
||
50 | !set wims_ref_class=wims_button |
||
51 | !href cmd=reply&job=addteacher $wims_name_addteacher |
||
52 | </li> |
||
53 | !endif |
||
54 | </ul> |
||
23 | reyssat | 55 | !endif |
56 | !reset more actype |