v2 first commit
This commit is contained in:
@ -3,19 +3,14 @@
|
||||
@section('title', trans_choice('general.modules', 2))
|
||||
|
||||
@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>
|
||||
<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>
|
||||
<span class="new-button"><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm"><span class="fa fa-key"></span> {{ trans('modules.api_key') }}</a></span>
|
||||
<span class="new-button"><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm"><span class="fa fa-user"></span> {{ trans('modules.my_apps') }}</a></span>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
@include('partials.modules.bar')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="content-header no-padding-left">
|
||||
<h3>{{ $title }}</h3>
|
||||
</div>
|
||||
|
||||
<h2 class="text-primary">{{ $title }}</h2>
|
||||
<div class="row">
|
||||
@if ($modules)
|
||||
@foreach ($modules->data as $module)
|
||||
@if ($module->status_type == 'pre_sale')
|
||||
@ -24,19 +19,24 @@
|
||||
@include('partials.modules.item')
|
||||
@endif
|
||||
@endforeach
|
||||
<div class="col-md-12 no-padding-left">
|
||||
<ul class="pager nomargin">
|
||||
@if ($modules->current_page < $modules->last_page)
|
||||
<li class="next"><a href="{{ url(request()->path()) }}?page={{ $modules->current_page + 1 }}" class="btn btn-default btn-sm">{{ trans('pagination.next') }}</a></li>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
<div class="row justify-content-center mb-4">
|
||||
<div class="col-md-6 text-left">
|
||||
@if ($modules->current_page > 1)
|
||||
<li class="previous"><a href="{{ url(request()->path()) }}?page={{ $modules->current_page - 1 }}" class="btn btn-default btn-sm">{{ trans('pagination.previous') }}</a></li>
|
||||
<a href="{{ url(request()->path()) }}?page={{ $modules->current_page - 1 }}" class="btn btn-white btn-sm">{{ trans('pagination.previous') }}</a>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 text-right">
|
||||
@if ($modules->current_page < $modules->last_page)
|
||||
<a href="{{ url(request()->path()) }}?page={{ $modules->current_page + 1 }}" class="btn btn-white btn-sm">{{ trans('pagination.next') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
@include('partials.modules.no_apps')
|
||||
<div class="col-md-12">
|
||||
@include('partials.modules.no_apps')
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user