From: Michael Tremer Date: Fri, 6 Sep 2024 15:59:58 +0000 (+0200) Subject: wireguard.cgi: Remove the large box to warn people that the configuration will only... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35afcd212ef33f091a6a36e8dd3b092da2613d59;p=ipfire-2.x.git wireguard.cgi: Remove the large box to warn people that the configuration will only be shown once Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi index 0824d83ede..7c01522eef 100644 --- a/html/cgi-bin/wireguard.cgi +++ b/html/cgi-bin/wireguard.cgi @@ -1036,6 +1036,10 @@ sub show_peer_configuration($$) {

+

+ $Lang::tr{'wg warning configuration only shown once'} +

+

@@ -1045,12 +1049,6 @@ sub show_peer_configuration($$) { END &Header::closebox(); - - # Show a note that this configuration cannot be shown again - &Header::errorbox(( - $Lang::tr{'wg warning configuration only shown once'}, - )); - &Header::closepage(); exit(0); diff --git a/html/html/themes/ipfire/include/css/style.css b/html/html/themes/ipfire/include/css/style.css index 56e6f26dff..dd97e41ed9 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -155,6 +155,13 @@ iframe { text-align: right; } +/* + Text Colors +*/ +.text-error { + color: var(--color-red); +} + /* Header */ #header {