osb/resources/views/theme/frontend/metronic/widgets/activity.blade.php

31 lines
1.0 KiB
PHP
Raw Normal View History

2017-12-04 12:37:14 +00:00
<!-- BEGIN RECENT WORKS -->
<div class="row recent-work margin-bottom-40">
<div class="col-md-3">
<h2><a href="portfolio.html">Recent Activity</a></h2>
2018-05-20 12:53:14 +00:00
<p>{{ $so->activity_intro }}</p>
2017-12-04 12:37:14 +00:00
</div>
<div class="col-md-9">
<div class="owl-carousel owl-carousel3">
{{-- @todo These should scroll --}}
@php($c=0)
2018-05-20 12:53:14 +00:00
@foreach ($so->activities as $o)
2017-12-04 12:37:14 +00:00
<div class="recent-work-item">
<em>
<img src="{{ $o['image_small'] }}" alt="{{ $o['title'] }}" class="img-responsive">
<a href="#"><i class="fa fa-link"></i></a>
{{-- If this is a jpeg instead of a URL, it renders a nice popup --}}
<a href="{{ $o['image_large'] }}/{{$c}}.jpg" class="fancybox-button" title="Project Name #{{$c}}" data-rel="fancybox-button"><i class="fa fa-search"></i></a>
</em>
<a class="recent-work-description" href="javascript:;">
<strong>{{ $o['title'] }}</strong>
<b>{{ $o['subtitle'] }}</b>
</a>
</div>
@php($c++)
@endforeach
</div>
</div>
</div>
<!-- END RECENT WORKS -->