Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ridwan Hidayat
go-wisata
Commits
485d3186
Commit
485d3186
authored
2 years ago
by
Deny Febriawan
Browse files
Options
Download
Email Patches
Plain Diff
memperbaiki beberapa error di bagian explore, admin_tempat, admin_pelanggan
parent
a3109277
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
app/Http/Controllers/FrontendController.php
+1
-0
app/Http/Controllers/FrontendController.php
public/images/Cf9u5fsnQYoFKPHbg9lwylXJEnqizN87diIv6McK.png
+0
-0
public/images/Cf9u5fsnQYoFKPHbg9lwylXJEnqizN87diIv6McK.png
public/images/Ey3FEabBQaZecMMDwHWZ1ndDPAbwSKv5tE0PvBtw.jpg
+0
-0
public/images/Ey3FEabBQaZecMMDwHWZ1ndDPAbwSKv5tE0PvBtw.jpg
public/images/MyNqG1GFliUzqdmsQuWMUaDhX9dXWUq9jT43rBF3.jpg
+0
-0
public/images/MyNqG1GFliUzqdmsQuWMUaDhX9dXWUq9jT43rBF3.jpg
public/images/WX8gkfxQ9P2sA5YPKmfuQFqDX6hF9Z5WE2aJH4NS.png
+0
-0
public/images/WX8gkfxQ9P2sA5YPKmfuQFqDX6hF9Z5WE2aJH4NS.png
resources/views/admin/pelanggan/index.blade.php
+9
-9
resources/views/admin/pelanggan/index.blade.php
resources/views/admin/tempat/index.blade.php
+2
-2
resources/views/admin/tempat/index.blade.php
resources/views/explore/halaman_wisata.blade.php
+29
-0
resources/views/explore/halaman_wisata.blade.php
with
41 additions
and
11 deletions
+41
-11
app/Http/Controllers/FrontendController.php
View file @
485d3186
...
...
@@ -85,6 +85,7 @@ class FrontendController extends Controller
"title"
=>
"Explore"
,
"setting"
=>
$setting
,
"event"
=>
$event
,
"kategori"
=>
$kategori
,
]);
}
...
...
This diff is collapsed.
Click to expand it.
public/images/Cf9u5fsnQYoFKPHbg9lwylXJEnqizN87diIv6McK.png
0 → 100644
View file @
485d3186
106 KB
This diff is collapsed.
Click to expand it.
public/images/Ey3FEabBQaZecMMDwHWZ1ndDPAbwSKv5tE0PvBtw.jpg
0 → 100644
View file @
485d3186
28.2 KB
This diff is collapsed.
Click to expand it.
public/images/MyNqG1GFliUzqdmsQuWMUaDhX9dXWUq9jT43rBF3.jpg
0 → 100644
View file @
485d3186
19.9 KB
This diff is collapsed.
Click to expand it.
public/images/WX8gkfxQ9P2sA5YPKmfuQFqDX6hF9Z5WE2aJH4NS.png
0 → 100644
View file @
485d3186
106 KB
This diff is collapsed.
Click to expand it.
resources/views/admin/pelanggan/index.blade.php
View file @
485d3186
...
...
@@ -66,7 +66,7 @@
</
tr
>
</
thead
>
<
tbody
>
{{
--
<
tbody
>
@
if
(
count
(
$users
)
>
0
)
@
foreach
(
$users
as
$key
=>
$users
)
<
tr
>
...
...
@@ -92,35 +92,35 @@
{{
$users
->
email
}}
</
td
>
<
td
>
{{
--
{{
$users
->
role
->
name
}}
--
}}
{{
$users
->
role
->
name
}}
{{
$users
->
telp
}}
</
td
>
{{
--
<
td
>
<
td
>
@
if
(
$users
->
status
==
1
)
<
a
href
=
"
{
{route('update.status.pelanggan',[$users->id])}
}
"
><
button
class
=
"btn btn-warning"
>
Active
</
button
></
a
>
@
else
<
a
href
=
"
{
{route('update.status.pelanggan',[$users->id])}
}
"
><
button
class
=
"btn btn-danger"
>
Inactive
</
button
></
a
>
@
endif
</
td
>
--
}}
{{
--
<
td
>
</
td
>
<
td
>
@
if
(
$users
->
status
==
1
)
<
span
class
=
"badge bg-warning"
>
Active
</
span
></
td
>
@
else
<
span
class
=
"badge bg-danger"
>
Inactive
</
span
>
@
endif
</
td
>
--
}}
</
td
>
<
td
>
<
a
href
=
"
{
{route('pelanggan.edit',[$users->id])}
}
"
>
<
span
class
=
"btn bt-success"
><
i
class
=
"bi bi-pencil-square"
></
i
></
span
>
</
a
>
{{
--
<
form
class
=
"forms-sample"
action
=
"
{
{route('admin.destroy',[$users->id])}
}
"
method
=
"post"
>
<
form
class
=
"forms-sample"
action
=
"
{
{route('admin.destroy',[$users->id])}
}
"
method
=
"post"
>
@
csrf
@
method
(
'DELETE'
)
<
button
type
=
"submit"
class
=
"btn bt-danger"
onclick
=
"return confirm('Are you sure to want to delete it?')"
><
i
class
=
"bi bi-trash"
></
i
></
span
>
</
button
>
</
form
>
--
}}
</
form
>
</
td
>
...
...
@@ -130,7 +130,7 @@
@
else
<
td
>
No
user
to
display
</
td
>
@
endif
</
tbody
>
</
tbody
>
--
}}
</
table
>
</
div
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/admin/tempat/index.blade.php
View file @
485d3186
...
...
@@ -165,7 +165,7 @@
</
tr
>
</
thead
>
<
tbody
>
@
if
(
count
(
$users
)
>
0
)
{{
--
@
if
(
count
(
$users
)
>
0
)
@
foreach
(
$users
as
$key
=>
$users
)
<
tr
>
<
td
>
...
...
@@ -216,7 +216,7 @@
@
endforeach
@
else
<
td
>
No
Data
to
display
</
td
>
@
endif
@
endif
--
}}
</
tbody
>
</
table
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
resources/views/explore/halaman_wisata.blade.php
0 → 100644
View file @
485d3186
@
extends
(
'FrontEnd.main'
)
@
section
(
'content'
)
<
div
id
=
"carouselExampleIndicators"
class
=
"carousel slide"
data
-
bs
-
ride
=
"true"
>
<
div
class
=
"carousel-indicators"
>
<
button
type
=
"button"
data
-
bs
-
target
=
"#carouselExampleIndicators"
data
-
bs
-
slide
-
to
=
"0"
class
=
"active"
aria
-
current
=
"true"
aria
-
label
=
"Slide 1"
></
button
>
<
button
type
=
"button"
data
-
bs
-
target
=
"#carouselExampleIndicators"
data
-
bs
-
slide
-
to
=
"1"
aria
-
label
=
"Slide 2"
></
button
>
<
button
type
=
"button"
data
-
bs
-
target
=
"#carouselExampleIndicators"
data
-
bs
-
slide
-
to
=
"2"
aria
-
label
=
"Slide 3"
></
button
>
</
div
>
<
div
class
=
"carousel-inner"
>
<
div
class
=
"carousel-item active"
>
<
img
src
=
"..."
class
=
"d-block w-100"
alt
=
"..."
>
</
div
>
<
div
class
=
"carousel-item"
>
<
img
src
=
"..."
class
=
"d-block w-100"
alt
=
"..."
>
</
div
>
<
div
class
=
"carousel-item"
>
<
img
src
=
"..."
class
=
"d-block w-100"
alt
=
"..."
>
</
div
>
</
div
>
<
button
class
=
"carousel-control-prev"
type
=
"button"
data
-
bs
-
target
=
"#carouselExampleIndicators"
data
-
bs
-
slide
=
"prev"
>
<
span
class
=
"carousel-control-prev-icon"
aria
-
hidden
=
"true"
></
span
>
<
span
class
=
"visually-hidden"
>
Previous
</
span
>
</
button
>
<
button
class
=
"carousel-control-next"
type
=
"button"
data
-
bs
-
target
=
"#carouselExampleIndicators"
data
-
bs
-
slide
=
"next"
>
<
span
class
=
"carousel-control-next-icon"
aria
-
hidden
=
"true"
></
span
>
<
span
class
=
"visually-hidden"
>
Next
</
span
>
</
button
>
</
div
>
@
endsection
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment