Rev 1922 | Rev 3091 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
!distribute line $wims_read_parm into t0_,t1_
!if livret notin $module
!if $class_scorecolor=$empty
!set class_scorecolor=!defof class_scorecolor in wimshome/log/classes/$wims_class/.def
!default class_scorecolor=,red,red,red,orange,orange,orange,yellow,yellow,green,green
!endif
!set style_note="background-color: $(class_scorecolor[$t0_+1]);font-weight:bold;text-align:center;border;solid 1px;"
!else
!let t_=!charcnt $t0_
!if $t_>1
!let t_=$t0_+0.0000001
!else
!let t_=0
!endif
<td style="background-color: $(wims_scorecolor[$[ceil(min($t_,10))+1]]);font-weight:bold;text-align:center;border;solid 1px;">
!if $wims_scoreview>=0 and $t_>0
$[rint(($t0_)*10^($wims_scoreview))/10^($wims_scoreview)]
!else
!endif
$t1_
</td>
!endif
Generated by GNU Enscript 1.6.5.90.