summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorJared Dillard <jdillard@netgate.com>2015-11-17 18:23:20 -0600
committerJared Dillard <jdillard@netgate.com>2015-11-17 18:23:20 -0600
commit7ea6567421bd9912b842b1e4a4ff73e73ff3e693 (patch)
treec9c3b5e427be535d27e66bc85446e93c20a79659 /src/usr/local
parent67e817946af221262024b4e60d9cce2e645e253e (diff)
downloadpfsense-7ea6567421bd9912b842b1e4a4ff73e73ff3e693.zip
pfsense-7ea6567421bd9912b842b1e4a4ff73e73ff3e693.tar.gz
Ticket #5471 partial convert to font-awesome fonts
Diffstat (limited to 'src/usr/local')
-rwxr-xr-xsrc/usr/local/www/diag_logs_vpn.php4
-rw-r--r--src/usr/local/www/firewall_rules.php14
-rw-r--r--src/usr/local/www/guiconfig.inc2
-rwxr-xr-xsrc/usr/local/www/head.inc2
-rwxr-xr-xsrc/usr/local/www/pkg.php2
-rw-r--r--src/usr/local/www/shortcuts.inc6
-rw-r--r--src/usr/local/www/system_crlmanager.php2
-rw-r--r--src/usr/local/www/widgets/widgets/carp_status.widget.php10
-rw-r--r--src/usr/local/www/widgets/widgets/interfaces.widget.php16
-rw-r--r--src/usr/local/www/widgets/widgets/wake_on_lan.widget.php6
10 files changed, 32 insertions, 32 deletions
diff --git a/src/usr/local/www/diag_logs_vpn.php b/src/usr/local/www/diag_logs_vpn.php
index 82e14b7..2f2cc7a 100755
--- a/src/usr/local/www/diag_logs_vpn.php
+++ b/src/usr/local/www/diag_logs_vpn.php
@@ -137,9 +137,9 @@ function dump_clog_vpn($logfile, $tail) {
echo "<td>" . htmlspecialchars(join(" ", array_slice($logent, 0, 3))) . "</td>\n";
if ($llent[0] == "login") {
- echo "<td><i class=\"icon-large icon-arrow-left\" alt=\"in\"></i></td>\n";
+ echo "<td><i class=\"fa fa-arrow-left\" alt=\"in\"></i></td>\n";
} else {
- echo "<td><i class=\"icon-large icon-arrow-right\" alt=\"out\"></i></td>\n";
+ echo "<td><i class=\"fa fa-arrow-right\" alt=\"out\"></i></td>\n";
}
echo "<td>" . htmlspecialchars($llent[3]) . "</td>\n";
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php
index b3c5476..cd44330 100644
--- a/src/usr/local/www/firewall_rules.php
+++ b/src/usr/local/www/firewall_rules.php
@@ -377,7 +377,7 @@ for ($i = 0; isset($a_filter[$i]); $i++):
<?php
$isadvset = firewall_check_for_advanced_options($filterent);
if ($isadvset)
- print '<i class="icon icon-cog" title="'. gettext("advanced setting") .': '. $isadvset .'"></i>';
+ print '<i class="fa fa-cog" title="'. gettext("advanced setting") .': '. $isadvset .'"></i>';
if (isset($filterent['log']))
print '<i class="icon icon-tasks" title="'. gettext("traffic is logged") .'"></i>';
@@ -508,18 +508,18 @@ for ($i = 0; isset($a_filter[$i]); $i++):
if (!isset($filterent['disabled'])) {
if ($schedstatus) {
if ($iconfn == "block" || $iconfn == "reject") {
- $image = "icon_block";
+ $image = "times-circle";
$alttext = gettext("Traffic matching this rule is currently being denied");
} else {
- $image = "icon_pass";
+ $image = "play-circle";
$alttext = gettext("Traffic matching this rule is currently being allowed");
}
$printicon = true;
} else if ($filterent['sched']) {
if ($iconfn == "block" || $iconfn == "reject")
- $image = "icon_block_d";
+ $image = "times-circle";
else
- $image = "icon_block";
+ $image = "times-circle";
$alttext = gettext("This rule is not currently active because its period has expired");
$printicon = true;
}
@@ -604,7 +604,7 @@ for ($i = 0; isset($a_filter[$i]); $i++):
</td>
<td>
<?php if ($printicon) { ?>
- <i class="icon-large <?=$image;?>" title="<?=$alttext;?>" alt="icon" />
+ <i class="fa fa-<?=$image;?>" title="<?=$alttext;?>" alt="icon" />
<?php } ?>
<?=$schedule_span_begin;?><?=htmlspecialchars($filterent['sched']);?>&nbsp;<?=$schedule_span_end;?>
</td>
@@ -679,7 +679,7 @@ for ($i = 0; isset($a_filter[$i]); $i++):
<dt><i class="icon icon-remove"></i></dt> <dd><?=gettext("Block");?></dd>
<dt><i class="icon icon-fire"></i></dt> <dd><?=gettext("Reject");?></dd>
<dt><i class="icon icon-tasks"></i></dt> <dd> <?=gettext("Log");?></dd>
- <dt><i class="icon icon-cog"></i></dt> <dd> <?=gettext("Advanced filter");?></dd>
+ <dt><i class="fa fa-cog"></i></dt> <dd> <?=gettext("Advanced filter");?></dd>
</dl>
<?php
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc
index 8273859..3d0e2fc 100644
--- a/src/usr/local/www/guiconfig.inc
+++ b/src/usr/local/www/guiconfig.inc
@@ -367,7 +367,7 @@ function print_info_box_np_undo($msg, $name = "apply", $value = "Apply changes",
<table class="infoboxnptable2" summary="message">
<tr>
<td class="infoboxnptd">
- &nbsp;&nbsp;&nbsp;<i class="icon-large icon-exclamation-sign"></i>
+ &nbsp;&nbsp;&nbsp;<i class="fa fa-exclamation-circle"></i>
</td>
<td class="infoboxnptd2">
<b>{$msg}</b>
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index 3fd1a62..4b8cd69 100755
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -469,7 +469,7 @@ echo '<li>'. get_shortcut_log_link($shortcut_section, false). '</li>';
<?php if (!$g['disablehelpicon']): ?>
<li>
<a href="<?=$helpurl?>" title="<?=gettext("Help for items on this page")?>" class="help-icon">
- <i class="icon-large icon-question-sign"></i>
+ <i class="fa fa-question-circle"></i>
</a>
</li>
<?php endif?>
diff --git a/src/usr/local/www/pkg.php b/src/usr/local/www/pkg.php
index ce067ea..72787d6 100755
--- a/src/usr/local/www/pkg.php
+++ b/src/usr/local/www/pkg.php
@@ -566,7 +566,7 @@ if ($savemsg)
if ($pkg['adddeleteeditpagefields']['description']) {
?>
<td>
- <i class="icon-large icon-info-sign"><?=$pkg['adddeleteeditpagefields']['description']?></i>
+ <i class="fa fa-info-circle"><?=$pkg['adddeleteeditpagefields']['description']?></i>
</td>
<?php
}
diff --git a/src/usr/local/www/shortcuts.inc b/src/usr/local/www/shortcuts.inc
index 39fe036..ff026e2 100644
--- a/src/usr/local/www/shortcuts.inc
+++ b/src/usr/local/www/shortcuts.inc
@@ -124,7 +124,7 @@ function get_shortcut_main_link($shortcut_section, $addspace = true, $service =
break;
}
if (!empty($link) && ($_SERVER['REQUEST_URI'] != "/{$link}")) {
- return "{$space}<a href=\"{$link}\" title=\"" . gettext("Main page for this section") . "\"><i class=\"icon-large icon-plus-sign\"></i></a>";
+ return "{$space}<a href=\"{$link}\" title=\"" . gettext("Main page for this section") . "\"><i class=\"fa fa-plus-circle\"></i></a>";
}
}
@@ -152,7 +152,7 @@ function get_shortcut_status_link($shortcut_section, $addspace = true, $service
break;
}
if (!empty($link)) {
- return "{$space}<a href=\"{$link}\" title=\"" . gettext("Status of items on this page") . "\"><i class=\"icon-large icon-cog\"></i></a>";
+ return "{$space}<a href=\"{$link}\" title=\"" . gettext("Status of items on this page") . "\"><i class=\"fa fa-cog\"></i></a>";
}
}
@@ -160,7 +160,7 @@ function get_shortcut_log_link($shortcut_section, $addspace = true) {
global $g, $shortcuts;
$space = ($addspace) ? "&nbsp;" : "" ;
if (!empty($shortcut_section) && !empty($shortcuts[$shortcut_section]['log'])) {
- return "{$space}<a href=\"{$shortcuts[$shortcut_section]['log']}\" title=\"" . gettext("Log entries for items on this page") . "\"><i class=\"icon-large icon-list-alt\"></i></a>";
+ return "{$space}<a href=\"{$shortcuts[$shortcut_section]['log']}\" title=\"" . gettext("Log entries for items on this page") . "\"><i class=\"fa fa-list-alt\"></i></a>";
}
}
diff --git a/src/usr/local/www/system_crlmanager.php b/src/usr/local/www/system_crlmanager.php
index 8317ab5..8dbf2aa 100644
--- a/src/usr/local/www/system_crlmanager.php
+++ b/src/usr/local/www/system_crlmanager.php
@@ -524,7 +524,7 @@ if ($act == "new" || $act == gettext("Save") || $input_errors) {
</td>
<td class="list">
<a href="system_crlmanager.php?act=delcert&amp;id=<?=$crl['refid']; ?>&amp;certref=<?=$cert['refid']; ?>" onclick="return confirm('<?=gettext("Do you really want to delete this Certificate from the CRL?")?>')">
- <i class="icon-large icon-remove-sign" title="<?=gettext("Delete this certificate from the CRL ")?>" alt="<?=gettext("Delete this certificate from the CRL ")?>"></i>
+ <i class="fa fa-times-circle" title="<?=gettext("Delete this certificate from the CRL ")?>" alt="<?=gettext("Delete this certificate from the CRL ")?>"></i>
</a>
</td>
</tr>
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){ ?> &nbsp;
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>";
OpenPOWER on IntegriCloud