From: Michael Tremer Date: Tue, 9 Apr 2024 16:25:47 +0000 (+0200) Subject: ovpnmain.cgi: Redesign the roadwarrior section X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fa470e81637ba1e8f586fcecfc1d152fab14348;p=people%2Fms%2Fipfire-2.x.git ovpnmain.cgi: Redesign the roadwarrior section Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 2a5d475ea..88a58edb1 100755 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -5233,34 +5233,51 @@ END }); print < -
- $Lang::tr{'enabled'} - + + + + + + - - - - - + + + + + + + + + + + + + - - + + + +
+ $Lang::tr{'enabled'} + + +

$Lang::tr{'net config'}:

+ $Lang::tr{'local vpn hostname/ip'} + + +
+ $Lang::tr{'ovpn subnet'} + + +
$Lang::tr{'local vpn hostname/ip'}:
$Lang::tr{'ovpn subnet'}
+ + + + +
+
END -; - print ""; - print ""; - print ""; - if (( -e "${General::swroot}/ovpn/ca/cacert.pem" && - -e "${General::swroot}/ovpn/certs/servercert.pem" && - -e "${General::swroot}/ovpn/certs/serverkey.pem") && - ($cgiparams{'ENABLED'} eq 'on')) { - print ""; - } else { - print ""; - } - print ""; &Header::closebox(); if ( -f "${General::swroot}/ovpn/ca/cacert.pem" ) { diff --git a/html/html/themes/ipfire/include/css/style.css b/html/html/themes/ipfire/include/css/style.css index 4ac919c80..a06361368 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -389,10 +389,13 @@ table.form tr.action td { text-align: right; } +<<<<<<< HEAD table.form tr.action td form { display: inline; } +======= +>>>>>>> f3e0bbd58 (ovpnmain.cgi: Redesign the roadwarrior section) .tbl { width: 100%; }