diff options
author | Jared Dillard <jdillard@netgate.com> | 2016-03-16 16:05:52 -0500 |
---|---|---|
committer | Jared Dillard <jdillard@netgate.com> | 2016-03-16 16:05:58 -0500 |
commit | 44f9844b4010307af4c6d51e518c552f07248fdb (patch) | |
tree | 071e167d3e67428820ee5ec5c7055f4180ef76db /src/usr/local/www/widgets/widgets | |
parent | a22d5c92131f758de8429d928ae44c7a7c9df1d4 (diff) | |
download | pfsense-44f9844b4010307af4c6d51e518c552f07248fdb.zip pfsense-44f9844b4010307af4c6d51e518c552f07248fdb.tar.gz |
add color to icons
Diffstat (limited to 'src/usr/local/www/widgets/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/ipsec.widget.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php index b05482c..22c03d2 100644 --- a/src/usr/local/www/widgets/widgets/ipsec.widget.php +++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php @@ -171,9 +171,9 @@ if ($_REQUEST && $_REQUEST['ajax']) { print( "<td>" . htmlspecialchars($ipsec['descr']) . "</td>\n"); if ($ipsec['status'] == "true") { - print('<td><i class="fa fa-arrow-up"></i></td>' . "\n"); + print('<td><i class="fa fa-arrow-up text-success"></i></td>' . "\n"); } else { - print('<td><i class="fa fa-arrow-down"></i></td>' . "\n"); + print('<td><i class="fa fa-arrow-down text-danger"></i></td>' . "\n"); } print( "</tr>\n"); @@ -335,7 +335,7 @@ function get_ipsec_stats() { $('tbody', '#ipsec-' + curtab).html(response); // and do it again - setTimeout(get_ipsec_stats, 6000); + setTimeout(get_ipsec_stats, 16000); }); } |