From: Michael Tremer Date: Wed, 7 Aug 2024 14:18:01 +0000 (+0200) Subject: firewall.cgi: Fix colouring of the rule actions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06345fbc0dc706bdfc52b005dc96e12af4b27c02;p=people%2Fmfischer%2Fipfire-2.x.git firewall.cgi: Fix colouring of the rule actions Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index b11381eea..240a959f3 100644 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -1987,41 +1987,28 @@ END &Header::closebox; $checked{"RULE_ACTION"}{$fwdfwsettings{'RULE_ACTION'}} = 'CHECKED'; print < - - - - - - - - - - - -
-  
  -
-  
  -
-  
  -
- - - - - -
- + + + + + + +
+ + + + + +

END diff --git a/html/html/themes/ipfire/include/css/style.css b/html/html/themes/ipfire/include/css/style.css index 68fe167f3..c935f2ff4 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -7,6 +7,8 @@ --color-blue-invert : #ffffff; --color-orange : #ff9933; --color-orange-invert : #ffffff; + --color-black : #000000; + --color-black-invert : #ffffff; --color-grey : #d6d6d6; --color-light-grey : #f0f0f0; @@ -458,11 +460,16 @@ table { color: var(--color-red-invert); } -.tbl .policy.is-allowed{ +.tbl .policy.is-allowed { background-color: var(--color-green); color: var(--color-green-invert); } +.tbl .policy.is-rejected { + background-color: var(--color-black); + color: var(--color-black-invert); +} + /* Notes */ .notes .is-warning {