From bb55ab9f9f99a17ca97e51f7c0cd91d85cd70243 Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Thu, 16 Jul 2020 10:03:08 +0200 Subject: [PATCH] v4.4.0.0 Changelog: https://haproxy-wi.org/changelog.py#4_4 --- app/templates/ovw.html | 44 +++++++++++++++++++++++++++++------------- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/app/templates/ovw.html b/app/templates/ovw.html index 60095c7b..7b5f17ff 100644 --- a/app/templates/ovw.html +++ b/app/templates/ovw.html @@ -117,16 +117,24 @@ {% if keep_alive|int() >= 1 %} + {% if role <= 1 %} + + Auto start + + {% else %} + Auto star + {% endif %} {% else %} + {% if role <= 1 %} + + Auto start + + {% else %} + Auto star + {% endif %} {% endif %} - {% if role <= 1 %} - - Auto start - - {% else %} - Auto star - {% endif %} + @@ -167,14 +175,24 @@ {% endif %} - {% if api|int() == 0 %} - + {% if smon == 'active' %} + + + SMON + {% else %} - + {% if smon == 'inactive' or smon== 'failed' %} + + + SMON + + {% else %} + + + SMON + + {% endif %} {% endif %} - - API -