mirror of
https://github.com/pi-hole/web.git
synced 2025-12-22 11:48:26 +00:00
groups-common.js: use FontAwesome for consistency
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ function showAlert(type, icon, title, message) {
|
|||||||
case "info":
|
case "info":
|
||||||
opts = {
|
opts = {
|
||||||
type: "info",
|
type: "info",
|
||||||
icon: "glyphicon glyphicon-time",
|
icon: "far fa-clock",
|
||||||
title: title,
|
title: title,
|
||||||
message: message
|
message: message
|
||||||
};
|
};
|
||||||
@@ -38,7 +38,7 @@ function showAlert(type, icon, title, message) {
|
|||||||
case "warning":
|
case "warning":
|
||||||
opts = {
|
opts = {
|
||||||
type: "warning",
|
type: "warning",
|
||||||
icon: "glyphicon glyphicon-warning-sign",
|
icon: "fas fa-exclamation-triangle",
|
||||||
title: title,
|
title: title,
|
||||||
message: message
|
message: message
|
||||||
};
|
};
|
||||||
@@ -52,7 +52,7 @@ function showAlert(type, icon, title, message) {
|
|||||||
case "error":
|
case "error":
|
||||||
opts = {
|
opts = {
|
||||||
type: "danger",
|
type: "danger",
|
||||||
icon: "glyphicon glyphicon-remove",
|
icon: "fas fa-times",
|
||||||
title: " <strong>Error, something went wrong!</strong><br>",
|
title: " <strong>Error, something went wrong!</strong><br>",
|
||||||
message: message
|
message: message
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user