diff options
author | heper <heper@users.noreply.github.com> | 2015-11-02 10:33:23 +0100 |
---|---|---|
committer | heper <heper@users.noreply.github.com> | 2015-11-02 10:33:23 +0100 |
commit | 5ac8751c1cfa0508ec25c2eaa17b6c13f3508e32 (patch) | |
tree | aca38c03bf0e6778cc84d6bde4925774696ff019 /src/usr/local/www/diag_logs_filter_dynamic.php | |
parent | 91f5cca9bc7a9e21ab47fb0ccf9cbb8aa65b5a85 (diff) | |
download | pfsense-5ac8751c1cfa0508ec25c2eaa17b6c13f3508e32.zip pfsense-5ac8751c1cfa0508ec25c2eaa17b6c13f3508e32.tar.gz |
fix block/pass icons
Diffstat (limited to 'src/usr/local/www/diag_logs_filter_dynamic.php')
-rwxr-xr-x | src/usr/local/www/diag_logs_filter_dynamic.php | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/usr/local/www/diag_logs_filter_dynamic.php b/src/usr/local/www/diag_logs_filter_dynamic.php index 478d229..f22d850 100755 --- a/src/usr/local/www/diag_logs_filter_dynamic.php +++ b/src/usr/local/www/diag_logs_filter_dynamic.php @@ -220,9 +220,19 @@ display_top_tabs($tab_array, false, 'nav nav-tabs'); ?> <td><?=htmlspecialchars($filterent['proto'])?></td> <td> - <a href="#" class="btn btn-danger btn-xs" alt="<?=$filterent['act'];?>" title="<?=$filterent['act'];?> onclick="javascript:getURL('diag_logs_filter.php?getrulenum=<?="{$filterent['rulenum']},{$filterent['act']}"; ?>', outputrule);"> - <?=gettext('Block')?> - </a> +<?php + if ($filterent['act'] == "block") { +?> + <i class="fa fa-times icon-danger" title="<?php echo $filterent['act'] .'/'. $filterent['tracker'];?>" onclick="javascript:getURL('diag_logs_filter.php?getrulenum=<?="{$filterent['rulenum']},{$filterent['tracker']},{$filterent['act']}"; ?>', outputrule);"></i> +<?php + } + else { +?> + <i class="fa fa-check icon-success" title="<?php echo $filterent['act'] .'/'. $filterent['tracker'];?>" onclick="javascript:getURL('diag_logs_filter.php?getrulenum=<?="{$filterent['rulenum']},{$filterent['tracker']},{$filterent['act']}"; ?>', outputrule);"></i> +<?php + } +?> + </td> </tr> <?php @@ -240,4 +250,4 @@ if ($tcpcnt > 0) gettext("TCP Flags") . '</a>: F - FIN, S - SYN, A or . - ACK, R - RST, P - PSH, U - URG, E - ECE, C - CWR'); ?> -<?php include("foot.inc");
\ No newline at end of file +<?php include("foot.inc"); |