From 4ca63a6bb217261ac2c2b91dafd631f04a81419f Mon Sep 17 00:00:00 2001 From: stonebuzz Date: Wed, 31 Jan 2024 17:04:24 +0100 Subject: [PATCH] fix(Core): new icon --- src/Computer/Group.php | 2 +- src/Computer/GroupDynamic.php | 7 ++++++- src/Computer/GroupStatic.php | 5 +++++ src/PackageTarget.php | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/Computer/Group.php b/src/Computer/Group.php index e7d2c20..00a34b3 100644 --- a/src/Computer/Group.php +++ b/src/Computer/Group.php @@ -273,7 +273,7 @@ public static function uninstall(Migration $migration) public static function getIcon() { - return "fa-fw ti ti-device-laptop"; + return "ti ti-sitemap"; } diff --git a/src/Computer/GroupDynamic.php b/src/Computer/GroupDynamic.php index adf1ca4..8b85d8e 100644 --- a/src/Computer/GroupDynamic.php +++ b/src/Computer/GroupDynamic.php @@ -89,7 +89,6 @@ public static function getSpecificValueToDisplay($field, $values, array $options if (!is_array($values)) { $values = [$field => $values]; } - Toolbox::logDebug($field); switch ($field) { case 'search': $count = 0; @@ -306,4 +305,10 @@ public static function uninstall(Migration $migration) $DB->doQuery("DROP TABLE IF EXISTS `" . self::getTable() . "`") or die($DB->error()); } } + + public static function getIcon() + { + return "ti ti-atom"; + } + } diff --git a/src/Computer/GroupStatic.php b/src/Computer/GroupStatic.php index aff52ca..9c9a802 100644 --- a/src/Computer/GroupStatic.php +++ b/src/Computer/GroupStatic.php @@ -221,4 +221,9 @@ public static function uninstall(Migration $migration) $DB->doQuery("DROP TABLE IF EXISTS `" . self::getTable() . "`") or die($DB->error()); } } + + public static function getIcon() + { + return "ti ti-device-laptop"; + } } diff --git a/src/PackageTarget.php b/src/PackageTarget.php index 746e68f..3149653 100644 --- a/src/PackageTarget.php +++ b/src/PackageTarget.php @@ -60,7 +60,7 @@ public static function getTypeName($nb = 0) public static function getIcon() { - return "ti ti-devices-pc"; + return "ti ti-target-arrow"; }