From fa5f513658f7f1aba530e76e01dfbc021605c3ad Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 13 Apr 2016 05:54:08 +0545 Subject: [PATCH] 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. --- src/usr/local/www/widgets/widgets/openvpn.widget.php | 8 ++++---- src/usr/local/www/widgets/widgets/wake_on_lan.widget.php | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/usr/local/www/widgets/widgets/openvpn.widget.php b/src/usr/local/www/widgets/widgets/openvpn.widget.php index 756b235e6f..671c254a58 100644 --- a/src/usr/local/www/widgets/widgets/openvpn.widget.php +++ b/src/usr/local/www/widgets/widgets/openvpn.widget.php @@ -178,10 +178,10 @@ $clients = openvpn_get_active_clients(); '; + echo ''; } else { /* tunnel is down */ - echo ''; + echo ''; } ?> @@ -228,10 +228,10 @@ $clients = openvpn_get_active_clients(); '; + echo ''; } else { /* tunnel is down */ - echo ''; + echo ''; } ?> 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 60628b9524..0704691c8c 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 @@ -93,11 +93,11 @@ if (count($wolcomputers) > 0): - "> + "> - "> + "> - "> + ">