Stats page
pull/19/head
Aidaho12 2018-05-16 10:16:07 +06:00
parent 1bb9b8e17d
commit 06b023cf45
2 changed files with 9 additions and 5 deletions

View File

@ -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")

View File

@ -21,10 +21,14 @@
return new Promise(resolve => setTimeout(resolve, ms));
}
async function wait() {
await sleep(2000);
$('form').append('<input type="hidden" name="serv" value='+$("#serv").val()+'>');
$( "input[type=submit], button" ).button();
$( "select" ).selectmenu();
$('form').append('<input type="hidden" name="serv" value='+$("#serv").val()+'>');
$( "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({