diff options
author | Jared Dillard <jdillard@netgate.com> | 2015-11-17 18:23:20 -0600 |
---|---|---|
committer | Jared Dillard <jdillard@netgate.com> | 2015-11-17 18:23:20 -0600 |
commit | 7ea6567421bd9912b842b1e4a4ff73e73ff3e693 (patch) | |
tree | c9c3b5e427be535d27e66bc85446e93c20a79659 /src/usr/local/www/widgets | |
parent | 67e817946af221262024b4e60d9cce2e645e253e (diff) | |
download | pfsense-7ea6567421bd9912b842b1e4a4ff73e73ff3e693.zip pfsense-7ea6567421bd9912b842b1e4a4ff73e73ff3e693.tar.gz |
Ticket #5471 partial convert to font-awesome fonts
Diffstat (limited to 'src/usr/local/www/widgets')
3 files changed, 16 insertions, 16 deletions
diff --git a/src/usr/local/www/widgets/widgets/carp_status.widget.php b/src/usr/local/www/widgets/widgets/carp_status.widget.php index 953350c..642b0f4 100644 --- a/src/usr/local/www/widgets/widgets/carp_status.widget.php +++ b/src/usr/local/www/widgets/widgets/carp_status.widget.php @@ -82,7 +82,7 @@ $carp_enabled = get_carp_status(); ?> <tr> <td> - <i class="icon icon-inbox"></i> + <i class="fa fa-inbox"></i> <a href="/system_hasync.php"> <?=htmlspecialchars(convert_friendly_interface_to_friendly_descr($carp['interface']) . "@{$vhid}");?> </a> @@ -91,14 +91,14 @@ $carp_enabled = get_carp_status(); <?php if ($carp_enabled == false) { $status = "DISABLED"; - echo '<i class="icon-large icon-ban-circle"></i>'; + echo '<i class="fa fa-ban"></i>'; } else { if($status == "MASTER") { - echo '<i class="icon-large icon-arrow-right"></i>'; + echo '<i class="fa fa-arrow-right"></i>'; } else if($status == "BACKUP") { - echo '<i class="icon-large icon-arrow-right"></i>'; + echo '<i class="fa fa-arrow-right"></i>'; } else if($status == "INIT") { - echo '<i class="icon-large icon-list-alt"></i>'; + echo '<i class="fa fa-list-alt"></i>'; } } if ($ipaddress){ ?> diff --git a/src/usr/local/www/widgets/widgets/interfaces.widget.php b/src/usr/local/www/widgets/widgets/interfaces.widget.php index bffc35d..eee7cdd 100644 --- a/src/usr/local/www/widgets/widgets/interfaces.widget.php +++ b/src/usr/local/www/widgets/widgets/interfaces.widget.php @@ -70,22 +70,22 @@ foreach ($ifdescrs as $ifdescr => $ifname): $ifinfo = get_interface_info($ifdescr); if ($ifinfo['ppplink']) { - $icon = 'icon-headphones'; + $icon = 'headphones'; } else if (is_interface_wireless($ifdescr)) { - $icon = 'icon-signal'; + $icon = 'signal'; } else { - $icon = 'icon-cog'; + $icon = 'cog'; } $known_status = true; // Choose an icon by interface status if ($ifinfo['status'] == "up" || $ifinfo['status'] == "associated") { - $icon = 'icon-arrow-up'; + $icon = 'arrow-up'; } elseif ($ifinfo['status'] == "no carrier") { - $icon = 'icon-remove'; + $icon = 'times-circle'; } elseif ($ifinfo['status'] == "down") { - $icon = 'icon-arrow-up'; + $icon = 'arrow-up'; } else { $known_status = false; } @@ -93,14 +93,14 @@ foreach ($ifdescrs as $ifdescr => $ifname): ?> <tr> <td title="<?=htmlspecialchars($ifinfo['macaddr'])?>"> - <i class="icon icon-<?=$icon?>"></i> + <i class="fa fa-<?=$icon?>"></i> <a href="/interfaces.php?if=<?=$ifdescr?>"> <?=htmlspecialchars($ifname);?> </a> </td> <td> <?php if ($known_status):?> - <i class="icon <?=$icon?>" alt="<?=htmlspecialchars($ifinfo['status'])?>"></i> + <i class="fa fa-<?=$icon?>" alt="<?=htmlspecialchars($ifinfo['status'])?>"></i> <?php else: ?> <?=htmlspecialchars($ifinfo['status'])?> <?php endif; ?> diff --git a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php index 340193d..27f983d 100644 --- a/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php +++ b/src/usr/local/www/widgets/widgets/wake_on_lan.widget.php @@ -88,13 +88,13 @@ if (count($wolcomputers) > 0) { echo "<td>\n"; if ($status == 'expires') { - echo '<i class="icon-large icon-arrow-right" data-toggle="tooltip" title="' . gettext("Online") . '"></i>'; + echo '<i class="fa fa-arrow-right" data-toggle="tooltip" title="' . gettext("Online") . '"></i>'; } else if ($status == 'permanent') { echo '<td align="center">' . "\n"; - echo '<i class="icon-large icon-arrow-right" data-toggle="tooltip" title="' . gettext("Static ARP") . '"></i>'; + echo '<i class="fa fa-arrow-right" data-toggle="tooltip" title="' . gettext("Static ARP") . '"></i>'; } else { echo '<td" align="center">' . "\n"; - echo '<i class="icon-large icon-ban-circle" data-toggle="tooltip" title="' . gettext("Offline") . '"></i>'; + echo '<i class="fa fa-ban" data-toggle="tooltip" title="' . gettext("Offline") . '"></i>'; } echo "</td>\n<td>"; |