diff options
author | Jared Dillard <jdillard@netgate.com> | 2015-11-18 16:27:36 -0600 |
---|---|---|
committer | Jared Dillard <jdillard@netgate.com> | 2015-11-18 16:31:58 -0600 |
commit | 1b7379f9e35758842e091a79150feaf2ac1e416b (patch) | |
tree | 4e94725f8a275a58bb5de54b9942bee11df2ef5a /src/usr/local/www/widgets | |
parent | d86522be85e13e743539e2c028dddb6b3534dbfb (diff) | |
download | pfsense-1b7379f9e35758842e091a79150feaf2ac1e416b.zip pfsense-1b7379f9e35758842e091a79150feaf2ac1e416b.tar.gz |
Ticket #5471 another convert batch to font-awesome icons
Diffstat (limited to 'src/usr/local/www/widgets')
5 files changed, 14 insertions, 14 deletions
diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php index 74276d5..e0baa12 100644 --- a/src/usr/local/www/widgets/widgets/ipsec.widget.php +++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php @@ -192,9 +192,9 @@ if (isset($config['ipsec']['phase2'])): ?> <td><?php echo htmlspecialchars($ipsec['descr']);?></td> <td> <?php if ($ipsec['status'] == "true"): ?> - <i class="icon icon-chevron-up"></i> + <i class="fa fa-chevron-up"></i> <?php else: ?> - <i class="icon icon-chevron-down"></i> + <i class="fa fa-chevron-down"></i> <?php endif; ?> </td> </tr> diff --git a/src/usr/local/www/widgets/widgets/log.widget.php b/src/usr/local/www/widgets/widgets/log.widget.php index 5811ff0..35dd074 100644 --- a/src/usr/local/www/widgets/widgets/log.widget.php +++ b/src/usr/local/www/widgets/widgets/log.widget.php @@ -147,13 +147,13 @@ else } if ($filterent['act'] == "block") - $iconfn = "remove"; + $iconfn = "times"; else if ($filterent['act'] == "reject") $iconfn = "fire"; else if ($filterent['act'] == "match") $iconfn = "filter"; else - $iconfn = "ok"; + $iconfn = "check"; $rule = find_rule_by_number($filterent['rulenum'], $filterent['tracker'], $filterent['act']); @@ -166,7 +166,7 @@ else role="button" data-toggle="popover" data-trigger="hover" data-title="Rule that triggered this action" data-content="<?=htmlspecialchars($rule)?>"> <i - class="icon icon-<?=$iconfn?>"></i> + class="fa fa-<?=$iconfn?>"></i> </a></td> <td title="<?=htmlspecialchars($filterent['time'])?>"><?=substr(htmlspecialchars($filterent['time']),0,-3)?></td> <td><?=htmlspecialchars($filterent['interface']);?></td> @@ -302,4 +302,4 @@ function outputrule(req) { alert(req.content); } -</script>
\ No newline at end of file +</script> diff --git a/src/usr/local/www/widgets/widgets/openvpn.widget.php b/src/usr/local/www/widgets/widgets/openvpn.widget.php index fae937a..b97c2e4 100644 --- a/src/usr/local/www/widgets/widgets/openvpn.widget.php +++ b/src/usr/local/www/widgets/widgets/openvpn.widget.php @@ -168,7 +168,7 @@ $clients = openvpn_get_active_clients(); <?=$conn['remote_host'];?> </td> <td> - <i class="icon icon-remove-sign" onclick="killClient('<?=$server['mgmt']; ?>', '<?=$conn['remote_host']; ?>');" style='cursor:pointer;' + <i class="fa fa-times-circle" onclick="killClient('<?=$server['mgmt']; ?>', '<?=$conn['remote_host']; ?>');" style='cursor:pointer;' name='<?php echo "i:{$server['mgmt']}:{$conn['remote_host']}"; ?>' title='Kill client connection from <?php echo $conn['remote_host']; ?>'> </i> @@ -215,10 +215,10 @@ $clients = openvpn_get_active_clients(); <?php if ($sk_server['status'] == "up") { /* tunnel is up */ - echo '<i class="icon icon-arrow-up"></i>'; + echo '<i class="fa fa-arrow-up"></i>'; } else { /* tunnel is down */ - echo '<i class="icon icon-arrow-down"></i>'; + echo '<i class="fa fa-arrow-down"></i>'; } ?> </td> @@ -265,10 +265,10 @@ $clients = openvpn_get_active_clients(); <?php if ($client['status'] == "up") { /* tunnel is up */ - echo '<i class="icon icon-arrow-up"></i>'; + echo '<i class="fa fa-arrow-up"></i>'; } else { /* tunnel is down */ - echo '<i class="icon icon-arrow-down"></i>'; + echo '<i class="fa fa-arrow-down"></i>'; } ?> diff --git a/src/usr/local/www/widgets/widgets/services_status.widget.php b/src/usr/local/www/widgets/widgets/services_status.widget.php index ab74aa0..d942c10 100644 --- a/src/usr/local/www/widgets/widgets/services_status.widget.php +++ b/src/usr/local/www/widgets/widgets/services_status.widget.php @@ -100,7 +100,7 @@ if (count($services) > 0) { $service_desc = explode(".",$service['description']); ?> <tr> - <td><i class="icon icon-<?=get_service_status($service)? 'ok' : 'remove'?>-sign"></i></td> + <td><i class="fa fa-<?=get_service_status($service)? 'check' : 'times'?>-circle"></i></td> <td><?=$service['name']?></td> <td><?=$service_desc[0]?></td> <td><?=get_service_control_GET_links($service)?></td> @@ -134,4 +134,4 @@ if (count($services) > 0) { <button type="submit" class="btn btn-default">Save</button> </div> </div> -</form>
\ No newline at end of file +</form> diff --git a/src/usr/local/www/widgets/widgets/smart_status.widget.php b/src/usr/local/www/widgets/widgets/smart_status.widget.php index 5c61e12..5140487 100644 --- a/src/usr/local/www/widgets/widgets/smart_status.widget.php +++ b/src/usr/local/www/widgets/widgets/smart_status.widget.php @@ -98,7 +98,7 @@ if (count($devs) > 0) { } ?> <tr> - <td><i class="icon icon-<?=$icon?>-sign"></i></td> + <td><i class="fa fa-<?=$icon?>-circle"></i></td> <td><?=$dev?></td> <td><?=$dev_ident?></td> <td><?=ucfirst($dev_state)?></td> |