You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/index/CounterGrid/CounterGrid.blade.php

19 lines
796 B
PHTML

<section id='CounterGrid' class=' live-setting' data-live="{{$data->area_name.'_'.$data->part}}">
<div class="{{gfx()['container']}}">
<div class="row">
@for($i = 1; $i <= \Resources\Views\Segments\CounterGrid::$count; $i++)
<div class="col-lg-3 col-md-6">
<i class="{{getSetting($data->area_name.'_'.$data->part.'_icon'.$i)}}"></i>
<h3>
{{getSetting($data->area_name.'_'.$data->part.'_title'.$i)}}
</h3>
<div class="grid-counter" data-min="0" data-max="{{getSetting($data->area_name.'_'.$data->part.'_number'.$i)}}">
0
</div>
</div>
@endfor
</div>
</div>
</section>