diff --git a/app/templates/ajax/overivewWaf.html b/app/templates/ajax/overivewWaf.html index 522be652..81744a1b 100644 --- a/app/templates/ajax/overivewWaf.html +++ b/app/templates/ajax/overivewWaf.html @@ -16,13 +16,13 @@ {% if role <= 1 %} - start + start - start + start - restart + restart {% endif %} diff --git a/app/templates/ajax/overview.html b/app/templates/ajax/overview.html index 9d03f642..521bf7e1 100644 --- a/app/templates/ajax/overview.html +++ b/app/templates/ajax/overview.html @@ -7,9 +7,9 @@ {% if service.5.0.0|int() >= 1 %} = 1 %} - src="/image/pic/shield.png" title="Auto start enabled" + src="/inc/images/shield.png" title="Auto start enabled" {% else %} - src="/image/pic/shield-red.png" title="Auto start enabled, but keep alive service does not work" + src="/inc/images/shield-red.png" title="Auto start enabled, but keep alive service does not work" {% endif %} width=18 style="padding-left: 5px; margin-bottom: -3px;"> {% endif %} @@ -26,23 +26,23 @@ {% if role <= 1 %} - start + start - start + start - restart + restart {% endif %} {% if role <= 2 %} - edit + edit - - show - {% endif %} + + show + {{ service.3 }} diff --git a/app/templates/ajax/overviewServers.html b/app/templates/ajax/overviewServers.html index 627d0d63..d464588b 100644 --- a/app/templates/ajax/overviewServers.html +++ b/app/templates/ajax/overviewServers.html @@ -25,7 +25,6 @@ Too old version HAProxy {% else %} {{ service.4 }} {% endif %} - diff --git a/app/templates/base.html b/app/templates/base.html index f7ae7e97..fb9ed0c4 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -5,7 +5,7 @@ - + @@ -115,7 +115,7 @@ @@ -135,8 +135,8 @@ - restart Auto-refresh - + restart Auto-refresh + {% endif %} diff --git a/app/templates/ovw.html b/app/templates/ovw.html index 1627b7ba..12db6fac 100644 --- a/app/templates/ovw.html +++ b/app/templates/ovw.html @@ -23,7 +23,12 @@ {% set counter = counter + loop.index0 %} {% if counter <= 2 %} - {{ USER.1 }} + + + {{ USER.1 }} + Edit + + {{ USER.2 }} {% for group in groups %} {% if USER.5 == group.0|string() %} @@ -35,7 +40,12 @@ {% else %} - {{ USER.1 }} + + + {{ USER.1 }} + Edit + + {{ USER.2 }} {% for group in groups %} {% if group.0|string() == USER.5 %} @@ -58,31 +68,35 @@ {% if metrics_master|int() >= 1 %} - UP Metrics master + UP {% else %} - DOWN running {{metrics_master }} master processes + DOWN {% endif %} + Metrics master {% if metrics_worker|int() >= 1 %} - UP Metrics workers + UP {% else %} - DOWN Metrics workers + DOWN {% endif %} + Metrics workers {% if checker_master|int() >= 1 %} - UP Checker master + UP {% else %} - DOWN Checker master + DOWN {% endif %} + Checker master {% if checker_worker|int() >= 1 %} - UP Checker workers + UP {% else %} - DOWN Checker workers + DOWN {% endif %} + Checker workers @@ -102,7 +116,7 @@ Last edit - restart + restart @@ -122,7 +136,7 @@ WAF mode - restart + restart @@ -142,7 +156,7 @@ Front/Back-ends - restart + restart diff --git a/app/templates/waf.html b/app/templates/waf.html index b875ec2d..d1d1f86c 100644 --- a/app/templates/waf.html +++ b/app/templates/waf.html @@ -18,7 +18,7 @@ Metrics - restart + Refresh diff --git a/image/pic/compare.png b/inc/images/compare.png similarity index 100% rename from image/pic/compare.png rename to inc/images/compare.png diff --git a/image/pic/edit.png b/inc/images/edit.png similarity index 100% rename from image/pic/edit.png rename to inc/images/edit.png diff --git a/image/pic/favicon.ico b/inc/images/favicon.ico similarity index 100% rename from image/pic/favicon.ico rename to inc/images/favicon.ico diff --git a/image/pic/map.png b/inc/images/map.png similarity index 100% rename from image/pic/map.png rename to inc/images/map.png diff --git a/image/pic/shield-red.png b/inc/images/shield-red.png similarity index 100% rename from image/pic/shield-red.png rename to inc/images/shield-red.png diff --git a/image/pic/shield.png b/inc/images/shield.png similarity index 100% rename from image/pic/shield.png rename to inc/images/shield.png diff --git a/image/pic/show.png b/inc/images/show.png similarity index 100% rename from image/pic/show.png rename to inc/images/show.png diff --git a/image/pic/start.png b/inc/images/start.png similarity index 100% rename from image/pic/start.png rename to inc/images/start.png diff --git a/image/pic/stop.png b/inc/images/stop.png similarity index 100% rename from image/pic/stop.png rename to inc/images/stop.png diff --git a/inc/images/ui-bg_flat_0_aaaaaa_40x100.png b/inc/images/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100644 index 00000000..a2e6bfc0 Binary files /dev/null and b/inc/images/ui-bg_flat_0_aaaaaa_40x100.png differ diff --git a/inc/images/ui-icons_444444_256x240.png b/inc/images/ui-icons_444444_256x240.png new file mode 100644 index 00000000..df4e3737 Binary files /dev/null and b/inc/images/ui-icons_444444_256x240.png differ diff --git a/inc/images/ui-icons_777777_256x240.png b/inc/images/ui-icons_777777_256x240.png new file mode 100644 index 00000000..b01ff3de Binary files /dev/null and b/inc/images/ui-icons_777777_256x240.png differ diff --git a/image/pic/update.png b/inc/images/update.png similarity index 100% rename from image/pic/update.png rename to inc/images/update.png