diff --git a/app/options.py b/app/options.py index 57504e18..23a2dbb1 100644 --- a/app/options.py +++ b/app/options.py @@ -119,7 +119,6 @@ if act == "overviewServers": if form.getvalue('action'): import requests - import json from requests_toolbelt.utils import dump haproxy_user = config.get('haproxy', 'stats_user') diff --git a/app/templates/viewstats.html b/app/templates/viewstats.html index e1370b8d..7566c0d1 100644 --- a/app/templates/viewstats.html +++ b/app/templates/viewstats.html @@ -23,6 +23,8 @@ async function wait() { await sleep(2000); $('form').append(''); + $( "input[type=submit], button" ).button(); + $( "select" ).selectmenu(); $("form").submit(function() { $.ajax({ diff --git a/image/haproxy-wi-statistics.jpeg b/image/haproxy-wi-statistics.jpeg index 53dc22e6..938af2f9 100644 Binary files a/image/haproxy-wi-statistics.jpeg and b/image/haproxy-wi-statistics.jpeg differ