Managing servers through stats page
pull/19/head
Aidaho12 2018-05-14 00:14:33 +06:00
parent 8777d65598
commit 1bb9b8e17d
3 changed files with 2 additions and 1 deletions

View File

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

View File

@ -23,6 +23,8 @@
async function wait() {
await sleep(2000);
$('form').append('<input type="hidden" name="serv" value='+$("#serv").val()+'>');
$( "input[type=submit], button" ).button();
$( "select" ).selectmenu();
$("form").submit(function() {
$.ajax({

Binary file not shown.

Before

Width:  |  Height:  |  Size: 888 KiB

After

Width:  |  Height:  |  Size: 801 KiB