|
|
@@ -121,19 +121,19 @@ class alert
|
|
|
$idAlert = "printToastSuccess";
|
|
|
$texte1 = (self::getSuccess()) ? self::getSuccess() : NULL;
|
|
|
$style = 'background:#d4edda;';
|
|
|
- $icon = '<span data-feather="info" style="color:green;"></span> <strong style="color:green; margin-left:5px;" class="mr-auto">Succès</strong>';
|
|
|
+ $icon = '<i class="bi bi-info-circle" style="color:green; font-size:19px;"></i> <strong style="color:green; margin-left:5px;" class="mr-auto">Succès</strong>';
|
|
|
self::printToast($idAlert, $style, $icon, $texte1);
|
|
|
|
|
|
$idAlert = "printToastWarning";
|
|
|
$texte2 = (self::getWarning()) ? self::getWarning() : NULL;
|
|
|
$style = 'background:#fff3cd;';
|
|
|
- $icon = '<span data-feather="alert-circle" style="color:orange;"></span> <strong style="color:orange; margin-left:5px;" class="mr-auto">Attention</strong>';
|
|
|
+ $icon = '<i class="bi bi-exclamation-diamond" style="color:orange; font-size:19px;"></i> <strong style="color:orange; margin-left:5px;" class="mr-auto">Attention</strong>';
|
|
|
self::printToast($idAlert, $style, $icon, $texte2);
|
|
|
|
|
|
$idAlert = "printToastError";
|
|
|
$texte3 = (self::getError()) ? self::getError() : NULL;
|
|
|
$style = 'background:#f8d7da;';
|
|
|
- $icon = '<span data-feather="alert-triangle" style="color:red;"></span> <strong style="color:red; margin-left:5px;" class="mr-auto">Erreur</strong>';
|
|
|
+ $icon = '<i class="bi bi-exclamation-triangle" style="color:red; font-size:19px;"></i> <strong style="color:red; margin-left:5px;" class="mr-auto">Erreur</strong>';
|
|
|
self::printToast($idAlert, $style, $icon, $texte3);
|
|
|
|
|
|
echo '</div>';
|