diff options
author | NOYB <Al_Stu@Frontier.com> | 2015-12-15 01:41:34 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2015-12-15 01:41:34 -0800 |
commit | 2d7d9ed173efb1978bacb6cbda98ef2e72d2e83b (patch) | |
tree | 08c132dfd5687c2baae86cb459b83b0c86dbb5f8 | |
parent | a8fc81ddf0477633944deba75fc0111566a621a1 (diff) | |
download | pfsense-2d7d9ed173efb1978bacb6cbda98ef2e72d2e83b.zip pfsense-2d7d9ed173efb1978bacb6cbda98ef2e72d2e83b.tar.gz |
Conditionally indent the action icon so it doesn't look so out of place in the wider column resulting to accommodate the sort button/icon.
-rw-r--r-- | src/usr/local/www/status_logs_filter.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/local/www/status_logs_filter.php b/src/usr/local/www/status_logs_filter.php index 31896d9..bb9920f 100644 --- a/src/usr/local/www/status_logs_filter.php +++ b/src/usr/local/www/status_logs_filter.php @@ -608,8 +608,14 @@ if (!$rawfilter) { } else { $icon_act = "fa-check text-success"; } + + if ($filterent['count']) { + $margin_left = '0em'; + } else { + $margin_left = '0.4em'; + } ?> - <i class="fa <?php echo $icon_act;?> icon-pointer" title="<?php echo $filterent['act'] .'/'. $filterent['tracker'];?>" onclick="javascript:getURL('status_logs_filter.php?getrulenum=<?="{$filterent['rulenum']},{$filterent['tracker']},{$filterent['act']}"; ?>', outputrule);"></i> + <i style="margin-left:<?php echo $margin_left;?>" class="fa <?php echo $icon_act;?> icon-pointer" title="<?php echo $filterent['act'] .'/'. $filterent['tracker'];?>" onclick="javascript:getURL('status_logs_filter.php?getrulenum=<?="{$filterent['rulenum']},{$filterent['tracker']},{$filterent['act']}"; ?>', outputrule);"></i> <?php if ($filterent['count']) echo $filterent['count']; |