Rev 17817 | Rev 17873 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 17817 | Rev 17851 | ||
|---|---|---|---|
| Line 51... | Line 51... | ||
| 51 | !endif |
51 | !endif |
| 52 | 52 | ||
| 53 | <br class="spacer"> |
53 | <br class="spacer"> |
| 54 | 54 | ||
| 55 | !if $manual>0 and $gcnt>0 and $teacher!=$empty |
55 | !if $manual>0 and $gcnt>0 and $teacher!=$empty |
| 56 | !if $class_hideaverage!=yes |
56 | !if $class_hideaverage!=yes |
| 57 | $table_header |
57 | $table_header |
| 58 | <caption><span class="small"> |
58 | <caption><span class="small"> |
| 59 | $name_minmax: |
59 | $name_minmax: |
| 60 | $min_glob/$mean_glob/$max_glob</span></caption> |
60 | $min_glob/$mean_glob/$max_glob</span></caption> |
| 61 | <thead> |
61 | <thead> |
| 62 | $table_hdtr<th>$wims_name_name</th><th>$(wims_name_thsheet[6])</th><th>$(wims_name_thsheet[9])</th></tr> |
62 | $table_hdtr<th>$wims_name_name</th><th>$(wims_name_thsheet[6])</th><th>$(wims_name_thsheet[9])</th></tr> |
| 63 | </thead><tbody> |
63 | </thead><tbody> |
| 64 | $table_tr<th>$name_manualscore</th> |
64 | $table_tr<th>$name_manualscore</th> |
| 65 | <td>$manual%</td> |
65 | <td>$manual%</td> |
| 66 | !read adm/class/colors $[ceil(10*$mav/$scoremax)] |
66 | !read adm/class/colors $[ceil(10*$mav/$scoremax)] |
| 67 | <td style=$style_note>$mav</td></tr> |
67 | <td style=$style_note>$mav</td></tr> |
| 68 | $table_tr<th>$name_autoscore</th> |
68 | $table_tr<th>$name_autoscore</th> |
| 69 | <td>$[100-$manual]%</td> |
69 | <td>$[100-$manual]%</td> |
| 70 | !read adm/class/colors $[ceil(10*$per/$scoremax)] |
70 | !read adm/class/colors $[ceil(10*$per/$scoremax)] |
| 71 | <td style=$style_note>$per</td></tr> |
71 | <td style=$style_note>$per</td></tr> |
| 72 | $table_tr<th>$name_globalaverage / $scoremax</th> |
72 | $table_tr<th>$name_globalaverage / $scoremax</th> |
| 73 | <td>100%</td> |
73 | <td>100%</td> |
| 74 | !read adm/class/colors $[ceil(10*$globalav/$scoremax)] |
74 | !read adm/class/colors $[ceil(10*$globalav/$scoremax)] |
| 75 | <td style=$style_note>$globalav</td></tr> |
75 | <td style=$style_note>$globalav</td></tr> |
| 76 | </tbody> |
76 | </tbody> |
| 77 | $table_end |
77 | $table_end |
| 78 | !endif |
78 | !endif |
| 79 | 79 | ||
| 80 | !set table_id=TABLE_manual |
80 | !set table_id=TABLE_manual |
| 81 | !set table_class=sortable |
81 | !set table_class=sortable |
| 82 | $table_header |
82 | $table_header |
| 83 | <thead> |
83 | <thead> |
| Line 207... | Line 207... | ||
| 207 | !endif |
207 | !endif |
| 208 | $table_header |
208 | $table_header |
| 209 | <thead> |
209 | <thead> |
| 210 | <caption>$wims_name_Freeworks</caption> |
210 | <caption>$wims_name_Freeworks</caption> |
| 211 | $table_hdtr |
211 | $table_hdtr |
| 212 |
|
212 | !for l_ in $name_fwcols |
| 213 |
|
213 | <th scope="col">$l_</th> |
| 214 |
|
214 | !next |
| 215 | </tr> |
215 | </tr> |
| 216 | </thead> |
216 | </thead> |
| 217 | <tbody> |
217 | <tbody> |
| 218 | !for fwi_ in $activefreew |
218 | !for fwi_ in $activefreew |
| 219 | !reset loadwork codownload seealltime putiworkco scoring |
219 | !reset loadwork codownload seealltime putiworkco scoring |
| 220 | !readproc adm/freework/mkfwglobvar.proc $fwi_ |
220 | !readproc adm/freework/mkfwglobvar.proc $fwi_ |
| 221 | !! l'output di questo è in "output" (!!!!) |
221 | !! l'output di questo è in "output" (!!!!) |
| 222 | !readproc adm/freework/finduserwork.proc $fwi_,$getuser |
222 | !readproc adm/freework/finduserwork.proc $fwi_,$getuser |
| 223 | $table_tr |
223 | $table_tr |
| 224 | |
224 | <td>$fwi_</td> |
| 225 | <td>$title</td> |
225 | <td>$title</td> |
| 226 | |
226 | !if ($wims_user=supervisor and $loadwork>0) or $wims_user!=supervisor |
| 227 | <td> |
227 | <td> |
| 228 | !if $fwtype=3 |
228 | !if $fwtype=3 |
| 229 | !href module=adm/class/freework&+job=viewuser3&+freework=$fwi_&+userv=$getuser $output |
229 | !href module=adm/class/freework&+job=viewuser3&+freework=$fwi_&+userv=$getuser $output |
| 230 | !else |
230 | !else |
| 231 | !href module=adm/class/freework&+job=viewuser&+freework=$fwi_ $output |
231 | !href module=adm/class/freework&+job=viewuser&+freework=$fwi_ $output |
| 232 | !endif |
- | |
| 233 | </td> |
- | |
| 234 | !else |
- | |
| 235 | <td style="background-image:url(gifs/bg/crossgrey.gif)">$output</td> |
- | |
| 236 | !endif |
232 | !endif |
| - | 233 | </td> |
|
| - | 234 | !else |
|
| - | 235 | <td style="background-image:url(gifs/bg/crossgrey.gif)">$output</td> |
|
| - | 236 | !endif |
|
| 237 | |
237 | <td>$deadline $timedeadline</td> |
| 238 | 238 | ||
| 239 | !! for visibility of scores, cfr. freework/student3.phtml |
239 | !! for visibility of scores, cfr. freework/student3.phtml |
| 240 | |
240 | !if $scoring>0 and ($codownload>0 or $wims_user=supervisor or $activetest>=2) |
| 241 | |
241 | !read adm/class/colors $[10*ceil($(g_$scoring))/$scoremax] |
| 242 | |
242 | <td style=$style_note>$(g_$scoring)</td> |
| 243 | !else |
243 | !else |
| 244 | <td style="background-image:url(gifs/bg/crossgrey.gif)"> </td> |
244 | <td style="background-image:url(gifs/bg/crossgrey.gif)"> </td> |
| 245 | !endif |
245 | !endif |
| 246 | |
246 | !if $wims_user=supervisor |
| 247 | |
247 | <td> |
| 248 | !if $codownload=1 |
248 | !if $codownload=1 |
| 249 | $wims_name_yes |
249 | $wims_name_yes |
| 250 | !else |
250 | !else |
| 251 | $wims_name_no |
251 | $wims_name_no |
| 252 | !endif |
252 | !endif |
| 253 | - | ||
| 254 | |
253 | !set fwseetest=!defof freework_seeco_$getuser in wimshome/log/classes/$wims_class/freeworksdata/$fwi_/.seeco |
| 255 | - | ||
| 256 | |
254 | !if $fwseetest!=$empty |
| 257 | |
255 | ✅ |
| 258 | |
256 | !reset fwseetest |
| 259 | |
257 | !endif |
| 260 | - | ||
| 261 | </td> |
- | |
| 262 | |
258 | </td><td> |
| 263 | !if $scoring=0 or $scoring=no |
259 | !if $scoring=0 or $scoring=no |
| 264 | $wims_name_no |
260 | $wims_name_no |
| 265 | !else |
261 | !else |
| 266 | $(titles[2+$scoring]) |
262 | $(titles[2+$scoring]) |
| 267 | !endif |
263 | !endif |
| 268 | </td> |
- | |
| 269 | |
264 | </td><td> |
| 270 | !if $putiworkco=1 |
265 | !if $putiworkco=1 |
| 271 | $wims_name_yes |
266 | $wims_name_yes |
| 272 | !else |
267 | !else |
| 273 | $wims_name_no |
268 | $wims_name_no |
| 274 | !endif |
- | |
| 275 | </td> |
- | |
| 276 | !endif |
269 | !endif |
| - | 270 | </td> |
|
| - | 271 | !endif |
|
| 277 | </tr> |
272 | </tr> |
| 278 | !next fwi_ |
273 | !next fwi_ |
| 279 | </tbody> |
274 | </tbody> |
| 280 | $table_end |
275 | $table_end |
| 281 | !read tablesort.phtml |
276 | !read tablesort.phtml |
| Line 326... | Line 321... | ||
| 326 | !reset tmp |
321 | !reset tmp |
| 327 | !else |
322 | !else |
| 328 | !set tmp= - $nametechvar $indtechvarvalue |
323 | !set tmp= - $nametechvar $indtechvarvalue |
| 329 | !endif |
324 | !endif |
| 330 | !else |
325 | !else |
| 331 | !reset tmp |
326 | !reset tmp |
| 332 | !endif |
327 | !endif |
| 333 | !if $seq_open!=yes |
328 | !if $seq_open!=yes |
| 334 | !set hat=$name_Sheet $n_$(tmp) : $t_ |
329 | !set hat=$name_Sheet $n_$(tmp) : $t_ |
| 335 | !else |
330 | !else |
| 336 | !set hat=$wims_name_sequence $(t_[1])$tmp : $(t_[2..-1]) |
331 | !set hat=$wims_name_sequence $(t_[1])$tmp : $(t_[2..-1]) |
| Line 360... | Line 355... | ||
| 360 | $table_header |
355 | $table_header |
| 361 | <thead id="sheet$n_"> |
356 | <thead id="sheet$n_"> |
| 362 | <tr><th colspan="$[$nb_indic+5]" style="text-align:left"> |
357 | <tr><th colspan="$[$nb_indic+5]" style="text-align:left"> |
| 363 | !if $p2!=$empty |
358 | !if $p2!=$empty |
| 364 | <div class="float_left"> |
359 | <div class="float_left"> |
| 365 | |
360 | !if $seq_open!=yes or $(listshowseq[$(t_[1])])=1 |
| 366 | |
361 | !href module=adm/sheet&sh=$n_ $hat |
| 367 | |
362 | !else |
| 368 | |
363 | $hat |
| - | 364 | !endif |
|
| - | 365 | <ul> |
|
| - | 366 | <li>$(wims_name_thsheet[4]): $A_</li> |
|
| - | 367 | !if $wims_user=supervisor |
|
| - | 368 | <li>$(wims_name_thsheet[8]): |
|
| - | 369 | !lowercase $(f_$n_) |
|
| - | 370 | !set wims_ref_class=wims_button_help |
|
| - | 371 | !href cmd=help&special_parm=$n_ $(wims_name_help) |
|
| - | 372 | </li> |
|
| - | 373 | !endif |
|
| - | 374 | !!global note |
|
| - | 375 | !if $(min_$n_)<$scoremax |
|
| - | 376 | <li>$name_minmax: $(min_$n_)/$(mean_$n_)/$(max_$n_)</li> |
|
| 369 | !endif |
377 | !endif |
| 370 | <ul> |
- | |
| 371 | <li>$(wims_name_thsheet[4]): $A_</li> |
- | |
| 372 | !if $wims_user=supervisor |
- | |
| 373 | <li>$(wims_name_thsheet[8]): |
- | |
| 374 | !lowercase $(f_$n_) |
- | |
| 375 | !set wims_ref_class=wims_button_help |
- | |
| 376 | !href cmd=help&special_parm=$n_ $(wims_name_help) |
- | |
| 377 | </li> |
- | |
| 378 | !endif |
- | |
| 379 | !!global note |
- | |
| 380 | !if $(min_$n_)<$scoremax |
- | |
| 381 | <li>$name_minmax: $(min_$n_)/$(mean_$n_)/$(max_$n_)</li> |
- | |
| 382 | !endif |
- | |
| 383 | </ul> |
378 | </ul> |
| 384 | </div> |
379 | </div> |
| 385 | !reset tmp_ss |
380 | !reset tmp_ss |
| 386 | <ul class="float_right"> |
381 | <ul class="float_right"> |
| 387 | !! score |
382 | !! score |
| 388 | <li>$(wims_name_thsheet[9]): |
383 | <li>$(wims_name_thsheet[9]): |
| 389 | |
384 | $p_ |
| 390 | / $scoremax.</li> |
385 | / $scoremax.</li> |
| 391 | !! quality |
386 | !! quality |
| 392 | !if $wims_user=supervisor or $q!=1 |
387 | !if $wims_user=supervisor or $q!=1 |
| 393 | <li>$(wims_name_thsheet[7]): |
388 | <li>$(wims_name_thsheet[7]): |
| 394 | |
389 | $p2 |
| 395 | /10</li> |
390 | /10</li> |
| 396 | !endif |
391 | !endif |
| 397 | !! Cumul |
392 | !! Cumul |
| 398 | !if $wims_user=supervisor or $sw=0 |
393 | !if $wims_user=supervisor or $sw=0 |
| 399 | <li>$(wims_name_thsheet[5]): |
394 | <li>$(wims_name_thsheet[5]): |
| Line 487... | Line 482... | ||
| 487 | !endif |
482 | !endif |
| 488 | !endif |
483 | !endif |
| 489 | !if $wims_user=supervisor or $sw=1 |
484 | !if $wims_user=supervisor or $sw=1 |
| 490 | !!best percentage |
485 | !!best percentage |
| 491 | !set best=!getscorebest user=$getuser sheet=$n_ work=$j |
486 | !set best=!getscorebest user=$getuser sheet=$n_ work=$j |
| - | 487 | !if $(req_)>0 |
|
| 492 | !read adm/class/colors $[ceil(10*$best/$req_)] |
488 | !read adm/class/colors $[ceil(10*$best/$req_)] |
| 493 | <td style=$style_note>$[ceil($[$best*100/$req_])]%</td> |
489 | <td style=$style_note>$[ceil($[$best*100/$req_])]%</td> |
| - | 490 | !else |
|
| - | 491 | <td>--</td> |
|
| - | 492 | !endif |
|
| 494 | !endif |
493 | !endif |
| 495 | !if $wims_user=supervisor or $sw=2 |
494 | !if $wims_user=supervisor or $sw=2 |
| 496 | !!level |
495 | !!level |
| 497 | !set level=!getscorelevel user=$getuser sheet=$n_ work=$j |
496 | !set level=!getscorelevel user=$getuser sheet=$n_ work=$j |
| 498 | !read adm/class/colors $[min(ceil($level+0.1),10)] |
497 | !read adm/class/colors $[min(ceil($level+0.1),10)] |