user profile
This commit is contained in:
@@ -120,14 +120,12 @@
|
||||
<!-- ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ -->
|
||||
<div class="dropdown">
|
||||
<a class="nav-link dropdown-toggle d-flex align-items-center" href="#" role="button" data-bs-toggle="dropdown">
|
||||
<div class="bg-primary text-white rounded-circle d-flex justify-content-center align-items-center me-2" style="width:32px; height:32px;">
|
||||
{{ session_data.name|first|upper }}
|
||||
</div>
|
||||
{{ get_avatar(null, 32, 'me-2') }}
|
||||
<span class="d-none d-md-inline text-dark">{{ session_data.name }}</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-end shadow-sm">
|
||||
<li><h6 class="dropdown-header">{{ session_data.email }}</h6></li>
|
||||
<li><a class="dropdown-item" href="#"><i class="fa-regular fa-user me-2"></i> Профиль</a></li>
|
||||
<li><a class="dropdown-item" href="{{ base_url('/profile') }}"><i class="fa-regular fa-user me-2"></i> Профиль</a></li>
|
||||
<li><hr class="dropdown-divider"></li>
|
||||
<li><a class="dropdown-item text-danger" href="{{ base_url('/logout') }}"><i class="fa-solid fa-arrow-right-from-bracket me-2"></i> Выйти</a></li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user