This commit is contained in:
Lab-8916100448256 2021-10-07 22:13:35 +02:00 committed by GitHub
parent d4c5ca1bed
commit f10861e155
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,7 @@ outagenb="$(find "${tmp}/ko" -mindepth 1 | grep -c 'status$')"
if [ "${outagenb}" -ne 0 ]; then
echo "<ul><li class='panel failed-bg'>${outagenb} Incident(s)</li></ul>"
else
echo "<ul><li class='panel success-bg'>Tous Systèmes Operationels</li></ul>"
echo "<ul><li class='panel success-bg'>Tous Systèmes Operationnels</li></ul>"
fi
cat << EOF
<h1>Services</h1>
@ -106,7 +106,7 @@ done
for file in "${tmp}/ok/"*.status; do
[ -e "${file}" ] || continue
name="$(basename "${file}" | sed 's,.status$,,')"
echo "<li>${name} <span class='status success'>Operationel</span></li>"
echo "<li>${name} <span class='status success'>Operationnel</span></li>"
done
cat << EOF
</ul>