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

@ -48,9 +48,8 @@ class Messages extends Plugin {
} else {
Components::set( 'RECENT_MESSAGES', '' );
}
App::$topNavRight .= '{RECENT_MESSAGES}';
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}messages"><i class="fa fa-fw fa-envelope"></i> Inbox {MBADGE}</a></li>';
App::$topNavRightDropdown .= '<li><a href="{ROOT_URL}messages" class="dropdown-item"><i class="fa fa-fw fa-envelope"></i> Inbox {MBADGE}</a></li>';
self::$loaded = true;
}
parent::__construct();

View File

@ -1,15 +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="messagesDropdown"
data-bs-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false">
<i class="fa fa-fw fa-envelope"></i>{MBADGE}
<i class="fa fa-fw fa-envelope"></i><span class="ml-3">{MBADGE}</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="messagesDropdown">
<ul class="dropdown-menu text-small" aria-labelledby="messagesDropdown">
<li class="message-header">
<div class="media">
<div class="media-body text-center" style="padding-bottom: 10px; padding-top: 10px">
@ -44,7 +43,7 @@
</li>
{/ALT}
<li class="message-footer text-center">
<a href="{ROOT_URL}messages">Read All New Messages</a>
<a href="{ROOT_URL}messages" class="dropdown-item">Read All New Messages</a>
</li>
</ul>
</li>
</div>