Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
27f802bb
Commit
27f802bb
authored
2 years ago
by
Bagus Pambudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gallery carousel
parent
cb66027f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
7 deletions
+33
-7
app/Http/Controllers/Webprofile/Front/FrontController.php
+5
-5
resources/views/webprofile/front/jollyany/index.blade.php
+28
-2
No files found.
app/Http/Controllers/Webprofile/Front/FrontController.php
View file @
27f802bb
...
@@ -53,7 +53,7 @@ class FrontController extends Controller
...
@@ -53,7 +53,7 @@ class FrontController extends Controller
$agenda
=
Agenda
::
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$agenda
=
Agenda
::
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$menu
=
Menu
::
orderby
(
'urutan'
,
'asc'
)
->
get
();
$menu
=
Menu
::
orderby
(
'urutan'
,
'asc'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
limit
(
'4'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
get
();
$quote
=
Design
::
where
(
'name_design'
,
'quote'
)
->
get
();
$quote
=
Design
::
where
(
'name_design'
,
'quote'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
...
@@ -89,7 +89,7 @@ class FrontController extends Controller
...
@@ -89,7 +89,7 @@ class FrontController extends Controller
$agenda
=
Agenda
::
with
([
'rEn'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$agenda
=
Agenda
::
with
([
'rEn'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$menu
=
Menu
::
with
([
'rEn'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$menu
=
Menu
::
with
([
'rEn'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
limit
(
'4'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
get
();
$quote
=
Design
::
with
([
'rEn'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$quote
=
Design
::
with
([
'rEn'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
...
@@ -125,7 +125,7 @@ class FrontController extends Controller
...
@@ -125,7 +125,7 @@ class FrontController extends Controller
$agenda
=
Agenda
::
with
([
'rDe'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$agenda
=
Agenda
::
with
([
'rDe'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$menu
=
Menu
::
with
([
'rDe'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$menu
=
Menu
::
with
([
'rDe'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
limit
(
'4'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
get
();
$quote
=
Design
::
with
([
'rDe'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$quote
=
Design
::
with
([
'rDe'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
...
@@ -161,7 +161,7 @@ class FrontController extends Controller
...
@@ -161,7 +161,7 @@ class FrontController extends Controller
$agenda
=
Agenda
::
with
([
'rSa'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$agenda
=
Agenda
::
with
([
'rSa'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$menu
=
Menu
::
with
([
'rSa'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$menu
=
Menu
::
with
([
'rSa'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
limit
(
'4'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
get
();
$quote
=
Design
::
with
([
'rSa'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$quote
=
Design
::
with
([
'rSa'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
...
@@ -197,7 +197,7 @@ class FrontController extends Controller
...
@@ -197,7 +197,7 @@ class FrontController extends Controller
$agenda
=
Agenda
::
with
([
'rZh'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$agenda
=
Agenda
::
with
([
'rZh'
])
->
where
(
'info_status'
,
'1'
)
->
where
(
'event_date'
,
'>='
,
date
(
'Y-m-d'
))
->
orderby
(
'event_date'
,
'asc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$slider
=
Slider
::
where
(
'is_active'
,
'1'
)
->
orderby
(
'created_at'
,
'desc'
)
->
get
();
$menu
=
Menu
::
with
([
'rZh'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$menu
=
Menu
::
with
([
'rZh'
])
->
orderby
(
'urutan'
,
'asc'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
limit
(
'4'
)
->
get
();
$gallery
=
Gallery
::
where
(
'is_active'
,
'1'
)
->
orderBy
(
'created_at'
,
'asc'
)
->
get
();
$quote
=
Design
::
with
([
'rZh'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$quote
=
Design
::
with
([
'rZh'
])
->
where
(
'name_design'
,
'quote'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_right
=
Design
::
where
(
'name_design'
,
'widget_right'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
$widget_left
=
Design
::
where
(
'name_design'
,
'widget_left'
)
->
orderBy
(
'urutan'
,
'ASC'
)
->
get
();
...
...
This diff is collapsed.
Click to expand it.
resources/views/webprofile/front/jollyany/index.blade.php
View file @
27f802bb
...
@@ -221,8 +221,34 @@
...
@@ -221,8 +221,34 @@
<h2>Galeri</h2>
<h2>Galeri</h2>
<hr>
<hr>
</div>
</div>
<div class="
carousel_wrapper
">
<div class="
margin
-
top
">
<div id="
owl_shop_carousel
" class="
owl
-
carousel
">
@foreach(
$gallery
as
$value
)
<div class="
shop_carousel
">
<div class="
shop_item
">
<div class="
entry
">
@if (
$setting['external_storage']
== 1)
<img src="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/gallery/'
.
$value
->
gallery
}}
" alt="" class="
img
-
responsive
">
@else
<img src="
{{
url
(
'/storage/gallery/'
.
$value
->
thumbnail
)
}}
" alt="" class="
img
-
responsive
">
@endif
<div class="
magnifier
">
<div class="
buttons
">
<a class="
st
" rel="
bookmark
" href="
{{
$setting
[
'url_static'
]
.
'/'
.
$setting
[
'directory'
]
.
'/gallery/'
.
$value
->
gallery
}}
"><i class="
button
"></i>
{
{$value->title}
}
</a>
</div><!-- end buttons -->
</div><!-- end magnifier -->
</div><!-- end entry -->
</div><!-- end item -->
</div><!-- end shop carousel -->
@endforeach
</div><!-- end padding-top -->
</div><!-- end carousel_wrapper -->
</div>
</div>
<!-- end container -->
<!-- end container -->
{{--
<div class="
portfolio_wrapper
padding
-
top
" style="
position
:
relative
;
overflow
:
hidden
;
height
:
372
px
;
">
<div class="
portfolio_wrapper
padding
-
top
" style="
position
:
relative
;
overflow
:
hidden
;
height
:
372
px
;
">
<div class="
portfolio_item
" style="
position
:
absolute
;
left
:
0
px
;
top
:
0
px
;
transform
:
translate
(
0
px
,
30
px
);
width
:
379
px
;
">
<div class="
portfolio_item
" style="
position
:
absolute
;
left
:
0
px
;
top
:
0
px
;
transform
:
translate
(
0
px
,
30
px
);
width
:
379
px
;
">
<div class="
entry
">
<div class="
entry
">
...
@@ -282,7 +308,7 @@
...
@@ -282,7 +308,7 @@
</div><!-- end entry -->
</div><!-- end entry -->
</div><!-- end portfolio_item -->
</div><!-- end portfolio_item -->
@endif
@endif
</div>
</div>
--}}
<div class="
clearfix
"></div>
<div class="
clearfix
"></div>
</section>
</section>
@endif
@endif
...
...
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