Compare commits
9 Commits
6582daae0d
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
06ad41a37b | ||
|
763075c7f8 | ||
|
567d179a36 | ||
|
b3ee8845a8 | ||
|
0f76e2eb76 | ||
|
9d3e9cef7a | ||
|
ef227fce6b | ||
|
831a555ebf | ||
|
f2d75e95f2 |
@@ -510,6 +510,10 @@ DB::statement("CREATE TABLE IF NOT EXISTS tbl_partners (
|
||||
if (!Schema::hasColumn('franchises', 'for')) {
|
||||
$table->text('for')->nullable()->after('franchise_id');
|
||||
}
|
||||
|
||||
if (!Schema::hasColumn('franchises', 'link')) {
|
||||
$table->string('link')->nullable()->after('banners');
|
||||
}
|
||||
});
|
||||
Schema::table('settings', function (Blueprint $table) {
|
||||
if (!Schema::hasColumn('settings', 'address')) {
|
||||
|
@@ -29,10 +29,9 @@ class WebsiteController extends Controller
|
||||
{
|
||||
$this->path = config('app.client_path');
|
||||
$headerMenu = Menulocations::where('alias', 'header-menu')->first();
|
||||
$headerMenuItems = Menuitems::where('menulocations_id', $headerMenu->menulocation_id)->where('status','<>',-1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
$headerMenuItems = Menuitems::where('menulocations_id', $headerMenu->menulocation_id)->where('status', '<>', -1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
$footerMenu = Menulocations::where('alias', 'footer-menu')->first();
|
||||
$footerMenuItems = Menuitems::where('menulocations_id', $footerMenu->menulocation_id)->where('status','<>',-1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
// dd($footerMenuItems);
|
||||
$footerMenuItems = Menuitems::where('menulocations_id', $footerMenu->menulocation_id)->where('status', '<>', -1)->where('parent_menu', 0)->with('children')->orderBy('display_order', 'asc')->get();
|
||||
$popularNews = News::inRandomOrder()->inRandomOrder()->take(3)->get();
|
||||
View::share([
|
||||
'headerMenuItems' => $headerMenuItems,
|
||||
@@ -41,54 +40,17 @@ class WebsiteController extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
// public static function index(Request $request, $menu_id = "")
|
||||
// {
|
||||
// dd("test");
|
||||
// $pathInfo = ltrim($request->getPathInfo(), '/');
|
||||
// $r = explode('/', $pathInfo);
|
||||
// $menu_alias = end($r);
|
||||
// $menu_alias1 = str_replace("_", "-", $menu_alias);
|
||||
// $menuItem = DB::table("menuitems")->where("alias", $menu_alias)->orWhere("alias", $menu_alias1)->get()[0];
|
||||
// switch ($menuItem->type) {
|
||||
// case 'tbl_contacts':
|
||||
// $contact = DB::table("contacts")->where("contact_id", $menuItem->ref)->get()[0];
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.contact", compact('contact'));
|
||||
// // break;
|
||||
// case 'tbl_countries':
|
||||
// $countries = DB::table("countries")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.country_single", compact('country'));
|
||||
// break;
|
||||
// case 'tbl_companyarticles':
|
||||
// $article = DB::table("companyarticles")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.article", compact('article'));
|
||||
// //break;
|
||||
// case 'tbl_recruitmentarticles':
|
||||
// $recruitmentarticle = DB::table("recruitmentarticles")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// $article = $recruitmentarticle;
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.recruitmentArticle", compact('recruitmentarticle', 'article'));
|
||||
// case 'tbl_otherarticles':
|
||||
// $cruiserecruiment = DB::table("otherarticles")->where("article_id", $menuItem->ref)->get()[0];
|
||||
// $article = $cruiserecruiment;
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside.cruiserecruitment", compact('cruiserecruiment', 'article'));
|
||||
// default:
|
||||
// // echo $menuItem->alias;die;
|
||||
// if ($menuItem->ref == "/")
|
||||
// return view("client." . env("CLIENT_PATH") . ".welcome");
|
||||
// else if ($menuItem->ref == "#")
|
||||
// return view("client." . env("CLIENT_PATH") . ".welcome");
|
||||
|
||||
// else
|
||||
// return view("client." . env("CLIENT_PATH") . ".inside" . '/' . ltrim($menuItem->ref));
|
||||
// }
|
||||
// }
|
||||
|
||||
public function home()
|
||||
{
|
||||
|
||||
$data["sliders"] = Sliders::where('status', 1)->latest()->get();
|
||||
$data["franchises"] = Franchises::latest()->take(4)->get();
|
||||
$data["testimonials"] = Testimonials::where('status', 1)->latest()->get();
|
||||
$data['services'] = Services::latest()->where('parent_service',null)->take(6)->get();
|
||||
$data['services'] = Services::latest()->where('parent_service', null)
|
||||
->orWhere('parent_service', 0)
|
||||
->where('status', 1)
|
||||
->inRandomOrder()
|
||||
->get();
|
||||
$data['partners'] = Partners::latest()->get();
|
||||
$data["news"] = News::latest()->take(6)->get();
|
||||
|
||||
@@ -122,7 +84,7 @@ class WebsiteController extends Controller
|
||||
|
||||
$teams = Teams::where('status', 1)->latest()->get();
|
||||
|
||||
return view("client.$this->path.article-single", compact('teams', 'alias', 'article','whyChooseUs'));
|
||||
return view("client.$this->path.article-single", compact('teams', 'alias', 'article', 'whyChooseUs'));
|
||||
}
|
||||
|
||||
public function teams()
|
||||
@@ -167,11 +129,11 @@ class WebsiteController extends Controller
|
||||
public function showService($alias)
|
||||
{
|
||||
$serviceLists = Services::where('status', 1)
|
||||
->whereNull('parent_service')
|
||||
->orWhere('parent_service', 0)
|
||||
->select(['title', 'alias'])
|
||||
->get();
|
||||
$service = Services::where('alias', $alias)->where('status','<>',-1)->with('children',fn($query)=>$query->latest())->first();
|
||||
->whereNull('parent_service')
|
||||
->orWhere('parent_service', 0)
|
||||
->select(['title', 'alias'])
|
||||
->get();
|
||||
$service = Services::where('alias', $alias)->where('status', '<>', -1)->with('children', fn ($query) => $query->latest())->first();
|
||||
return view('client.topCargo.service-single', compact('service', 'serviceLists'));
|
||||
}
|
||||
|
||||
@@ -225,9 +187,6 @@ class WebsiteController extends Controller
|
||||
} else {
|
||||
return response()->json(['error' => 'Failed to send email'], 500);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -22,6 +22,7 @@ class Franchises extends Model
|
||||
'text',
|
||||
'thumb',
|
||||
'banners',
|
||||
'link',
|
||||
'display_order',
|
||||
'status',
|
||||
'created_at',
|
||||
|
@@ -1 +1 @@
|
||||
/home/myurlsco/03Demos/toplinecargo/storage/app/public
|
||||
/Applications/XAMPP/xamppfiles/htdocs/Cargo_CMS/storage/app/public
|
8096
public/topCargo/assets/css/bootstrap.css
vendored
@@ -1177,7 +1177,7 @@ div.aligncenter,
|
||||
background-color: #161616;
|
||||
}
|
||||
.page-header h1 {
|
||||
color: #fff;
|
||||
color: #0a0a0a;
|
||||
text-transform: capitalize;
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
@@ -1192,7 +1192,7 @@ div.aligncenter,
|
||||
text-align: center;
|
||||
background-attachment: fixed;
|
||||
position: relative;
|
||||
background:url(../images/bg/page-header-bg.jpg) center center no-repeat fixed;background-size:cover;
|
||||
background:url(../images/bg/page-header-banner.png) center center no-repeat fixed;background-size:cover;
|
||||
}
|
||||
.page-header .breadcrumb-area {
|
||||
background-color: #fff;
|
||||
|
BIN
public/topCargo/assets/images/.DS_Store
vendored
Normal file
BIN
public/topCargo/assets/images/bg/.DS_Store
vendored
Normal file
BIN
public/topCargo/assets/images/bg/page-header-banner.jpg
Normal file
After Width: | Height: | Size: 190 KiB |
BIN
public/topCargo/assets/images/bg/page-header-banner.png
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
public/topCargo/assets/images/chinasouthern.png
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
public/topCargo/assets/images/fit-cargo.png
Normal file
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 397 KiB |
BIN
public/topCargo/assets/images/salamair.png
Normal file
After Width: | Height: | Size: 166 KiB |
9
public/topCargo/assets/js/bootstrap.min.js
vendored
@@ -5,4 +5,4 @@
|
||||
* Copyright (c) 2009 Michael Hixson
|
||||
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
(function($){$.fn.appear=function(f,o){var s=$.extend({one:true},o);return this.each(function(){var t=$(this);t.appeared=false;if(!f){t.trigger('appear',s.data);return;}var w=$(window);var c=function(){if(!t.is(':visible')){t.appeared=false;return;}var a=w.scrollLeft();var b=w.scrollTop();var o=t.offset();var x=o.left;var y=o.top;if(y+t.height()>=b&&y<=b+w.height()&&x+t.width()>=a&&x<=a+w.width()){if(!t.appeared)t.trigger('appear',s.data);}else{t.appeared=false;}};var m=function(){t.appeared=true;if(s.one){w.unbind('scroll',c);var i=$.inArray(c,$.fn.appear.checks);if(i>=0)$.fn.appear.checks.splice(i,1);}f.apply(this,arguments);};if(s.one)t.one('appear',s.data,m);else t.bind('appear',s.data,m);w.scroll(c);$.fn.appear.checks.push(c);(c)();});};$.extend($.fn.appear,{checks:[],timeout:null,checkAll:function(){var l=$.fn.appear.checks.length;if(l>0)while(l--)($.fn.appear.checks[l])();},run:function(){if($.fn.appear.timeout)clearTimeout($.fn.appear.timeout);$.fn.appear.timeout=setTimeout($.fn.appear.checkAll,20);}});$.each(['append','prepend','after','before','attr','removeAttr','addClass','removeClass','toggleClass','remove','css','show','hide'],function(i,n){var u=$.fn[n];if(u){$.fn[n]=function(){var r=u.apply(this,arguments);$.fn.appear.run();return r;}}});})(jQuery);
|
||||
(function ($) { $.fn.appear = function (f, o) { var s = $.extend({ one: true }, o); return this.each(function () { var t = $(this); t.appeared = false; if (!f) { t.trigger('appear', s.data); return; } var w = $(window); var c = function () { if (!t.is(':visible')) { t.appeared = false; return; } var a = w.scrollLeft(); var b = w.scrollTop(); var o = t.offset(); var x = o.left; var y = o.top; if (y + t.height() >= b && y <= b + w.height() && x + t.width() >= a && x <= a + w.width()) { if (!t.appeared) t.trigger('appear', s.data); } else { t.appeared = false; } }; var m = function () { t.appeared = true; if (s.one) { w.unbind('scroll', c); var i = $.inArray(c, $.fn.appear.checks); if (i >= 0) $.fn.appear.checks.splice(i, 1); } f.apply(this, arguments); }; if (s.one) t.one('appear', s.data, m); else t.bind('appear', s.data, m); w.scroll(c); $.fn.appear.checks.push(c); (c)(); }); }; $.extend($.fn.appear, { checks: [], timeout: null, checkAll: function () { var l = $.fn.appear.checks.length; if (l > 0) while (l--) ($.fn.appear.checks[l])(); }, run: function () { if ($.fn.appear.timeout) clearTimeout($.fn.appear.timeout); $.fn.appear.timeout = setTimeout($.fn.appear.checkAll, 20); } }); $.each(['append', 'prepend', 'after', 'before', 'attr', 'removeAttr', 'addClass', 'removeClass', 'toggleClass', 'remove', 'css', 'show', 'hide'], function (i, n) { var u = $.fn[n]; if (u) { $.fn[n] = function () { var r = u.apply(this, arguments); $.fn.appear.run(); return r; } } }); })(jQuery);
|
@@ -3,14 +3,6 @@
|
||||
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/2.0.5/css/dataTables.dataTables.css" />
|
||||
@endpush
|
||||
@section('content')
|
||||
{{-- <style>
|
||||
.page-content {
|
||||
|
||||
background: url({{ asset('assets/images/admin-bg.jpg') }});
|
||||
background-size: contain;
|
||||
height:100vh;
|
||||
}
|
||||
</style> --}}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xl-3 col-md-6">
|
||||
@@ -21,11 +13,6 @@
|
||||
<div class="flex-grow-1 overflow-hidden">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-0"> Articles</p>
|
||||
</div>
|
||||
{{-- <div class="flex-shrink-0">
|
||||
<h5 class="text-success fs-14 mb-0">
|
||||
<i class="ri-arrow-right-up-line fs-13 align-middle"></i> +16.24 %
|
||||
</h5>
|
||||
</div> --}}
|
||||
</div>
|
||||
<div class="d-flex align-items-end justify-content-between mt-4">
|
||||
<div>
|
||||
@@ -51,11 +38,6 @@
|
||||
<div class="flex-grow-1 overflow-hidden">
|
||||
<p class="text-uppercase fw-medium text-muted text-truncate mb-0">Teams</p>
|
||||
</div>
|
||||
{{-- <div class="flex-shrink-0">
|
||||
<h5 class="text-danger fs-14 mb-0">
|
||||
<i class="ri-arrow-right-down-line fs-13 align-middle"></i> -3.57 %
|
||||
</h5>
|
||||
</div> --}}
|
||||
</div>
|
||||
<div class="d-flex align-items-end justify-content-between mt-4">
|
||||
<div>
|
||||
|
@@ -89,25 +89,14 @@
|
||||
<div class="collapse menu-dropdown" id="sidebarMenu">
|
||||
<ul class="nav nav-sm flex-column">
|
||||
{{MPCMS::createMenuLink("Company Articles",route('companyarticles.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Recruitment Articles",route('recruitmentarticles.index'))}} --}}
|
||||
{{-- {{MPCMS::createMenuLink("Other Articles",route('otherarticles.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("Services",route('services.index'))}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{{MPCMS::createMenuLink("Teams",route('teams.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Countries",route('countries.index'))}}
|
||||
{{MPCMS::createMenuLink("Companies",route('companies.index'))}}
|
||||
{{MPCMS::createMenuLink("License & Permits",route('certificates.index'))}}
|
||||
{{MPCMS::createMenuLink("Job Categories",route('job_categories.index'))}}
|
||||
{{MPCMS::createMenuLink("Job Demands",route('jobdemands.index'))}}
|
||||
{{MPCMS::createMenuLink("Paper Demands",route('paperdemands.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("Sliders",route('sliders.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Image Galleries",route('galleries.index'))}}
|
||||
{{MPCMS::createMenuLink("Photos",route('photos.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("News/Blogs",route('backendnews.index'))}}
|
||||
{{-- {{MPCMS::createMenuLink("Contact Details",route('contacts.index'))}} --}}
|
||||
{{MPCMS::createMenuLink("Testimonials",route('testimonials.index'))}}
|
||||
{{MPCMS::createMenuLink("Franchises",route('franchises.index'))}}
|
||||
{{MPCMS::createMenuLink("Partners",route('partners.index'))}}
|
||||
|
@@ -43,7 +43,7 @@
|
||||
<link href="{{ asset('topCargo/assets/css/responsive.css') }}" rel="stylesheet">
|
||||
<!--[if lt IE 9]><script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script><![endif]-->
|
||||
<!--[if lt IE 9]><script src="js/respond.js"></script><![endif]-->
|
||||
|
||||
@stack('css')
|
||||
<style>
|
||||
/* Set the size of the iframe */
|
||||
#map-container {
|
||||
|
@@ -31,20 +31,12 @@
|
||||
<div class="row">
|
||||
<div class="footer-sidebar footer-1 col-xs-12 col-sm-6 col-md-3">
|
||||
<div class="widget widget_text">
|
||||
<h4 class="widget-title">About {{ SITEVARS->title }}</h4>
|
||||
<h4 class="widget-title"> {{ SITEVARS->title }}</h4>
|
||||
<div class="textwidget">
|
||||
<p><?php echo SITEVARS->description; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="widget cargohub-social-links-widget">
|
||||
<div class="list-social style-2">
|
||||
<a href="<?php echo base_url(SITEVARS->fb); ?>" target="_blank"><i class="fa fa-facebook"></i></a>
|
||||
<a href="<?php echo base_url(SITEVARS->twitter); ?>" target="_blank"><i class="fa fa-twitter"></i></a>
|
||||
<a href="<?php echo base_url(SITEVARS->insta); ?>" target="_blank"><i
|
||||
class="fa fa-instagram"></i></a>
|
||||
<a href="<?php echo base_url(SITEVARS->tiktok); ?>" target="_blank"><i class="fa fa-youtube"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
{{-- designs --}}
|
||||
</div>
|
||||
<div class="footer-sidebar footer-2 col-xs-12 col-sm-6 col-md-3">
|
||||
<div class="widget widget_nav_menu">
|
||||
@@ -95,7 +87,7 @@
|
||||
<span class="icon"><i class="flaticon-arrow-pointing-to-right"></i></span>
|
||||
<div class="post-text">
|
||||
<a class="post-title"
|
||||
href="{{ route('showNews', $news->alias) }}">{{ $news->title }}</a>
|
||||
href="{{ route('showNews', $news->alias) }}">{{Str::limit($news->title,49,'...') }}</a>
|
||||
<span class="post-date">{{ $news->created_at->format('Y-m-d') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -76,7 +76,8 @@
|
||||
</ul>
|
||||
</li>
|
||||
@else
|
||||
<li><a @if($menuItem->title =="Quote") class = "fh-btn btn" style="color:white;"@endif href="{{ $menuItem->link }}">{{ $menuItem->title }}</a></li>
|
||||
<li><a @if ($menuItem->title == 'Quote') class = "fh-btn btn" style="color:white;" @endif
|
||||
href="{{ $menuItem->link }}">{{ $menuItem->title }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
@@ -84,12 +85,19 @@
|
||||
|
||||
</nav>
|
||||
</div>
|
||||
{{-- <div class="col-xl-3 col-lg-3 col-md-3">
|
||||
<div class="headerarea__right">
|
||||
<div class="headerarea__button">
|
||||
<a href="{{ route('contact') }}">Contact Us</a>
|
||||
</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
<a href="#" class="navbar-toggle">
|
||||
{{-- <a href="#" class="navbar-toggle">
|
||||
<span class="navbar-icon">
|
||||
<span class="navbars-line"></span>
|
||||
</span>
|
||||
</a>
|
||||
</a> --}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@@ -12,16 +12,15 @@
|
||||
<div class="item-service col-xs-12 col-sm-6 col-md-3">
|
||||
<div class="service-content">
|
||||
<div class="entry-thumbnail">
|
||||
<a class="link"
|
||||
href="{{ route('showFranchise',$franchise->alias) }}"></a>
|
||||
<a href="{{ route('showFranchise',$franchise->alias) }}"><span
|
||||
class="icon"><i class="fa fa-long-arrow-right"
|
||||
<a class="link" href="{{ $franchise->link }}"></a>
|
||||
<a href="{{ $franchise->link }}"><span class="icon"><i class="fa fa-long-arrow-right"
|
||||
aria-hidden="true"></i></span></a>
|
||||
<img src="{{ asset($franchise->thumb) }}" style="width: 100%; height:180px; object-fit:cover; object-position:center;" alt="{{ $franchise->title }}">
|
||||
<img src="{{ asset($franchise->thumb) }}"
|
||||
style="width: 100%; height:180px; object-fit:cover; object-position:center;"
|
||||
alt="{{ $franchise->title }}">
|
||||
</div>
|
||||
<div class="summary">
|
||||
<h2 class="entry-title"><a
|
||||
href="{{ route('showFranchise',$franchise->alias) }}">{{ $franchise->title }}</a>
|
||||
<h2 class="entry-title"><a href="{{ $franchise->link }}">{{ $franchise->title }}</a>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -45,8 +45,7 @@
|
||||
data-frames='[{"delay":200,"speed":500,"text_c":"transparent","bg_c":"transparent","use_text_c":false,"use_bg_c":false,"frame":"0","from":"opacity:0;","to":"o:1;","ease":"Power3.easeInOut"},{"delay":"wait","speed":500,"use_text_c":false,"use_bg_c":false,"text_c":"transparent","bg_c":"transparent","frame":"999","to":"opacity:0;","ease":"Power3.easeInOut"}]'
|
||||
data-textAlign="['inherit','inherit','inherit','inherit']" data-paddingtop="[0,0,0,0]"
|
||||
data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]"
|
||||
data-paddingleft="[0,0,0,0]"
|
||||
style="z-index: 8; letter-spacing: 0px; width: 250%; ">
|
||||
data-paddingleft="[0,0,0,0]" style="z-index: 8; letter-spacing: 0px; width: 250%; ">
|
||||
{{ $slider->slider_title }}
|
||||
</div>
|
||||
|
||||
@@ -81,29 +80,101 @@
|
||||
<div class="container">
|
||||
<h2 class="count-title">Top Line <span class="main-color2">Cargo </span> is a Global Supplier of
|
||||
Transport.</h2>
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-4 col-lg-offset-2">
|
||||
<div class="row allign-center">
|
||||
<div class="col-lg-3 col-md-4 col-lg-offset-4 ">
|
||||
<div class="fh-counter icon-type-none">
|
||||
<div class="counter">
|
||||
<div class="counter" style="padding-left: 86px;">
|
||||
<div class="value">30 years+</div>
|
||||
<h4>Experience</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-3 col-md-4">
|
||||
</div>
|
||||
<style>
|
||||
.text {
|
||||
font-size: 25px;
|
||||
}
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6">
|
||||
<div class="fh-counter icon-type-none">
|
||||
<div class="counter">
|
||||
<div class="value">Current CSA</div>
|
||||
<h4>Jaz/Fit</h4>
|
||||
<div class="value">Current</div>
|
||||
{{-- <div class="row justify-content-center" style="padding-left: 3em;">
|
||||
<div class="col-md-6">
|
||||
<h4>Jaz/Fit</h4>
|
||||
</div>
|
||||
</div> --}}
|
||||
<div class="row" style="padding-top: 45px;">
|
||||
<div class="col-6 col-md-6 col-lg-6">
|
||||
<div class="text">
|
||||
<p>GSSA</p>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<h4>Jalzeera Airways</h4>
|
||||
<img src="{{ asset('topCargo/assets/images/Jazeera.png') }}"
|
||||
alt="" style="padding-top:15px">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-md-6 col-lg-6">
|
||||
<div class="text">
|
||||
<p>CSA</p>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<h4>Fits Cargo</h4>
|
||||
<img src="{{ asset('topCargo/assets/images/fit-cargo.png') }}"
|
||||
alt="" style="padding-top:15px">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3 col-md-4">
|
||||
<div class="col-lg-6 col-md-6 text-center" style="border-left: 2px solid white;">
|
||||
<div class="fh-counter icon-type-none">
|
||||
<div class="counter">
|
||||
<div class="value">Ex<br> CSA</div>
|
||||
<h4>Salam Air</h4>
|
||||
<div class="value">Previous</div>
|
||||
{{-- <div class="row justify-content-center" style="padding-left: 3.5em;">
|
||||
<div class="col-md-6">
|
||||
<h4>Salam Air</h4>
|
||||
</div>
|
||||
</div> --}}
|
||||
<div class="row" style="padding-top: 45px;">
|
||||
<div class="col-3 col-md-3 col-lg-3">
|
||||
<div class="text">
|
||||
<p>GSSA</p>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<h4>Pegasus airlines</h4>
|
||||
<img src="{{ asset('topCargo/assets/images/pegasus.png') }}"
|
||||
alt="" style="padding-top:15px">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-md-6 col-lg-6">
|
||||
<div class="text">
|
||||
<p>Exclusive CSA</p>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<h4>China Soutthern Airlines</h4>
|
||||
<img src="{{ asset('topCargo/assets/images/chinasouthern.png') }}"
|
||||
alt="" style="padding-top:15px">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-3 col-md-3 col-lg-3">
|
||||
<div class="text">
|
||||
<p>GSSA</p>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<h4>Salam air</h4>
|
||||
<img src="{{ asset('topCargo/assets/images/salamair.png') }}"
|
||||
alt="" style="padding-top:15px">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -144,9 +144,15 @@
|
||||
$('.quote-form-message').html('<div class="alert alert-success">' +
|
||||
response.success + '</div>');
|
||||
form.trigger('reset');
|
||||
setTimeout(function() {
|
||||
$('.quote-form-message').fadeOut();
|
||||
}, 2000);
|
||||
} else {
|
||||
$('.quote-form-message').html('<div class="alert alert-danger">' +
|
||||
response.error + '</div>');
|
||||
setTimeout(function() {
|
||||
$('.quote-form-message').fadeOut();
|
||||
}, 2000);
|
||||
}
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
@@ -154,6 +160,9 @@
|
||||
$('.quote-form-message').html(
|
||||
'<div class="alert alert-danger">Error - ' + errorMessage +
|
||||
'</div>');
|
||||
setTimeout(function() {
|
||||
$('.quote-form-message').fadeOut();
|
||||
}, 2000);
|
||||
},
|
||||
complete: function() {
|
||||
$('#loading').hide();
|
||||
|
@@ -117,23 +117,6 @@
|
||||
@endif
|
||||
@empty
|
||||
@endforelse
|
||||
|
||||
{{-- <div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion"
|
||||
href="#collapseThree">
|
||||
Advanced Technology
|
||||
</a>
|
||||
</h4>
|
||||
</div>
|
||||
<div id="collapseThree" class="panel-collapse collapse">
|
||||
<div class="panel-body">
|
||||
We leverage advanced technology and digital tools for efficient cargo tracking,
|
||||
real-time monitoring, and documentation management, providing our clients with
|
||||
visibility and control over their shipments. </div>
|
||||
</div>
|
||||
</div> --}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
@section('content')
|
||||
<div class='card'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
<h2 class="">{{ label('Add Franchises') }}</h2>
|
||||
<h2 class="">{{ label('Add Franchise') }}</h2>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('franchises.index')); ?>
|
||||
|
||||
</div>
|
||||
@@ -12,9 +12,11 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-6">{{ createText('title', 'title', 'Title') }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createText('link', 'link', 'Link') }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createTextarea('text', 'text ckeditor-classic', 'Text') }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb') }}
|
||||
<div class="col-lg-5">{{ createImageInput('thumb', 'Thumb') }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createImageInput('banners', 'banners', 'Banners') }}
|
||||
</div> <br>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
@section('content')
|
||||
<div class='card'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
<h2 class="">{{ label('Edit Franchises') }}</h2>
|
||||
<h2 class="">{{ label('Edit Franchise') }}</h2>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Cancel', route('franchises.index')); ?>
|
||||
|
||||
</div>
|
||||
@@ -12,9 +12,11 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-6">{{ createText('title', 'title', 'Title', '', $data->title) }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createText('link', 'link', 'link', '', $data->link) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createTextarea('text', 'text ckeditor-classic', 'Text', $data->text) }}
|
||||
</div>
|
||||
<div class="col-lg-12 pb-2">{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
|
||||
<div class="col-lg-6">{{ createImageInput('thumb', 'Thumb', '', $data->thumb) }}
|
||||
</div>
|
||||
<div class="col-lg-6">{{ createImageInput('banners', 'Banners', '', $data->banners) }}
|
||||
</div>
|
||||
|
@@ -1,14 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\CustomfieldsController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::prefix("customfields")->group(function () {
|
||||
Route::get('/', [CustomfieldsController::class, 'index'])->name('customfields.index');
|
||||
Route::get('/create', [CustomfieldsController::class, 'create'])->name('customfields.create');
|
||||
Route::post('/store', [CustomfieldsController::class, 'store'])->name('customfields.store');
|
||||
Route::post('/sort', [CustomfieldsController::class, 'sort'])->name('customfields.sort');
|
||||
Route::post('/updatealias', [CustomfieldsController::class, 'updatealias'])->name('customfields.updatealias');
|
||||
Route::get('/show/{id}', [CustomfieldsController::class, 'show'])->name('customfields.show');
|
||||
Route::get('/edit/{id}', [CustomfieldsController::class, 'edit'])->name('customfields.edit') ;
|
||||
Route::post('/update/{id}', [CustomfieldsController::class, 'update'])->name('customfields.update');
|
||||
Route::delete('/destroy/{id}', [CustomfieldsController::class, 'destroy'])->name('customfields.destroy');
|
||||
});
|
||||
Route::get('/', [CustomfieldsController::class, 'index'])->name('customfields.index');
|
||||
Route::get('/create', [CustomfieldsController::class, 'create'])->name('customfields.create');
|
||||
Route::post('/store', [CustomfieldsController::class, 'store'])->name('customfields.store');
|
||||
Route::post('/sort', [CustomfieldsController::class, 'sort'])->name('customfields.sort');
|
||||
Route::post('/updatealias', [CustomfieldsController::class, 'updatealias'])->name('customfields.updatealias');
|
||||
Route::get('/show/{id}', [CustomfieldsController::class, 'show'])->name('customfields.show');
|
||||
Route::get('/edit/{id}', [CustomfieldsController::class, 'edit'])->name('customfields.edit');
|
||||
Route::post('/update/{id}', [CustomfieldsController::class, 'update'])->name('customfields.update');
|
||||
Route::delete('/destroy/{id}', [CustomfieldsController::class, 'destroy'])->name('customfields.destroy');
|
||||
});
|
||||
|