mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use consistent arrow colors on dashboard
Interfaces widget and IPsec widget use text-success and text-danger to make the up and down arrows be green and red. This change does the same thing to OpenVPN and WoL widgets for consistency.
This commit is contained in:
parent
adaa4d036b
commit
fa5f513658
@ -178,10 +178,10 @@ $clients = openvpn_get_active_clients();
|
||||
<?php
|
||||
if ($sk_server['status'] == "up") {
|
||||
/* tunnel is up */
|
||||
echo '<i class="fa fa-arrow-up"></i>';
|
||||
echo '<i class="fa fa-arrow-up text-success"></i>';
|
||||
} else {
|
||||
/* tunnel is down */
|
||||
echo '<i class="fa fa-arrow-down"></i>';
|
||||
echo '<i class="fa fa-arrow-down text-danger"></i>';
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
@ -228,10 +228,10 @@ $clients = openvpn_get_active_clients();
|
||||
<?php
|
||||
if ($client['status'] == "up") {
|
||||
/* tunnel is up */
|
||||
echo '<i class="fa fa-arrow-up"></i>';
|
||||
echo '<i class="fa fa-arrow-up text-success"></i>';
|
||||
} else {
|
||||
/* tunnel is down */
|
||||
echo '<i class="fa fa-arrow-down"></i>';
|
||||
echo '<i class="fa fa-arrow-down text-danger"></i>';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
@ -93,11 +93,11 @@ if (count($wolcomputers) > 0):
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($status == 'expires'): ?>
|
||||
<i class="fa fa-arrow-up" data-toggle="tooltip" title="<?= gettext("Online") ?>"></i>
|
||||
<i class="fa fa-arrow-up text-success" data-toggle="tooltip" title="<?= gettext("Online") ?>"></i>
|
||||
<?php elseif ($status == 'permanent'): ?>
|
||||
<i class="fa fa-arrow-up" data-toggle="tooltip" title="<?= gettext("Static ARP") ?>"></i>
|
||||
<i class="fa fa-arrow-up text-success" data-toggle="tooltip" title="<?= gettext("Static ARP") ?>"></i>
|
||||
<?php else: ?>
|
||||
<i class="fa fa-arrow-down" data-toggle="tooltip" title="<?= gettext("Offline") ?>"></i>
|
||||
<i class="fa fa-arrow-down text-danger" data-toggle="tooltip" title="<?= gettext("Offline") ?>"></i>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user