From db37acbe837b9ef997006ab5ffd4397c4b7b8055 Mon Sep 17 00:00:00 2001 From: Louis Bailleul Date: Thu, 19 Nov 2015 12:01:10 +0000 Subject: [PATCH] Replace left and bottom arrow icons by plus and minus icons --- html/includes/print-interface.inc.php | 2 +- html/js/librenms.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/includes/print-interface.inc.php b/html/includes/print-interface.inc.php index 2b7d14fea..bbec19f8a 100644 --- a/html/includes/print-interface.inc.php +++ b/html/includes/print-interface.inc.php @@ -179,7 +179,7 @@ echo ''; echo ''; $neighborsCount=0; -echo '
+echo '
'; if (strpos($port['label'], 'oopback') === false && !$graph_type) { foreach (dbFetchRows('SELECT * FROM `links` AS L, `ports` AS I, `devices` AS D WHERE L.local_port_id = ? AND L.remote_port_id = I.port_id AND I.device_id = D.device_id', array($if_id)) as $link) { diff --git a/html/js/librenms.js b/html/js/librenms.js index 31f4f8796..9bffaffca 100644 --- a/html/js/librenms.js +++ b/html/js/librenms.js @@ -143,12 +143,12 @@ $(document).on("click", '.collapse-neighbors', function(event) var list = caller.find('.neighbors-interface-list'); var continued = caller.find('.neighbors-list-continued'); - if(button.hasClass("glyphicon-triangle-right")) + if(button.hasClass("glyphicon-plus")) { - button.addClass('glyphicon-triangle-bottom').removeClass('glyphicon-triangle-right'); + button.addClass('glyphicon-minus').removeClass('glyphicon-plus'); }else { - button.addClass('glyphicon-triangle-right').removeClass('glyphicon-triangle-bottom'); + button.addClass('glyphicon-plus').removeClass('glyphicon-minus'); } list.toggle();