mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Update alert classes
This commit is contained in:
parent
6cd18ad571
commit
c74c4deb63
1 changed files with 3 additions and 3 deletions
|
@ -18,11 +18,11 @@ class StatusMessage
|
|||
{
|
||||
$status = '<div class="alert alert-'.$level;
|
||||
if ($dismissable) {
|
||||
$status .= ' alert-dismissable';
|
||||
$status .= ' alert-dismissible';
|
||||
}
|
||||
$status .= '">'. _($message);
|
||||
$status .= ' fade show" role="alert">'. _($message);
|
||||
if ($dismissable) {
|
||||
$status .= '<button type="button" class="close" data-dismiss="alert" aria-hidden="true">x</button>';
|
||||
$status .= '<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="close"></button>';
|
||||
}
|
||||
$status .= '</div>';
|
||||
|
||||
|
|
Loading…
Reference in a new issue