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')
|
2020-10-22 18:58:58 +03:00
|
|
|
<a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm">{{ trans('modules.api_key') }}</a>
|
|
|
|
<a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm">{{ trans('modules.my_apps') }}</a>
|
2018-04-25 11:31:49 +03:00
|
|
|
@endsection
|
|
|
|
|
2017-09-14 22:21:00 +03:00
|
|
|
@section('content')
|
|
|
|
@include('partials.modules.bar')
|
2020-01-22 15:27:52 +03:00
|
|
|
|
2020-03-14 16:15:29 +03:00
|
|
|
@if ($pre_sale)
|
|
|
|
<h2>{{ trans('modules.pre_sale') }}</h2>
|
2019-01-30 18:39:39 +03:00
|
|
|
|
2020-03-14 16:15:29 +03:00
|
|
|
<div class="row">
|
|
|
|
@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
|
2017-09-14 22:21:00 +03:00
|
|
|
|
2020-03-14 16:15:29 +03:00
|
|
|
@if ($paid)
|
|
|
|
<h2>{{ trans('modules.top_paid') }}</h2>
|
2017-09-14 22:21:00 +03:00
|
|
|
|
2020-03-14 16:15:29 +03:00
|
|
|
<div class="row">
|
|
|
|
@if ($paid->data)
|
|
|
|
@foreach ($paid->data as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@include('partials.modules.no_apps')
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if ($new)
|
|
|
|
<h2>{{ trans('modules.new') }}</h2>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
@if ($new->data)
|
|
|
|
@foreach ($new->data as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@include('partials.modules.no_apps')
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@if ($free)
|
|
|
|
<h2>{{ trans('modules.top_free') }}</h2>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
@if ($free->data)
|
|
|
|
@foreach ($free->data as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
@include('partials.modules.no_apps')
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
@endif
|
2019-11-16 10:21:14 +03:00
|
|
|
@endsection
|
2019-11-20 17:11:35 +03:00
|
|
|
|
|
|
|
@push('scripts_start')
|
|
|
|
<script src="{{ asset('public/js/modules/apps.js?v=' . version('short')) }}"></script>
|
|
|
|
@endpush
|