From 06b023cf45570b272af20caa530e7e83148449b9 Mon Sep 17 00:00:00 2001 From: Aidaho12 Date: Wed, 16 May 2018 10:16:07 +0600 Subject: [PATCH] v2.5.4.3 Stats page --- README.md | 2 +- app/templates/viewstats.html | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 53ec3d81..9208f417 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Haproxy web interface -A simple web interface(user-frendly web GUI) for managing Haproxy servers. Leave your [feedback](https://github.com/Aidaho12/haproxy-wi/issues) +Web interface(user-frendly web GUI) for managing Haproxy servers. Leave your [feedback](https://github.com/Aidaho12/haproxy-wi/issues) ![alt text](image/haproxy-wi-config-show.jpeg "Show config page") diff --git a/app/templates/viewstats.html b/app/templates/viewstats.html index 7566c0d1..81f91eca 100644 --- a/app/templates/viewstats.html +++ b/app/templates/viewstats.html @@ -21,10 +21,14 @@ return new Promise(resolve => setTimeout(resolve, ms)); } async function wait() { - await sleep(2000); - $('form').append(''); - $( "input[type=submit], button" ).button(); - $( "select" ).selectmenu(); + $('form').append(''); + $( "input[type=submit], button" ).button(); + $('li').css('margin-top', '0'); + $('table.tbl th.pxname').css('background-color', '#5d9ceb'); + $('a.px:link').css('color', '#fff'); + $('h1').next().css('display', 'none'); + $( "select" ).selectmenu(); + await sleep(2000); $("form").submit(function() { $.ajax({