mirror of https://github.com/Aidaho12/haproxy-wi
parent
8777d65598
commit
1bb9b8e17d
|
@ -119,7 +119,6 @@ if act == "overviewServers":
|
||||||
|
|
||||||
if form.getvalue('action'):
|
if form.getvalue('action'):
|
||||||
import requests
|
import requests
|
||||||
import json
|
|
||||||
from requests_toolbelt.utils import dump
|
from requests_toolbelt.utils import dump
|
||||||
|
|
||||||
haproxy_user = config.get('haproxy', 'stats_user')
|
haproxy_user = config.get('haproxy', 'stats_user')
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
async function wait() {
|
async function wait() {
|
||||||
await sleep(2000);
|
await sleep(2000);
|
||||||
$('form').append('<input type="hidden" name="serv" value='+$("#serv").val()+'>');
|
$('form').append('<input type="hidden" name="serv" value='+$("#serv").val()+'>');
|
||||||
|
$( "input[type=submit], button" ).button();
|
||||||
|
$( "select" ).selectmenu();
|
||||||
|
|
||||||
$("form").submit(function() {
|
$("form").submit(function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 888 KiB After Width: | Height: | Size: 801 KiB |
Loading…
Reference in New Issue