Rev 14335 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4039 | bpr | 1 | !read adm/class/classname.phtml $wims_classname\ |
4020 | bpr | 2 | $wims_institutionname |
1479 | bpr | 3 | !read adm/title.phtml 1\ |
4020 | bpr | 4 | $classname\ |
1479 | bpr | 5 | $wims_name_config |
7480 | bpr | 6 | $name_param_change |
11669 | bpr | 7 | $ $ |
3069 | bpr | 8 | !set wims_ref_class=wims_button_help |
12429 | bpr | 9 | !href target=wims_mhelp cmd=help $wims_name_help |
1319 | guerimand | 10 | |
12045 | bpr | 11 | !read adm/tabscript livret |
12 | |||
13 | <div id="widget_livret"> |
||
14 | <ul id="wims_summary"> |
||
15 | <li><a class="wims_livret_config" href="#wims_livret_config">$wims_name_setup</a></li> |
||
16 | <li><a class="wims_livret_content" href="#wims_livret_content">$name_Competences</a></li> |
||
17 | </ul> |
||
18 | <div id="wims_livret_config"> |
||
1319 | guerimand | 19 | !form reply |
17180 | bpr | 20 | <input type="hidden" name="job" value="config"> |
7480 | bpr | 21 | <fieldset class="property_fields blockcenter"> |
22 | <legend>$wims_name_config</legend> |
||
23 | <div class="field box"> |
||
24 | <label for="cf_title">$wims_name_title</label> |
||
17180 | bpr | 25 | <input size="60" name="cf_title" id="cf_title" value="$cf_title"> |
7480 | bpr | 26 | </div> |
27 | <div class="field box"> |
||
28 | <label for="cf_description">$wims_name_Description</label> |
||
29 | <textarea name="cf_description" id="cf_description" cols="60" rows="5"> |
||
30 | $cf_description</textarea> |
||
31 | </div> |
||
32 | <div class="field box"> |
||
33 | <label>$name_color</label> |
||
9565 | guerimand | 34 | !set wims_ref_class=wims_button_help float_right |
35 | !href target=wims_mhelp cmd=help&special_parm=color $wims_name_help |
||
9563 | guerimand | 36 | !default livret_scorecolor=$wims_scorecolor |
7480 | bpr | 37 | <table class="wimscenter wimsborder"> |
38 | <tr> |
||
11669 | bpr | 39 | <th>$name_activity</td> |
40 | <th>$name_colorchoice</th> |
||
41 | <th>$name_legend</th> |
||
42 | </tr> |
||
43 | <tr> |
||
44 | <td style="background-color: $(livret_scorecolor[1])"> |
||
45 | <label for="cf_scorecolor1">$name_nowork</label></td> |
||
17180 | bpr | 46 | <td><input type="color" value="$(livret_scorecolor[1])" id="cf_scorecolor1" name="cf_scorecolor1" size="8"></td> |
9563 | guerimand | 47 | <td>$name_nowork</td> |
7480 | bpr | 48 | </tr> |
9563 | guerimand | 49 | !readproc proc/legend.proc |
50 | !let cpt=11 |
||
51 | !let cpt2=0 |
||
52 | !for k=2 to 11 |
||
53 | <tr> |
||
11669 | bpr | 54 | <td style="background-color: $(livret_scorecolor[$k])"> |
55 | <label for="cf_scorecolor$k">$[($k-1)*10]%</label></td> |
||
17180 | bpr | 56 | <td><input type="color" value="$(livret_scorecolor[$k])" id="cf_scorecolor$k" name="cf_scorecolor$k" size="8"></td> |
9563 | guerimand | 57 | !if $cpt<$(numcom[$cpt2]) |
58 | !increase cpt |
||
59 | !else |
||
60 | !let cpt=1 |
||
61 | !increase cpt2 |
||
62 | <td rowspan="$(numcom[$cpt2])"> |
||
17180 | bpr | 63 | <input type="text" value="$(livret_legende$k)" name="cf_legende$cpt2" size="25"> |
11669 | bpr | 64 | </td> |
14335 | bpr | 65 | !endif |
9563 | guerimand | 66 | </tr> |
3095 | guerimand | 67 | !next k |
7480 | bpr | 68 | </table> |
69 | </div> |
||
70 | <div class="field box"> |
||
71 | <label for="cf_show2user">$name_configtext6</label> |
||
3095 | guerimand | 72 | !let cf_show2user=$class_showlivret |
73 | !formselect cf_show2user list yes,no prompt $wims_name_yes,$wims_name_no |
||
7480 | bpr | 74 | </div> |
75 | <div class="field box"> |
||
76 | <label for="cf_showempty">$name_configtext7</label> |
||
3095 | guerimand | 77 | !let cf_showempty=$livret_showempty |
7480 | bpr | 78 | !formselect cf_showempty list yes,no prompt $wims_name_yes,$wims_name_no |
79 | </div> |
||
80 | <div class="field box"> |
||
81 | <label for="cf_scoreoption">$name_configtext4</label> |
||
3095 | guerimand | 82 | !formselect cf_scoreoption list class,livret prompt $name_listscoreoption |
7480 | bpr | 83 | </div> |
84 | <div class="field box"> |
||
85 | <label for="cf_scoreview">$name_configtext5</label> |
||
3095 | guerimand | 86 | !formselect cf_scoreview list -1,0,2,3,4 prompt $name_listscoreview |
7480 | bpr | 87 | </div> |
88 | <div class="field box"> |
||
89 | <label for="cf_minac">$name_configtext3</label> |
||
17180 | bpr | 90 | <input type="text" name="cf_minac" id="cf_minac" value="$livret_minac" size="5"> |
7480 | bpr | 91 | </div> |
11669 | bpr | 92 | !if $asheets!=$empty |
93 | <div class="field box"> |
||
94 | <strong>$name_score_modify</strong> |
||
95 | <ul class="wims_nopuce"> |
||
3095 | guerimand | 96 | !for i in $asheets |
11669 | bpr | 97 | <li> |
98 | <input type="checkbox" id="cf_nas$i" name="cf_nonactivesheet" value="$i" |
||
3095 | guerimand | 99 | !if $i isitemof $cf_nonactivesheet |
5842 | bpr | 100 | checked="checked" |
3095 | guerimand | 101 | !endif |
17180 | bpr | 102 | > |
3095 | guerimand | 103 | !let t=!record $i of wimshome/log/classes/$wims_class/sheets/.sheets |
11669 | bpr | 104 | <label for="cf_nas$i">$i : |
3095 | guerimand | 105 | !line 3 of $t |
11669 | bpr | 106 | </label> |
107 | </li> |
||
3095 | guerimand | 108 | !next i |
7480 | bpr | 109 | </div> |
11669 | bpr | 110 | !endif |
5953 | bpr | 111 | <div class="wimscenter wimsform"> |
17180 | bpr | 112 | <input type="submit" name="cf_set" value="$wims_name_tosave"> |
10433 | bpr | 113 | $ |
17180 | bpr | 114 | <input type="submit" name="cf_abandon" value="$wims_name_giveup" class="wims_secondary_button"> |
5953 | bpr | 115 | </div> |
7480 | bpr | 116 | </fieldset> |
5926 | bpr | 117 | !formend |
12045 | bpr | 118 | </div> |
119 | <div id="wims_livret_content"> |
||
120 | <ul> |
||
121 | !for k=1 to $livret_nbcomp |
||
122 | <li> |
||
123 | $(name_icompetence)$k: $(title_$k) |
||
124 | !set wims_ref_class=wims_button |
||
125 | !href cmd=renew&job=addcomp&comp=$k $wims_name_change |
||
126 | <ul> |
||
127 | !for j=1 to $(nbpalier_$k) |
||
128 | !let desc=!record $j of $livret_dir/.comp$k |
||
129 | !let desc=!line 1 of $desc |
||
130 | <li> |
||
131 | $desc |
||
132 | !set wims_ref_class=wims_button |
||
133 | !href cmd=renew&job=modpalier&+comp=$k&+palier=$j $wims_name_change |
||
134 | </li> |
||
135 | !next j |
||
136 | </ul> |
||
137 | !next k |
||
138 | </ul> |
||
139 | </div> |
||
140 | </div> |
||
1326 | bpr | 141 | !reset cf_nonactivesheet,cf_set,cf_title,cf_description |