Commit 168f87e5 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) add symbol to show rule direction on floating rule, closes...

(legacy) add symbol to show rule direction on floating rule, closes https://github.com/opnsense/core/issues/533
parent dbaf457b
...@@ -426,6 +426,17 @@ $( document ).ready(function() { ...@@ -426,6 +426,17 @@ $( document ).ready(function() {
<a href="#" class="act_toggle" id="toggle_<?=$i;?>" data-toggle="tooltip" data-placement="left" title="<?=gettext("click to toggle enabled/disabled status");?>"> <a href="#" class="act_toggle" id="toggle_<?=$i;?>" data-toggle="tooltip" data-placement="left" title="<?=gettext("click to toggle enabled/disabled status");?>">
<span class="glyphicon <?=$iconfn;?>"></span> <span class="glyphicon <?=$iconfn;?>"></span>
</a> </a>
<?php
if (!empty($filterent['direction']) && $filterent['direction'] == "in"):?>
<i class="fa fa-long-arrow-right" data-toggle="tooltip" data-placement="left" title="<?=gettext("in");?>"></i>
<?php
elseif (!empty($filterent['direction']) && $filterent['direction'] == "out"):?>
<i class="fa fa-long-arrow-left" data-toggle="tooltip" data-placement="left" title="<?=gettext("out");?>"></i>
<?php
elseif (!empty($filterent['direction']) && $filterent['direction'] == "any"):?>
<i class="fa fa-arrows-h" data-toggle="tooltip" data-placement="left" title="<?=gettext("any");?>"></i>
<?php
endif;?>
<?php <?php
if (isset($filterent['log'])):?> if (isset($filterent['log'])):?>
<span class="glyphicon glyphicon-info-sign <?=!empty($filterent['disabled']) ? "text-muted" :""?>"></span> <span class="glyphicon glyphicon-info-sign <?=!empty($filterent['disabled']) ? "text-muted" :""?>"></span>
...@@ -585,6 +596,8 @@ $( document ).ready(function() { ...@@ -585,6 +596,8 @@ $( document ).ready(function() {
<td width="14"></td> <td width="14"></td>
<td width="16"><span class="glyphicon glyphicon-info-sign"></span></td> <td width="16"><span class="glyphicon glyphicon-info-sign"></span></td>
<td width="100"><?=gettext("log");?></td> <td width="100"><?=gettext("log");?></td>
<td width="16"><span class="fa fa-long-arrow-right"></span></td>
<td width="100"><?=gettext("in");?></td>
</tr> </tr>
<tr> <tr>
<td><span class="glyphicon glyphicon-play text-muted"></span></td> <td><span class="glyphicon glyphicon-play text-muted"></span></td>
...@@ -601,6 +614,8 @@ $( document ).ready(function() { ...@@ -601,6 +614,8 @@ $( document ).ready(function() {
<td>&nbsp;</td> <td>&nbsp;</td>
<td width="16"><span class="glyphicon glyphicon-info-sign text-muted"></span></td> <td width="16"><span class="glyphicon glyphicon-info-sign text-muted"></span></td>
<td class="nowrap"><?=gettext("log (disabled)");?></td> <td class="nowrap"><?=gettext("log (disabled)");?></td>
<td width="16"><span class="fa fa-long-arrow-left"></span></td>
<td width="100"><?=gettext("out");?></td>
</tr> </tr>
</table> </table>
</td> </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment