Changeset 8719
- Timestamp:
- 06/24/11 14:51:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/scripts/report.sh
r7712 r8719 82 82 </tr> 83 83 <tr> 84 <td $TABLE_FONT>number of errors: $NUM_ERR/$NUM_TOT84 <td $TABLE_FONT>number of <a href="#ERROR">errors</a>: $NUM_ERR/$NUM_TOT 85 85 86 86 <td $TABLE_FONT>installation elapsed time: $EL_INSTALL</td> … … 135 135 FONTL=$(echo "$BODY_FONTL bgcolor=#ffff00"); 136 136 echo $line | awk -v FONTC="$FONTC" -v FONTL="$FONTL" ' 137 { printf("<td %s >%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n\n",FONTL,$1,FONTC,$3,FONTC,$6,FONTL,$9,FONTL,$11);}137 { printf("<td %s id=FAILURE>%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n\n",FONTL,$1,FONTC,$3,FONTC,$6,FONTL,$9,FONTL,$11);} 138 138 '; 139 139 … … 143 143 if [ "$STATUS" = "SUCCESS" ] 144 144 then 145 color="bgcolor=#ddffdd";146 145 FONTC=$(echo "$BODY_FONTC bgcolor=#ddffdd") 146 FONTL=$(echo "$BODY_FONTL bgcolor=#ddffdd") 147 147 #ERROR 148 148 else 149 color="bgcolor=#ffdddd"; 149 FONTC=$(echo "$BODY_FONTC bgcolor=#ffdddd id=ERROR") 150 FONTL=$(echo "$BODY_FONTL bgcolor=#ffdddd") 150 151 fi 151 152 152 FONTC=$(echo "$BODY_FONTC $color") 153 FONTL=$(echo "$BODY_FONTL $color") 153 154 154 echo $line | awk -v FONTC="$FONTC" -v FONTL="$FONTL" ' 155 155 { printf("<td %s>%s</td>\n<td %s>%s%s%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n<td %s>%s</td>\n\n",FONTL,$1,FONTL,$3,$4,$5,FONTC,$8,FONTL,$11,FONTL,$13);}
Note:
See TracChangeset
for help on using the changeset viewer.