diff options
author | heper <heper@users.noreply.github.com> | 2015-11-02 10:22:44 +0100 |
---|---|---|
committer | heper <heper@users.noreply.github.com> | 2015-11-02 10:22:44 +0100 |
commit | 91f5cca9bc7a9e21ab47fb0ccf9cbb8aa65b5a85 (patch) | |
tree | 8727279cc5f6be0250cf2cc03a6482799f706462 /src/usr/local/www | |
parent | 8ae794daeb0a5ef586d5387b27aefe37fd188357 (diff) | |
download | pfsense-91f5cca9bc7a9e21ab47fb0ccf9cbb8aa65b5a85.zip pfsense-91f5cca9bc7a9e21ab47fb0ccf9cbb8aa65b5a85.tar.gz |
fix block/pass icons
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/diag_logs_filter.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_logs_filter.php b/src/usr/local/www/diag_logs_filter.php index 36d9efa..ce6ffea 100644 --- a/src/usr/local/www/diag_logs_filter.php +++ b/src/usr/local/www/diag_logs_filter.php @@ -391,8 +391,18 @@ if (!isset($config['syslog']['rawfilter'])) { ?> <tr> <td> - <a data-toggle="tooltip" title="<?php echo $filterent['act'] .'/'. $filterent['tracker'];?>" class="btn btn-xs btn-info" onclick="javascript:getURL('diag_logs_filter.php?getrulenum=<?="{$filterent['rulenum']},{$filterent['tracker']},{$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 + } +?> <?php if ($filterent['count']) echo $filterent['count']; |