From eb0f59d6ca6502e603b7f2b956d7c45647f5c64d Mon Sep 17 00:00:00 2001 From: Aidaho12 Date: Mon, 19 Feb 2018 12:49:59 +0600 Subject: [PATCH] v1.8.1 --- cgi-bin/diff.py | 4 ++-- cgi-bin/funct.py | 2 +- cgi-bin/overview.py | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cgi-bin/diff.py b/cgi-bin/diff.py index 93d165ab..e5ede821 100644 --- a/cgi-bin/diff.py +++ b/cgi-bin/diff.py @@ -31,7 +31,7 @@ funct.chooseServer("diff.py#diff", "Compare HAproxy configs", "n") if form.getvalue('serv') is not None and form.getvalue('open') is not None : print('
') - print('

Choose leftChoose right

') + print('

Choose leftChoose right

') print('

') print('' % serv) print('') - print('

') + print('

') if form.getvalue('serv') is not None and form.getvalue('right') is not None: commands = [ 'diff -ub %s%s %s%s' % (hap_configs_dir, left, hap_configs_dir, right) ] diff --git a/cgi-bin/funct.py b/cgi-bin/funct.py index b1785caa..4231a091 100644 --- a/cgi-bin/funct.py +++ b/cgi-bin/funct.py @@ -355,7 +355,7 @@ def chooseServer(formName, title, note): print('' % (listhap.listhap.get(i), selected, i)) print('') - print('

') + print('

') if note == "y": print('

Note: If you reconfigure First server, second will reconfigured automatically

') diff --git a/cgi-bin/overview.py b/cgi-bin/overview.py index 9a447b28..485ea1e5 100644 --- a/cgi-bin/overview.py +++ b/cgi-bin/overview.py @@ -22,9 +22,6 @@ except IOError: print("Can't load users DB") print('

Quick Status

' - '' - '' - '' '') commands = [ "ps -Af |grep [h]aproxy |wc -l" ]