Commit 56234bba authored by Ismaturrofiah's avatar Ismaturrofiah
Browse files
No related merge requests found
Pipeline #1351 passed with stage
in 9 minutes and 22 seconds
Showing with 283 additions and 253 deletions
+283 -253
......@@ -11,7 +11,10 @@ main:
- lftp -c "set ftp:ssl-allow no; open -u $USER3,$PASS3 $HOST3; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env/ "
- lftp -c "set ftp:ssl-allow no; open -u $USER4,$PASS4 $HOST4; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude assets/ "
- lftp -c "set ftp:ssl-allow no; open -u $USER5,$PASS5 $HOST5; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env "
- lftp -c "set ftp:ssl-allow no; open -u $USER6,$PASS6 $HOST6; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env "
- lftp -c "set ftp:ssl-allow no; open -u $USER6,$PASS6 $HOST6; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude assets/ "
- lftp -c "set ftp:ssl-allow no; open -u $USER7,$PASS7 $HOST7; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env "
- lftp -c "set ftp:ssl-allow no; open -u $USER8,$PASS8 $HOST8; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env "
- lftp -c "set ftp:ssl-allow no; open -u $USER9,$PASS9 $HOST9; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env "
- lftp -c "set ftp:ssl-allow no; open -u $USER10,$PASS10 $HOST10; mirror -Rnev --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env "
only:
- main
......@@ -11,19 +11,33 @@ class GaleriController extends Controller
{
public function index()
{
$data_pkl = Galeri::filter(request(['search', 'kat_dagangan', 'lokasi_teras', 'lokasi_gedung', 'lokasi_lantai']))->orderBy('nama_lengkap')->paginate(12);
$filter = Galeri::filter(request(['search', 'kat_dagangan', 'lokasi_teras', 'lokasi_gedung', 'lokasi_lantai']));
$data_pkl = $filter->orderBy('nama_lengkap')->paginate(12)->withQueryString();
$kat_brg = DB::table('kat_dagangan')->get();
$lokasi_teras = DB::table('lokasi_teras')->get();
//dd($data_pkl);
$id_data = $filter->pluck("id");
$fil_jenis= DB::table('kat_dagangan')->where("id","=",(request("kat_dagangan")))->pluck("nama")->first();
$fil_kata = (request("search"));
$fil_loc_t = DB::table('lokasi_teras')->where("id","=",(request("lokasi_teras")))->pluck("nama")->first();
$fil_loc_g = DB::table('lokasi_gedung')->where("id","=",(request("lokasi_gedung")))->pluck("nama")->first();
$fil_loc_l = DB::table('lokasi_lantai')->where("id","=",(request("lokasi_gedung")))->pluck("nama")->first();
//dd($fil_loc);
// return view('publik.galeri', compact('kat_brg','lokasi_teras','data_pkl','lokasi_kios','lokasi_lantai','lokasi_gedung'));
return view('publik.galeri', [
'data_pkl' => $data_pkl,
'kat_brg' => $kat_brg,
'lokasi_teras' => $lokasi_teras,
]);
//dd($id_data);
//dd($data);
return view('publik.galeri', compact(
'data_pkl',
'kat_brg',
'lokasi_teras',
'id_data',
'fil_jenis',
'fil_kata',
'fil_loc_t',
'fil_loc_g',
'fil_loc_l'));
}
public function getgedung(Request $request)
......
......@@ -125,4 +125,4 @@ public function destroy($id)
{
//
}
}
}
\ No newline at end of file
......@@ -23,11 +23,13 @@ public function index()
->get();
$aduan = DB::table('saran')
->join('data_pkl', 'data_pkl.id', '=', 'saran.pedagang_id')
->join('feedback_saran_pedagang', 'feedback_saran_pedagang.saran_id', '=', 'saran.id_saran')
->join('kat_aduan', 'kat_aduan.id', '=', 'saran.kategori_id')
->where('nik', '=', Auth::user()->name)
->get();
$feedback = DB::table('feedback_saran_pedagang')
->join('saran', 'saran.id_saran', '=', 'feedback_saran_pedagang.saran_id')
// ->where('id_saran', '=', 'feedback_saran_pedagang.saran_id')
->join('data_pkl', 'data_pkl.id', '=', 'saran.pedagang_id')
->where('nik', '=', Auth::user()->name)
->get();
......@@ -39,4 +41,4 @@ public function input(Request $request)
Saran::create($request->all());
return redirect('/pedagang/saran')->with('message', 'Data Berhasil disimpan');
}
}
}
\ No newline at end of file
public/storage/Publik_Galeri/jryWgyIei5XCHisThd900Ag6am9E8mD75oX7EoBQ.png

887 KB

public/storage/post-images/ZJVkUWyXRI08xRPYpty0tfu34NUIHPIGhZLXKnzS.jpg

99.4 KB

......@@ -36,11 +36,7 @@
</div>
<p class="iq-tw-6 iq-mb-10">{{ $s->saran_aduan }}</p>
</div>
<div class="iq-blog-meta">
<div class="blog-title">
<h7>Status</h7>
</div>
</div>
<div class="">
<center><button class="btn btn-success" data-toggle="modal"
data-target="#feedback{{ $s->id_saran }}">Feedback</button></center>
......
......@@ -267,95 +267,6 @@ class="btn btn-success">SiBakul Jogja</a>
</div>
<br>
<section class="iq-feature1 overview-block-ptb grey-bg" id="menupilihan">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12">
<div class="heading-title text-center">
<h2 class="title iq-tw-6">Menu Pilihan</h2>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-12 iq-mtb-15">
<div class="iq-blog text-left iq-ptb-30 iq-pr-30 iq-pl-30">
<a href="/saran">
<div>
<i class="ion-ios-lightbulb-outline iq-mb-10"></i>
<h5 class="iq-tw-6">Saran dan Aduan</h5>
</div>
</a>
<div class="content-blog">
<p>Saran dan aduan untuk pengelola teras malioboro</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 iq-mtb-15">
<div class="iq-blog text-left iq-ptb-30 iq-pr-30 iq-pl-30">
<a href="/profil">
<div>
<i class="ion-ios-grid-view-outline iq-mb-10"></i>
<h5 class="iq-tw-6">Profil</h5>
</div>
</a>
<div class="content-blog">
<p>Berisi profil pedagang teras malioboro</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 iq-mtb-15">
<div class="iq-blog text-left iq-ptb-30 iq-pr-30 iq-pl-30">
<a href="/informasi">
<div>
<i class="ion-ios-heart-outline iq-mb-10"></i>
<h5 class="iq-tw-6">Info Penting</h5>
</div>
</a>
<div class="content-blog">
<p>Informasi penting yang harus dibaca/diikuti oleh pedagang</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 iq-mtb-15">
<div class="iq-blog text-left iq-ptb-30 iq-pr-30 iq-pl-30">
<div>
<i class="ion-ios-albums-outline iq-mb-10"></i>
<h5 class="iq-tw-6">Tindak Lanjut</h5>
</div>
<div class="content-blog">
<p>Infomasi tindak lanjut dari saran dan aduan</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 iq-mtb-15">
<div class="iq-blog text-left iq-ptb-30 iq-pr-30 iq-pl-30">
<a href="/statistik">
<div>
<i class="ion-ios-settings iq-mb-10"></i>
<h5 class="iq-tw-6">Statistik</h5>
</div>
</a>
<div class="content-blog">
<p>Data statistik yang diperlukan pedagang, seperti jumlah pengunjung di teras malioboro</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 iq-mtb-15">
<div class="iq-blog text-left iq-ptb-30 iq-pr-30 iq-pl-30">
<a href="/agenda">
<div>
<i class="ion-ios-color-wand-outline iq-mb-10"></i>
<h5 class="iq-tw-6">Agenda Teras</h5>
</div>
</a>
<div class="content-blog">
<p>informasi kegiatan seni, pertunjukan atau kegiatan lain di teras malioboro</p>
</div>
</div>
</div>
</div>
</div>
</section>
</body>
......
......@@ -77,55 +77,63 @@ class="form-control border border-success" value="1">
<button type="submit" class="btn btn-success">Kirim</button>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Form End-->
<br>
<div class="row">
<div class="col-sm-12">
<div class="owl-carousel" data-autoplay="true" data-loop="true" data-nav="false"
data-dots="true" data-items="3" data-items-laptop="3" data-items-tab="2"
data-items-mobile="1" data-items-mobile-sm="1" data-margin="30">
@foreach ($aduan as $a)
<div class="item">
<div class="iq-blog-box">
<div class="iq-blog-detail">
<div class="blog-title">
<h5 class="iq-tw-6 iq-mb-10"></h5>
</div>
<div class="blog-title">
<div class="blog-content">
<p><b>{{ $a->nama_lengkap }}</b></p>
</div>
<div class="iq-blog-meta">
<section id="pilihan" class="overview-block-ptb grey-bg iq-blog">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="heading-title">
<h2 class="">Feedback Admin</h2>
<hr class="mx-auto" style="width: 20%">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="owl-carousel" data-autoplay="true" data-loop="true" data-nav="false" data-dots="true"
data-items="2" data-items-laptop="2" data-items-tab="2" data-items-mobile="1"
data-items-mobile-sm="1" data-margin="30">
@foreach ($aduan as $a)
<div class="item">
<div class="iq-blog-box">
<div class="iq-blog-detail">
<div class="blog-title">
<h7 class="iq-tw-6 iq-mb-10">Kategori</h7>
<h5 class="iq-tw-6 iq-mb-10"><b>{{ $a->nama_lengkap }}</b></h5>
</div>
<p>{{ $a->jenis }}</p>
</div>
<div class="iq-blog-meta">
<div class="blog-title">
<h7 class="iq-tw-6 iq-mb-10">Saran</h7>
<div class="iq-blog-meta">
<div class="blog-title">
<h7 class="iq-tw-6 iq-mb-10">Kartegori</h7>
</div>
<p>{{ $a->jenis }}</p>
</div>
<p>{{ $a->saran_aduan }}</p>
</div>
@endforeach
@foreach ($feedback as $f)
<div class="iq-blog-meta">
<div class="blog-title">
<h7 class="iq-tw-6 iq-mb-10">Feedback Admin</h7>
<div class="iq-blog-meta">
<div class="blog-title">
<h7>Saran dan Aduan</h7>
</div>
<p class="iq-tw-6 iq-mb-10">{{ $a->saran_aduan }}</p>
</div>
<div class="iq-blog-meta">
<div class="blog-title">
<h7 class="iq-tw-6 iq-mb-10">Feedback Admin</h7>
</div>
<p>{{ $a->isi_feedback }}</p>
</div>
<p>{{ $f->isi_feedback }}</p>
</div>
@endforeach
</div>
</div>
@endforeach
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Row End -->
</div>
</section>
@endsection
......@@ -31,45 +31,67 @@
$foto1 = $tm1->gambar1;
$foto2 = $tm1->gambar2;
$foto3 = $tm1->gambar3;
if ($tm1->gambar1 == null) {
$foto = 'notfound.jpg';
}
@endphp
<div id="tm1" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="{!! asset('images/Publik_Galeri/' . $foto1 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm1->gambar1.''">
<div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 1</b></h4>
</div>
</div>
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto2 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm1->gambar2.''">
<div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 2</b></h4>
</div>
</div>
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto3 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm1->gambar3.''">
<div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 3</b></h4>
@if ($tm1->gambar1 != null)
<div id="tm1" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="{!! asset('images/Publik_Galeri/' . $foto1 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm1->gambar1.''">
{{-- <div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 1</b></h4>
</div> --}}
</div>
@if ($tm1->gambar2 != null)
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto2 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;"
alt="''.$tm1->gambar2.''">
{{-- <div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 2</b></h4>
</div> --}}
</div>
@endif
@if ($tm1->gambar3 != null)
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto3 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;"
alt="''.$tm1->gambar3.''">
{{-- <div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 3</b></h4>
</div> --}}
</div>
@endif
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-target="#tm1" data-slide="prev">
{{-- <button class="carousel-control-prev" type="button" data-target="#tm1" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-target="#tm1" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</button>
</div>
<center><p style="user-select: none;"><b>{{$tm1->waktu}}</b></p></center>
</button> --}}
@if ($tm1->gambar2 != null || $tm1->gambar3 != null)
<a class="carousel-control-prev" href="#tm1" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
</a>
<a class="carousel-control-next" href="#tm1" data-slide="next">
<span class="carousel-control-next-icon"></span>
</a>
@endif
</div>
@endif
<center>
@php
$waktu_tm1 = new DateTime($tm1->waktu);
@endphp
<p class="text-muted" style="user-select: none;">
<b>{{ date_format($waktu_tm1, 'd F Y, h:i') }}</b></p>
</center>
<h5 class="title iq-tw-6">Keterangan :</h5>
<p>{{ $tm1->keterangan }}</p>
</div>
......@@ -90,42 +112,64 @@
$foto = 'notfound.jpg';
}
@endphp
<div id="tm2" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="{!! asset('images/Publik_Galeri/' . $foto1 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm2->gambar1.''">
<div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 1</b></h4>
</div>
</div>
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto2 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm2->gambar2.''">
<div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 2</b></h4>
@if ($tm1->gambar1 != null)
<div id="tm2" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="{!! asset('images/Publik_Galeri/' . $foto1 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm2->gambar1.''">
{{-- <div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 1</b></h4>
</div> --}}
</div>
@if ($tm2->gambar2 != null)
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto2 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm2->gambar2.''">
{{-- <div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 2</b></h4>
</div> --}}
</div>
@endif
@if ($tm2->gambar3 != null)
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto3 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm2->gambar3.''">
{{-- <div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 3</b></h4>
</div> --}}
</div>
@endif
</div>
{{-- <button class="carousel-control-prev" type="button" data-target="#tm2"
data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-target="#tm2"
data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</button> --}}
@if ($tm2->gambar2 != null || $tm2->gambar3 != null)
<a class="carousel-control-prev" href="#tm2" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
</a>
<a class="carousel-control-next" href="#tm2" data-slide="next">
<span class="carousel-control-next-icon"></span>
</a>
@endif
</div>
<div class="carousel-item">
<img src="{!! asset('images/Publik_Galeri/' . $foto3 . '') !!}" class="d-block mw-100"
style="height:auto; max-height:100%; width:auto;" alt="''.$tm2->gambar3.''">
<div class="carousel-caption d-none d-md-block">
<h4 style="color: #FFFFFF"><b>Lantai 3</b></h4>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-target="#tm2" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-target="#tm2" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</button>
</div>
<center><p style="user-select: none;"><b>{{$tm2->waktu}}</b></p></center>
<h5 class="title iq-tw-6">Keterangan :</h5>
<p>{{ $tm2->keterangan }}</p>
@endif
<center>
@php
$waktu_tm2 = new DateTime($tm2->waktu);
@endphp
<p class="text-muted" style="user-select: none;">
<b>{{ date_format($waktu_tm2, 'd F Y, h:i') }}</b></p>
</center>
<h5 class="title iq-tw-6">Keterangan :</h5>
<p>{{ $tm2->keterangan }}</p>
</div>
</div>
</div>
......
......@@ -102,57 +102,109 @@ class="btn btn-outline-success my-2 my-sm-0"><i class="fas fa-search"></i>Cari L
</div>
<!---->
<!--echo filters-->
<div class="row" style="width:80%; padding-left:10%; padding-bottom:2%">
<div class="col-lg-3 col-md-4 col-sm-6 col-6" style="padding-right:1%; font-weight:bold; width:auto">Filter :</div>
@if(isset($fil_jenis))
<div class="card col-lg-3 col-md-4 col-sm-6 col-6" style="width:auto;">
Kategori : {{$fil_jenis}}
</div>&ensp;
@else
<div class="card col-lg-3 col-md-4 col-sm-6 col-6" style="width:auto;">
Semua Kategori Dagangan
</div>&ensp;
@endif
@php
$gedung = "semua gedung";
if(isset($fil_loc_g)){
$gedung = $fil_loc_g;
}
$lantai = "semua lantai";
if(isset($fil_loc_l)){
$lantai = "lantai " + $fil_loc_l;
}
@endphp
@if(isset($fil_loc_t))
<div class="card col-lg-3 col-md-4 col-sm-6 col-6" style="width:auto">
Lokasi : {{$fil_loc_t}}, {{$gedung}}, {{$lantai}}
</div>&ensp;
@else
<div class="card col-lg-3 col-md-4 col-sm-6 col-6" style="width:auto">
Semua Lokasi
</div>&ensp;
@endif
@if(isset($fil_kata))
<div class="card col-lg-3 col-md-4 col-sm-6 col-6" style="width:auto">
Kata kunci : {{$fil_kata}}
</div>&ensp;
@endif
@if(isset($fil_jenis)||($fil_kata)||($fil_loc_t))
<div class="card col-lg-3 col-md-4 col-sm-6 col-6 bg-danger border-danger" style="width:auto;">
<a href="{{url('publik/galeri')}}" style="text-decoration: none; color:white">Hapus filter<a>
</div>&ensp;
@endif
</div>
<!---->
<!--card galeri-->
<div class="container">
<div class="row justify-content-center">
@foreach ($data_pkl as $data)
{{--
<?php if ($data != null) {?> --}}
<div class="card col-lg-3 col-md-4 col-sm-6 col-6 iq-mtb-10 d-flex bg-transparent border-0"style=" padding-left:2%; padding-right:2%; min-width:25%; max-width: 50%; max-height:100%">
<a href="{{ url('publik/galeri-data') }}/{{ $data->id }}" style="text-decoration: none">
<div class="iq-blog text-left iq-pt-30 d-flex ">
<div class="m-auto justify-content-center align-items-center" style="width: 100%; min-height:250px; height:100%; max-height:800px">
@php
$foto = $data->foto_lapak;
if ($data->foto_lapak == null) $foto = 'notfound.jpg';
@endphp
<div class="card m-auto justify-content-center bg-transparent border-0"
style="
background: url({!! asset('images/Publik_Galeri/' . $foto . '') !!});
background-size:cover;
background-position: center;
padding-top:30%;
width:auto;
min-width:100%;
max-width: 150%;
min-height:100%;
max-height:150%;
max-width: 160px;
min-width: 105px;
max-height:150px;
min-height: 100px;
">
</div>
<div class="card m-auto justify-content-center bg-transparent border-0">
<h5 class="text-center iq-tw-6 iq-pb-5" style="font-size: 80%; margin-left:10%; margin-right:10%;">{{$data->nama_lengkap}}</h5>
<p class='text-center m-auto' style="font-size: 75%;">{{$data->dagangan}}
<p style="padding-left: 16%; padding-right:3%; font-size: 75%;">{{$data->operasional}}<br>
Jam Buka: {{$data->operasional_jam_buka}}.00 - {{$data->operasional_jam_tutup}}.00</p>
<div class="row justify-content-center">
@if(count($id_data) > 0)
@foreach ($data_pkl as $data)
<div class="card col-lg-3 col-md-4 col-sm-6 col-6 iq-mtb-10 d-flex bg-transparent border-0"style=" padding-left:2%; padding-right:2%; min-width:25%; max-width: 50%; max-height:100%">
<a href="{{ url('publik/galeri-data') }}/{{ $data->id }}" style="text-decoration: none">
<div class="iq-blog text-left iq-pt-30 d-flex ">
<div class="m-auto justify-content-center align-items-center" style="width: 100%; min-height:250px; height:100%; max-height:800px">
@php
$foto = $data->foto_lapak;
if ($data->foto_lapak == null) $foto = 'notfound.jpg';
@endphp
<div class="card m-auto justify-content-center bg-transparent border-0"
style="
background: url({!! asset('images/Publik_Galeri/' . $foto . '') !!});
background-size:cover;
background-position: center;
padding-top:30%;
width:auto;
min-width:100%;
max-width: 150%;
min-height:100%;
max-height:150%;
max-width: 160px;
min-width: 105px;
max-height:150px;
min-height: 100px;
">
</div>
<div class="card m-auto justify-content-center bg-transparent border-0">
<h5 class="text-center iq-tw-6 iq-pb-5" style="font-size: 80%; margin-left:10%; margin-right:10%;">{{$data->nama_lengkap}}</h5>
<p class='text-center m-auto' style="font-size: 75%;">{{$data->dagangan}}
<p style="padding-left: 16%; padding-right:3%; font-size: 75%;">{{$data->operasional}}<br>
Jam Buka: {{$data->operasional_jam_buka}}.00 - {{$data->operasional_jam_tutup}}.00</p>
</div>
</div>
</div>
</div>
</a>
</div>
{{--
<?php } else { ?>
<h5>Data tidak ditemukan</h5>
<?php } ?> --}}
@endforeach
<!---->
</a>
</div>
@endforeach
@else
<p class="text-center" style="padding-top: 5%; font-weight: bold; padding-bottom:5%">Data tidak ditemukan</p>
<!--<div class="iq-pt-20">
<button type="button" class="btn btn-danger" onclick="history.back();">Kembali</button>
</div>-->
@endif
</div>
<!---->
<div class="row mx-auto justify-content-center">
{{ $data_pkl->links() }}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment