345 lines
8.2 KiB
PHP
345 lines
8.2 KiB
PHP
<!-- Top Bar Start -->
|
|
<div class="topbar">
|
|
|
|
<!-- LOGO -->
|
|
<div class="topbar-left" style="background: linear-gradient(to right, #1a237e, #3949ab);">
|
|
<a href="/" class="logo">
|
|
<span style="background: linear-gradient(to right, #1a237e, #3949ab); padding: 10px; border-radius: 5px;">
|
|
<h1 style="color: white; margin: 0;">BBS</h1>
|
|
</span>
|
|
<i>
|
|
<h1>B</h1>
|
|
</i>
|
|
</a>
|
|
</div>
|
|
|
|
<nav class="navbar-custom">
|
|
<ul class="navbar-right d-flex list-inline float-right mb-0">
|
|
<!-- full screen -->
|
|
<li class="dropdown notification-list d-none d-md-block">
|
|
<a class="nav-link waves-effect" href="#" id="btn-fullscreen">
|
|
<i class="mdi mdi-fullscreen noti-icon"></i>
|
|
</a>
|
|
</li>
|
|
|
|
<li class="dropdown notification-list">
|
|
<div class="dropdown notification-list nav-pro-img">
|
|
<a class="dropdown-toggle nav-link arrow-none waves-effect nav-user" data-toggle="dropdown" href="#" role="button" aria-haspopup="false" aria-expanded="false">
|
|
<img src="{{ asset('assets/images/profile1.jpg') }}" alt="user" class="rounded-circle">
|
|
</a>
|
|
<div class="dropdown-menu dropdown-menu-right profile-dropdown ">
|
|
<!-- item-->
|
|
<a class="dropdown-item" href="{{ route('profile.view') }}">
|
|
<i class="mdi mdi-account-circle m-r-5"></i>
|
|
<span style="color: black;">Profile</span>
|
|
</a>
|
|
|
|
{{-- <a class="dropdown-item d-block" href="#"><span class="badge badge-success float-right">11</span><i class="mdi mdi-settings m-r-5"></i> Settings</a> --}}
|
|
{{-- <a class="dropdown-item" href="#">
|
|
<i class="mdi mdi-lock-open-outline m-r-5"></i>
|
|
<span style="color: black;">Lock screen</span>
|
|
</a> --}}
|
|
<div class="dropdown-divider"></div>
|
|
<a class="dropdown-item text-danger" href="#" onclick="event.preventDefault(); document.getElementById('admin-logout-form').submit();">
|
|
<i class="mdi mdi-power text-danger"></i> Logout
|
|
</a>
|
|
<form id="admin-logout-form" action="{{ route('admin.logout') }}" method="POST" style="display: none;">
|
|
@csrf
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul class="list-inline menu-left mb-0">
|
|
<li class="float-left">
|
|
<button class="button-menu-mobile open-left waves-effect">
|
|
<i class="mdi mdi-menu"></i>
|
|
</button>
|
|
</li>
|
|
{{-- <li class="d-none d-sm-block">
|
|
<div class="dropdown pt-3 d-inline-block">
|
|
<a class="btn btn-light dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
Create
|
|
</a>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
<div class="dropdown-divider"></div>
|
|
<a class="dropdown-item" href="#">Separated link</a>
|
|
</div>
|
|
</div>
|
|
</li> --}}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
<!-- Top Bar End -->
|
|
|
|
<style>
|
|
.topbar {
|
|
background: linear-gradient(to right, #1a237e, #3949ab);
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.topbar-left {
|
|
background: linear-gradient(to right, #1a237e, #3949ab);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.logo {
|
|
text-decoration: none !important;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 70px;
|
|
}
|
|
|
|
.logo span h1 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
letter-spacing: 1px;
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.logo i {
|
|
display: none;
|
|
}
|
|
|
|
.navbar-custom {
|
|
background: linear-gradient(to right, #1a237e, #3949ab) !important;
|
|
}
|
|
|
|
.button-menu-mobile {
|
|
background: transparent;
|
|
color: rgba(255, 255, 255, 0.9);
|
|
border: none;
|
|
padding: 15px;
|
|
}
|
|
|
|
.button-menu-mobile:hover {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.navbar-custom .notification-list a {
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
}
|
|
|
|
.navbar-custom .notification-list a:hover {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.app-search {
|
|
position: relative;
|
|
padding: 0;
|
|
margin: 0 15px;
|
|
}
|
|
|
|
.search-box {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.app-search .form-control {
|
|
height: 38px;
|
|
padding-left: 20px;
|
|
padding-right: 40px;
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
color: #ffffff;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
transition: all 0.3s ease;
|
|
width: 240px;
|
|
}
|
|
|
|
.app-search .form-control:focus {
|
|
background-color: rgba(255, 255, 255, 0.15);
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
|
|
width: 280px;
|
|
}
|
|
|
|
.app-search .form-control::placeholder {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.search-btn {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
padding: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
.search-btn i {
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.app-search input::placeholder {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.app-search button {
|
|
background: transparent;
|
|
border: none;
|
|
color: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.noti-icon {
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
}
|
|
|
|
.profile-dropdown {
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.nav-user img {
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.notify-details {
|
|
color: black;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
border: none;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
background: #ffffff;
|
|
}
|
|
|
|
.dropdown-item {
|
|
color: #333333 !important;
|
|
padding: 8px 20px;
|
|
font-size: 13px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.dropdown-item span {
|
|
color: #333333 !important;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.dropdown-item img {
|
|
margin-right: 5px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.dropdown-item:hover span {
|
|
color: #000000 !important;
|
|
}
|
|
|
|
.dropdown-item i {
|
|
margin-right: 8px;
|
|
font-size: 16px;
|
|
color: #333333;
|
|
}
|
|
|
|
.dropdown-item-text {
|
|
color: #333333;
|
|
font-weight: 600;
|
|
padding: 12px 20px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.notification-item-list {
|
|
color: #333333;
|
|
}
|
|
|
|
.notification-item-list a {
|
|
color: #333333 !important;
|
|
}
|
|
|
|
.text-primary {
|
|
color: #1a237e !important;
|
|
}
|
|
|
|
.text-danger {
|
|
color: #dc3545 !important;
|
|
}
|
|
|
|
.profile-dropdown .dropdown-item {
|
|
color: #333333 !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.profile-dropdown .dropdown-item i {
|
|
color: #333333 !important;
|
|
margin-right: 8px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.profile-dropdown .dropdown-item:hover {
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.profile-dropdown .dropdown-item:hover,
|
|
.profile-dropdown .dropdown-item:hover i {
|
|
color: #000000 !important;
|
|
}
|
|
|
|
.profile-dropdown .dropdown-item.text-danger,
|
|
.profile-dropdown .dropdown-item.text-danger i {
|
|
color: #dc3545 !important;
|
|
}
|
|
|
|
.notification-list .dropdown-menu.dropdown-menu-right {
|
|
color: #333333;
|
|
}
|
|
|
|
.notification-list .noti-icon-badge {
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.topbar-left {
|
|
width: 70px;
|
|
background: linear-gradient(to right, #1a237e, #3949ab);
|
|
}
|
|
|
|
.logo span {
|
|
display: none;
|
|
}
|
|
|
|
.logo i {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo i h1 {
|
|
color: white;
|
|
font-size: 20px;
|
|
margin: 0;
|
|
padding: 15px 0;
|
|
}
|
|
}
|
|
</style>
|