mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 09:22:59 +02:00
firewall.cgi: Fix colouring of the rule actions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1987,41 +1987,28 @@ END
|
||||
&Header::closebox;
|
||||
$checked{"RULE_ACTION"}{$fwdfwsettings{'RULE_ACTION'}} = 'CHECKED';
|
||||
print <<END;
|
||||
<center>
|
||||
<table width="80%" class='tbl' id='actions'>
|
||||
<tr>
|
||||
<td width="33%" align="center" bgcolor="$color{'color17'}">
|
||||
<br>
|
||||
</td>
|
||||
<td width="33%" align="center" bgcolor="$color{'color25'}">
|
||||
<br>
|
||||
</td>
|
||||
<td width="33%" align="center" bgcolor="$color{'color16'}">
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="33%" align="center">
|
||||
<label>
|
||||
<input type="radio" name="RULE_ACTION" value="ACCEPT" $checked{"RULE_ACTION"}{"ACCEPT"}>
|
||||
<strong>$Lang::tr{'fwdfw ACCEPT'}</strong>
|
||||
</label>
|
||||
</td>
|
||||
<td width="33%" align="center">
|
||||
<label>
|
||||
<input type="radio" name="RULE_ACTION" value="DROP" $checked{"RULE_ACTION"}{"DROP"}>
|
||||
<strong>$Lang::tr{'fwdfw DROP'}</strong>
|
||||
</label>
|
||||
</td>
|
||||
<td width="33%" align="center">
|
||||
<label>
|
||||
<input type="radio" name="RULE_ACTION" value="REJECT" $checked{"RULE_ACTION"}{"REJECT"}>
|
||||
<strong>$Lang::tr{'fwdfw REJECT'}</strong>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<table class='tbl' id='actions'>
|
||||
<tr>
|
||||
<td width="33%" class="policy is-allowed">
|
||||
<label>
|
||||
<input type="radio" name="RULE_ACTION" value="ACCEPT" $checked{"RULE_ACTION"}{"ACCEPT"}>
|
||||
<strong>$Lang::tr{'fwdfw ACCEPT'}</strong>
|
||||
</label>
|
||||
</td>
|
||||
<td width="33%" class="policy is-blocked">
|
||||
<label>
|
||||
<input type="radio" name="RULE_ACTION" value="DROP" $checked{"RULE_ACTION"}{"DROP"}>
|
||||
<strong>$Lang::tr{'fwdfw DROP'}</strong>
|
||||
</label>
|
||||
</td>
|
||||
<td width="33%" class="policy is-rejected">
|
||||
<label>
|
||||
<input type="radio" name="RULE_ACTION" value="REJECT" $checked{"RULE_ACTION"}{"REJECT"}>
|
||||
<strong>$Lang::tr{'fwdfw REJECT'}</strong>
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user