From f158e25d2e932b3b2c253f789ac4a683473a439d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 21 May 2020 09:51:59 +0300 Subject: [PATCH] Remove glyphicons again. Signed-off-by: XhmikosR --- scripts/pi-hole/js/groups-adlists.js | 14 ++------------ scripts/pi-hole/js/groups-clients.js | 9 ++------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/scripts/pi-hole/js/groups-adlists.js b/scripts/pi-hole/js/groups-adlists.js index be775d66..b184e625 100644 --- a/scripts/pi-hole/js/groups-adlists.js +++ b/scripts/pi-hole/js/groups-adlists.js @@ -243,12 +243,7 @@ function addAdlist() { success: function (response) { utils.enableAll(); if (response.success) { - utils.showAlert( - "success", - "glyphicon glyphicon-plus", - "Successfully added adlist", - address - ); + utils.showAlert("success", "fas fa-plus", "Successfully added adlist", address); table.ajax.reload(null, false); $("#new_address").val(""); $("#new_comment").val(""); @@ -362,12 +357,7 @@ function deleteAdlist() { success: function (response) { utils.enableAll(); if (response.success) { - utils.showAlert( - "success", - "glyphicon glyphicon-trash", - "Successfully deleted adlist ", - address - ); + utils.showAlert("success", "far fa-trash-alt", "Successfully deleted adlist ", address); table.row(tr).remove().draw(false).ajax.reload(null, false); } else { utils.showAlert("error", "", "Error while deleting adlist with ID " + id, response.message); diff --git a/scripts/pi-hole/js/groups-clients.js b/scripts/pi-hole/js/groups-clients.js index 3366a3e4..39b979ba 100644 --- a/scripts/pi-hole/js/groups-clients.js +++ b/scripts/pi-hole/js/groups-clients.js @@ -353,7 +353,7 @@ function editClient() { if (response.success) { utils.showAlert( "success", - "glyphicon glyphicon-pencil", + "fas fa-pencil-alt", "Successfully " + done + " client", ip_name ); @@ -400,12 +400,7 @@ function deleteClient() { success: function (response) { utils.enableAll(); if (response.success) { - utils.showAlert( - "success", - "glyphicon glyphicon-trash", - "Successfully deleted client ", - ip_name - ); + utils.showAlert("success", "far fa-trash-alt", "Successfully deleted client ", ip_name); table.row(tr).remove().draw(false).ajax.reload(null, false); reload_client_suggestions(); } else {