From 750cba55a7b721cdad0b2c71807994ad3aba114a Mon Sep 17 00:00:00 2001 From: dman776 Date: Fri, 26 Oct 2018 00:27:15 -0500 Subject: [PATCH] modify the adv config layout (#247) --- files/www/cgi-bin/advancedconfig | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/files/www/cgi-bin/advancedconfig b/files/www/cgi-bin/advancedconfig index 0d62ce0b..05858c07 100755 --- a/files/www/cgi-bin/advancedconfig +++ b/files/www/cgi-bin/advancedconfig @@ -169,7 +169,7 @@ print < Help
(hover) Config Setting - Current/New Value + Value Actions @@ -186,14 +186,12 @@ foreach(@setting) $sconfig EOF - print "$sval" if($setting[$scount]->{'type'} eq "string"); - print "ON" if($setting[$scount]->{'type'} eq "boolean" and $sval); - print "OFF" if($setting[$scount]->{'type'} eq "boolean" and !$sval); - - print "
"; - - print "" if($setting[$scount]->{'type'} eq "string"); - print "" if($setting[$scount]->{'type'} eq "boolean"); + + print "" if($setting[$scount]->{'type'} eq "string"); + print "" if($setting[$scount]->{'type'} eq "boolean" and $sval ); + print "" if($setting[$scount]->{'type'} eq "boolean" and !$sval ); + print " ON" if($setting[$scount]->{'type'} eq "boolean" and $sval); + print " OFF" if($setting[$scount]->{'type'} eq "boolean" and !$sval); print <