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
f519ca6c
Commit
f519ca6c
authored
Mar 02, 2021
by
Bagus Pambudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
menu v2
parent
118a7fdb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
62 deletions
+62
-62
resources/views/webprofile/front/jollyany/menu.blade.php
+43
-19
resources/views/webprofile/front/jollyany/menu1.blade.php
+19
-43
No files found.
resources/views/webprofile/front/jollyany/menu.blade.php
View file @
f519ca6c
...
...
@@ -3,26 +3,50 @@
@
if
(
$value
->
url
)
<
li
><
a
href
=
"{!! url((string)
$value->url
) !!}"
>
{
!!
$value
->
name
!!
}
</
a
></
li
>
@
else
<
li
class
="
dropdown
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">{!! $value->name !!} <div class="arrow-up"></div></a>
<
li
class
="
dropdown
yamm
-
fw
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">{!! $value->name !!} <div class="arrow-up"></div></a>
<
ul
class
="
dropdown
-
menu
" role="
menu
">
@foreach (
$menu
as
$valuec
)
@if(
$valuec->parent
==
$value->id
)
@if(
$valuec->url
)
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">{!!
$valuec->name
!!}</a></li>
@else
<li class="
dropdown
-
submenu
">
<a href="
#">{!! $valuec->name !!}</a>
<
ul
class
="
dropdown
-
menu
">
@foreach (
$menu
as
$valuec2
)
@if(
$valuec2->parent
==
$valuec->id
)
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
">{!!
$valuec2->name
!!}</a></li>
@endif
@endforeach
</ul>
</li>
@endif
@endif
@endforeach
<div class="
yamm
-
content
">
<div class="
row
">
@foreach (
$menu
as
$valuec
)
@if(
$valuec->parent
==
$value->id
)
<ul class="
col
-
sm
-
4
" style="
text
-
transform
:
capitalize
;
">
@if(
$valuec->url
)
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">{!!
$valuec->name
!!}</a></li>
@else
<!-- <li class="
dropdown
-
submenu
"> -->
<h3>
<b> <a href="
#">{!! $valuec->name !!}</a></b>
</
h3
>
<!--
<
ul
class
="
dropdown
-
menu
"> -->
@foreach (
$menu
as
$valuec2
)
@if(
$valuec2->parent
==
$valuec->id
)
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
" target="
_blank
">{!!
$valuec2->name
!!}</a></li>
{{-- @else
<li class="
dropdown
-
submenu
">
<b> <a href="
#">{!! $valuec2->name !!}</a></b>
<
ul
class
="
dropdown
-
menu
">
@foreach (
$menu
as
$valuec3
)
@if(
$valuec3->parent
==
$valuec2->id
)
<li><a href="
{
!!
url
((
string
)
$valuec3
->
url
)
!!
}
" target="
_blank
">{!!
$valuec3->name
!!}</a></li>
@endif
@endforeach
</ul>
</li>--}}
@endif
@endforeach
<!-- </ul> -->
<!-- </li> -->
@endif
</ul>
@endif
@endforeach
</div>
</div>
</ul>
</li>
@endif
...
...
resources/views/webprofile/front/jollyany/menu
2
.blade.php
→
resources/views/webprofile/front/jollyany/menu
1
.blade.php
View file @
f519ca6c
...
...
@@ -3,50 +3,26 @@
@
if
(
$value
->
url
)
<
li
><
a
href
=
"{!! url((string)
$value->url
) !!}"
>
{
!!
$value
->
name
!!
}
</
a
></
li
>
@
else
<
li
class
="
dropdown
yamm
-
fw
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">{!! $value->name !!} <div class="arrow-up"></div></a>
<
li
class
="
dropdown
"><a href="
#" data-toggle="dropdown" class="dropdown-toggle">{!! $value->name !!} <div class="arrow-up"></div></a>
<
ul
class
="
dropdown
-
menu
" role="
menu
">
<div class="
yamm
-
content
">
<div class="
row
">
@foreach (
$menu
as
$valuec
)
@if(
$valuec->parent
==
$value->id
)
<ul class="
col
-
sm
-
4
" style="
text
-
transform
:
capitalize
;
">
@if(
$valuec->url
)
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">{!!
$valuec->name
!!}</a></li>
@else
<!-- <li class="
dropdown
-
submenu
"> -->
<h3>
<b> <a href="
#">{!! $valuec->name !!}</a></b>
</
h3
>
<!--
<
ul
class
="
dropdown
-
menu
"> -->
@foreach (
$menu
as
$valuec2
)
@if(
$valuec2->parent
==
$valuec->id
)
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
" target="
_blank
">{!!
$valuec2->name
!!}</a></li>
{{-- @else
<li class="
dropdown
-
submenu
">
<b> <a href="
#">{!! $valuec2->name !!}</a></b>
<
ul
class
="
dropdown
-
menu
">
@foreach (
$menu
as
$valuec3
)
@if(
$valuec3->parent
==
$valuec2->id
)
<li><a href="
{
!!
url
((
string
)
$valuec3
->
url
)
!!
}
" target="
_blank
">{!!
$valuec3->name
!!}</a></li>
@endif
@endforeach
</ul>
</li>--}}
@endif
@endforeach
<!-- </ul> -->
<!-- </li> -->
@endif
</ul>
@endif
@endforeach
</div>
</div>
@foreach (
$menu
as
$valuec
)
@if(
$valuec->parent
==
$value->id
)
@if(
$valuec->url
)
<li><a href="
{
!!
url
((
string
)
$valuec
->
url
)
!!
}
">{!!
$valuec->name
!!}</a></li>
@else
<li class="
dropdown
-
submenu
">
<a href="
#">{!! $valuec->name !!}</a>
<
ul
class
="
dropdown
-
menu
">
@foreach (
$menu
as
$valuec2
)
@if(
$valuec2->parent
==
$valuec->id
)
<li><a href="
{
!!
url
((
string
)
$valuec2
->
url
)
!!
}
">{!!
$valuec2->name
!!}</a></li>
@endif
@endforeach
</ul>
</li>
@endif
@endif
@endforeach
</ul>
</li>
@endif
...
...
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