Update rapport_bdd.sh
This commit is contained in:
@@ -50,12 +50,12 @@ do
|
|||||||
# coloriage des mots clé en rouge ou en vert
|
# coloriage des mots clé en rouge ou en vert
|
||||||
for txt in INVALID FAILED NOARCHIVELOG OFFLINE MOUNTED
|
for txt in INVALID FAILED NOARCHIVELOG OFFLINE MOUNTED
|
||||||
do
|
do
|
||||||
sed -i "s#${txt}#<span style='color: red; background-color: yellow;'>${txt}</span>#g" ${HTML_FILE}
|
sed -i "s#<td>${txt}</td>#<td style='color: red; background-color: yellow;'>${txt}</td>#g" ${HTML_FILE}
|
||||||
done
|
done
|
||||||
|
|
||||||
for txt in COMPLETED
|
for txt in COMPLETED
|
||||||
do
|
do
|
||||||
sed -i "s#${txt}#<span style='color: white; background-color: green;'>${txt}</span>#g" ${HTML_FILE}
|
sed -i "s#<td>${txt}</td>#<td style='color: white; background-color: green;'>${txt}</td>#g" ${HTML_FILE}
|
||||||
done
|
done
|
||||||
|
|
||||||
echo Rapport dans le fichier html : ${HTML_FILE}
|
echo Rapport dans le fichier html : ${HTML_FILE}
|
||||||
|
|||||||
Reference in New Issue
Block a user