diff --git a/cgi-bin/add.py b/cgi-bin/add.py index d741f5b8..71a54553 100644 --- a/cgi-bin/add.py +++ b/cgi-bin/add.py @@ -111,7 +111,7 @@ print('
' '
' '
' '' - '' + '' '' '' '' '
' '' '
Add listner

Add listner

Select server: ' @@ -192,7 +192,7 @@ print('
' - '' + '' '' '' '' '
' '' '
Add frontend

Add frontend

Select server: ' @@ -265,7 +265,7 @@ print('
' - '' + '' '' '' '
Add frontend

Add frontend

Select server: ' diff --git a/cgi-bin/funct.py b/cgi-bin/funct.py index ea2996cc..53a02170 100644 --- a/cgi-bin/funct.py +++ b/cgi-bin/funct.py @@ -219,9 +219,10 @@ def show_config(cfg): continue if line.__len__() < 1: print('') - print('') - print(i) - print('' + line + '
') + if line.__len__() > 1: + print('') + print(i) + print('' + line + '
') print('') conf.close diff --git a/image/8.jpeg b/image/8.jpeg new file mode 100644 index 00000000..39f0fa91 Binary files /dev/null and b/image/8.jpeg differ diff --git a/index.html b/index.html index 93eb3d54..44efe5a8 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ Upload old config
Delete old config
diff --git a/style.css b/style.css index d2532779..1a020855 100644 --- a/style.css +++ b/style.css @@ -11,12 +11,13 @@ body { padding: 0; } h2 { - border: 1px solid #5D9CEB; - padding: 10px; - border-radius: 5px 5px 0px 0px; background: #5D9CEB; + border: 1px solid #5D9CEB; + border-radius: 5px 5px 0px 0px; + padding: 10px; padding-left: 3%; color: #fff; + margin-top: 0px; margin-bottom: 0px; } h3 { @@ -360,8 +361,11 @@ table { border-collapse: collapse; background-color: transparent; } -td, -th { +caption { + color: #777; + text-align: left; +} +td,th { padding: 0; text-align: left; }