From: Michael Tremer Date: Tue, 9 Apr 2024 16:25:47 +0000 (+0200) Subject: ovpnmain.cgi: Redesign the roadwarrior section X-Git-Tag: v2.29-core197~25^2~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b2035a8265e58fd15a329c52301ba28860985c8;p=ipfire-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 33c3138cf..16bb3c01c 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -5234,34 +5234,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 0e42f25f3..10997d2b1 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -396,10 +396,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%; }