mirror of
https://github.com/FAUSheppy/icinga-webhook-gateway
synced 2026-04-26 14:12:29 +02:00
fix: different color if submitted from web interface
All checks were successful
ci / docker (push) Successful in 3m25s
All checks were successful
ci / docker (push) Successful in 3m25s
This commit is contained in:
@@ -8,7 +8,11 @@
|
|||||||
<a href="/service-details?service={{ status.service}}"
|
<a href="/service-details?service={{ status.service}}"
|
||||||
class="col-md-5 m-3 p-2 border rounded overview-tile"
|
class="col-md-5 m-3 p-2 border rounded overview-tile"
|
||||||
{% if status.status == "OK" %}
|
{% if status.status == "OK" %}
|
||||||
style="background-color: lightgreen;"
|
{% if status.info_text == "Submitted from Web-Interface" %}
|
||||||
|
style="background-color: #5cffe0;"
|
||||||
|
{% else %}
|
||||||
|
style="background-color: lightgreen;"
|
||||||
|
{% endif %}
|
||||||
{% elif status.status == "WARNING" %}
|
{% elif status.status == "WARNING" %}
|
||||||
style="background-color: orange;"
|
style="background-color: orange;"
|
||||||
{% elif status.status == "CRITICAL" %}
|
{% elif status.status == "CRITICAL" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user