2017-09-14 22:21:00 +03:00
|
|
|
@extends('layouts.modules')
|
|
|
|
|
|
|
|
@section('title', trans_choice('general.modules', 2))
|
|
|
|
|
2018-04-25 11:31:49 +03:00
|
|
|
@section('new_button')
|
|
|
|
<span class="new-button"><a href="{{ url('apps/token/create') }}" class="btn btn-success btn-sm"><span class="fa fa-key"></span> {{ trans('modules.api_token') }}</a></span>
|
2018-05-29 14:06:39 +03:00
|
|
|
<span class="new-button"><a href="{{ url('apps/my') }}" class="btn btn-default btn-sm"><span class="fa fa-user"></span> {{ trans('modules.my_apps') }}</a></span>
|
2018-04-25 11:31:49 +03:00
|
|
|
@endsection
|
|
|
|
|
2017-09-14 22:21:00 +03:00
|
|
|
@section('content')
|
|
|
|
@include('partials.modules.bar')
|
|
|
|
|
2017-11-29 16:37:04 +03:00
|
|
|
<div class="row">
|
2019-01-30 18:39:39 +03:00
|
|
|
@if ($pre_sale)
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="content-header no-padding-left">
|
|
|
|
<h3>{{ trans('modules.pre_sale') }}</h3>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@if ($pre_sale->data)
|
|
|
|
@foreach ($pre_sale->data as $module)
|
|
|
|
@include('partials.modules.pre_sale')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@include('partials.modules.no_apps')
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2018-12-11 17:21:11 +03:00
|
|
|
@if ($paid)
|
2017-11-29 16:37:04 +03:00
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="content-header no-padding-left">
|
|
|
|
<h3>{{ trans('modules.top_paid') }}</h3>
|
|
|
|
</div>
|
|
|
|
|
2018-11-09 11:11:56 +03:00
|
|
|
@if ($paid->data)
|
|
|
|
@foreach ($paid->data as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@include('partials.modules.no_apps')
|
|
|
|
@endif
|
2017-09-14 22:21:00 +03:00
|
|
|
</div>
|
2018-12-11 17:21:11 +03:00
|
|
|
@endif
|
2017-09-14 22:21:00 +03:00
|
|
|
|
2018-12-11 17:21:11 +03:00
|
|
|
@if ($new)
|
2017-12-06 15:57:38 +03:00
|
|
|
<div class="col-md-12">
|
2017-11-29 16:37:04 +03:00
|
|
|
<div class="content-header no-padding-left">
|
|
|
|
<h3>{{ trans('modules.new') }}</h3>
|
|
|
|
</div>
|
2017-09-14 22:21:00 +03:00
|
|
|
|
2018-11-09 11:11:56 +03:00
|
|
|
@if ($new->data)
|
|
|
|
@foreach ($new->data as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@include('partials.modules.no_apps')
|
|
|
|
@endif
|
2017-11-29 16:37:04 +03:00
|
|
|
</div>
|
2018-12-11 17:21:11 +03:00
|
|
|
@endif
|
2017-09-14 22:21:00 +03:00
|
|
|
|
2018-12-11 17:21:11 +03:00
|
|
|
@if ($free)
|
2017-12-06 15:57:38 +03:00
|
|
|
<div class="col-md-12">
|
2017-11-29 16:37:04 +03:00
|
|
|
<div class="content-header no-padding-left">
|
|
|
|
<h3>{{ trans('modules.top_free') }}</h3>
|
|
|
|
</div>
|
2017-09-14 22:21:00 +03:00
|
|
|
|
2018-11-09 11:11:56 +03:00
|
|
|
@if ($free->data)
|
|
|
|
@foreach ($free->data as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@include('partials.modules.no_apps')
|
|
|
|
@endif
|
2017-11-29 16:37:04 +03:00
|
|
|
</div>
|
2018-12-11 17:21:11 +03:00
|
|
|
@endif
|
2017-09-14 22:21:00 +03:00
|
|
|
</div>
|
|
|
|
@endsection
|