Add layouts\pm.forkbb template
This commit is contained in:
parent
93ee41bb9a
commit
8f78e94799
1 changed files with 41 additions and 0 deletions
41
app/templates/layouts/pm.forkbb.php
Normal file
41
app/templates/layouts/pm.forkbb.php
Normal file
|
@ -0,0 +1,41 @@
|
|||
@include ('layouts/crumbs')
|
||||
@extends ('layouts/main')
|
||||
<div class="f-nav-links f-nav-pm-links">
|
||||
@yield ('crumbs')
|
||||
</div>
|
||||
<div class="f-main f-main-pm">
|
||||
<div id="fork-pm-menu">
|
||||
@if ($p->pmNavigation)
|
||||
<nav id="fork-pm-nav" class="f-menu">
|
||||
<input id="id-pmn-checkbox" class="f-menu-checkbox" type="checkbox">
|
||||
<label id="id-pmn-label" class="f-menu-toggle" for="id-pmn-checkbox"></label>
|
||||
<ul class="f-menu-items">
|
||||
@foreach ($p->pmNavigation as $key => $val)
|
||||
<li id="id-pmnav-{{ $key }}" class="f-menu-item">
|
||||
@if (null === $val[0])
|
||||
<span class="f-menu-a f-menu-space">
|
||||
<span class="f-menu-span"> </span>
|
||||
</span>
|
||||
@elseif (true === $val[0])
|
||||
<h3 class="f-menu-a f-menu-h3">
|
||||
<span class="f-menu-span">{!! __($val[1]) !!}</span>
|
||||
</h3>
|
||||
@elseif (false === $val[0])
|
||||
<span class="f-menu-a f-menu-text">
|
||||
<span class="f-menu-span">{!! __($val[1]) !!}</span>
|
||||
</span>
|
||||
@else
|
||||
<a class="f-menu-a @if ($key == $p->pmIndex) active @endif" href="{{ $val[0] }}">
|
||||
<span class="f-menu-span">{!! __($val[1]) !!}</span>
|
||||
</a>
|
||||
@endif
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
</div>
|
||||
<div id="forkpm">
|
||||
@yield ('content')
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Reference in a new issue