osb/resources/views/theme/frontend/metronic/welcome/widgets/tabs.blade.php

28 lines
902 B
PHP
Raw Normal View History

2017-12-04 12:37:14 +00:00
<!-- TABS -->
<div class="col-md-7 tab-style-1">
<ul class="nav nav-tabs">
@php($c=0)
@foreach ($site->page_tabs as $o)
2017-12-04 12:37:14 +00:00
<li @if(! $c++) class="active" @endif><a href="#tab-{{ $c }}" data-toggle="tab">{{ $o['title'] }}</a></li>
@endforeach
</ul>
<div class="tab-content">
@php($c=0)
@foreach ($site->page_tabs as $o)
2017-12-04 12:37:14 +00:00
<div class="tab-pane row fade in @if(! $c++) active @endif" id="tab-{{ $c }}">
<div class="col-md-3 col-sm-3">
<a href="{{ $o['image'] }}" class="fancybox-button" title="{{ $o['title'] }}" data-rel="fancybox-button">
<img class="img-responsive" src="{{ $o['image'] }}" alt="">
</a>
</div>
<div class="col-md-9 col-sm-9">
<p class="margin-bottom-10">{{ $o['text'] }}</p>
<p><a class="more" href="javascript:;">Read more <i class="icon-angle-right"></i></a></p>
</div>
</div>
@endforeach
</div>
</div>
<!-- END TABS -->