update to bootstrap 5.2.3 continued

This commit is contained in:
Joey Kimsey
2024-12-10 01:46:00 -05:00
parent b3018de907
commit f3f323d30f
23 changed files with 279 additions and 155 deletions

View File

@ -56,7 +56,7 @@ class Notifications extends Plugin {
Components::set( 'recentNotifications', '' );
}
App::$topNavRight .= '{recentNotifications}';
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}notifications"><i class="fa fa-fw fa-bell"></i> Notifications {NBADGE}</a></li>';
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}notifications" class="dropdown-item"><i class="fa fa-fw fa-bell"></i> Notifications {NBADGE}</a></li>';
self::$loaded = true;
}
}

View File

@ -1,14 +1,14 @@
<li class="dropdown nav-item">
<div class="dropdown nav-item mx-2">
<a
href="#"
class="nav-link dropdown-toggle"
class="d-block dropdown-toggle nav-link"
id="notiificationsDropdown"
data-bs-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">
<i class="fa fa-fw fa-bell"></i>{NBADGE}
<i class="fa fa-fw fa-bell"></i><span class="ml-3">{MBADGE}</span>
</a>
<ul class="dropdown-menu dropdown-menu-end message-dropdown" aria-labelledby="notiificationsDropdown">
<ul class="dropdown-menu text-small" aria-labelledby="notiificationsDropdown">
{LOOP}
<li class="message-preview">
<a href="{ROOT_URL}notifications">
@ -31,7 +31,7 @@
</li>
{/ALT}
<li class="message-footer text-center">
<a href="{ROOT_URL}notifications">See All Notifications</a>
<a href="{ROOT_URL}notifications" class="dropdown-item">See All Notifications</a>
</li>
</ul>
</li>
</div>