Update rapport_bdd.sh

This commit is contained in:
Yacine31
2023-12-11 18:54:31 +01:00
parent 6cea21c116
commit 65dafaedfb

View File

@@ -47,11 +47,12 @@ do
cat sql/99_html_footer.html >> ${HTML_FILE}
# coloriage des mots clé
# coloriage des mots clé en rouge ou en vert
for txt in INVALID FAILED NOARCHIVELOG
do
sed -i "s#${txt}#<span style='color: red; background-color: yellow;'>${txt}</span>#g" ${HTML_FILE}
done
for txt in COMPLETED
do
sed -i "s#${txt}#<span style='color: white; background-color: green;'>${txt}</span>#g" ${HTML_FILE}