@@ -94,9 +94,6 @@ class ManageNewsAndArticlesController extends Controller
|
||||
$update_news_article->description = $request->input('article_dis');
|
||||
$update_news_article->news_articles_category_xid = $request->input('category_xid');
|
||||
|
||||
|
||||
|
||||
|
||||
if ($request->hasFile('article_thmb')) {
|
||||
if ($update_news_article->image) {
|
||||
Storage::disk('public')->delete($update_news_article->thumbnail_image);
|
||||
|
||||
@@ -1377,7 +1377,7 @@ label {
|
||||
/* to change error class color */
|
||||
label#email-error ,label#password-error {
|
||||
color: red;
|
||||
}
|
||||
font-weight: 600;}
|
||||
|
||||
|
||||
.error-message {
|
||||
@@ -1564,3 +1564,33 @@ a.download-btn.reply-button:hover {
|
||||
width: fit-content !important;
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
/*
|
||||
.random_cl li {
|
||||
list-style: circle !important;
|
||||
} */
|
||||
.random_cl li a {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 10.2px 16px 10.2px 24px;
|
||||
margin-left: 34px;
|
||||
font-size: 15px;
|
||||
color: #000;
|
||||
}
|
||||
.random_cl li a:before {
|
||||
content: "";
|
||||
background-color: #000;
|
||||
position: absolute;
|
||||
height: 7px;
|
||||
width: 7px;
|
||||
top: 15px;
|
||||
left: 5px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.random_cl li a:hover {
|
||||
color: #fff;
|
||||
background: #05244d;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -101,44 +101,33 @@
|
||||
</a>
|
||||
</li>
|
||||
@if (Auth::guard('admin')->user()->getPermissionGranted(Auth::guard('admin')->user()->id, 'manage-users'))
|
||||
<button class="dropdown-btn-users mb-1" id="manageUsersButton">
|
||||
<button class="dropdown-btn-users mb-1 active">
|
||||
<div class="icons d-flex align-items-center justify-content-start w-100">
|
||||
<img src="{{ asset('public/assets/img/Group 57904.svg') }}" />
|
||||
<span class="text-1">Manage Users</span>
|
||||
<i class="fa fa-angle-down mr-3 arrow-icon-spacing" aria-hidden="true" id="arrowIcon"></i>
|
||||
</div>
|
||||
<i class="fa fa-angle-down mr-3" aria-hidden="true"></i>
|
||||
</button>
|
||||
|
||||
<div class="dropdown-container"
|
||||
style="{{ $currentPage == 'manage-customer' || $currentPage == 'manage-restaurant_app' || $currentPage == 'sub-admins' ? 'display: block;' : 'display: none;' }}">
|
||||
<ul>
|
||||
<ul class="random_cl">
|
||||
<li class="tooltip-element {{ $currentPage == 'manage-customer' ? 'active' : '' }}"
|
||||
data-tooltip="1">
|
||||
<a href="{{ route('manage.customer') }}" data-active="1">
|
||||
<div class="icons">
|
||||
<img src="{{ asset('public/assets/img/single-user.svg') }}" />
|
||||
<span class="text">Customer App</span>
|
||||
</div>
|
||||
<a href="{{ route('manage.customer') }}" data-active="1">Customer App
|
||||
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="tooltip-element {{ $currentPage == 'manage-restaurant_app' ? 'active' : '' }}"
|
||||
data-tooltip="1">
|
||||
<a href="{{ route('restraunt_users') }}" data-active="1">
|
||||
<div class="icons">
|
||||
<img src="{{ asset('public/assets/img/restraunt.svg') }}" />
|
||||
<span class="text">Restaurant App</span>
|
||||
</div>
|
||||
<a href="{{ route('restraunt_users') }}" data-active="1">Restaurant App
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="tooltip-element {{ $currentPage == 'sub-admins' ? 'active' : '' }}"
|
||||
data-tooltip="1">
|
||||
<a href="{{ route('manage.subAdmin') }}" data-active="1">
|
||||
<div class="icons">
|
||||
<img src="{{ asset('public/assets/img/Group 57906.svg') }}">
|
||||
<span class="text">Sub Admins</span>
|
||||
</div>
|
||||
<a href="{{ route('manage.subAdmin') }}" data-active="1">Sub Admins
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -146,7 +135,6 @@
|
||||
@endif
|
||||
|
||||
|
||||
|
||||
{{-- <li class="tooltip-element <?php
|
||||
if ($currentPage == 'manage-passports') {
|
||||
echo 'active';
|
||||
|
||||
Reference in New Issue
Block a user