modules styles updated
This commit is contained in:
		@@ -12,7 +12,7 @@ return [
 | 
			
		||||
    'search'                => 'Search',
 | 
			
		||||
    'install'               => 'Install',
 | 
			
		||||
    'buy_now'               => 'Buy Now',
 | 
			
		||||
    'get_api_key'           => '<a class="text-red" href=":url" target="_blank">Click here</a> to get your API key.',
 | 
			
		||||
    'get_api_key'           => '<a href=":url" target="_blank">Click here</a> to get your API key.',
 | 
			
		||||
    'no_apps'               => 'There are no apps in this category, yet.',
 | 
			
		||||
    'become_developer'      => 'Are you a developer? <a href=":url" target="_blank">Here</a> you can learn how to create an app and start selling today!',
 | 
			
		||||
    'recommended_apps'      => 'Recommended Apps',
 | 
			
		||||
 
 | 
			
		||||
@@ -2,8 +2,8 @@
 | 
			
		||||
 | 
			
		||||
return [
 | 
			
		||||
 | 
			
		||||
    'previous'              => '« Previous',
 | 
			
		||||
    'next'                  => 'Next »',
 | 
			
		||||
    'previous'              => 'Previous',
 | 
			
		||||
    'next'                  => 'Next',
 | 
			
		||||
    'showing'               => ':first-:last of :total records.',
 | 
			
		||||
    'page'                  => 'per page.',
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -18,9 +18,7 @@
 | 
			
		||||
                    {{ Form::textGroup('api_key', trans('modules.api_key'), 'key', ['required' => 'required', 'placeholder' => trans('general.form.enter', ['field' => trans('modules.api_key')])], setting('apps.api_key', null), 'col-md-12') }}
 | 
			
		||||
 | 
			
		||||
                    <div class="col-md-12">
 | 
			
		||||
                        <p class="mb-0 mt--3">
 | 
			
		||||
                            <small>{!! trans('modules.get_api_key', ['url' => 'https://akaunting.com/dashboard']) !!}</small>
 | 
			
		||||
                        </p>
 | 
			
		||||
                    </div>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
 
 | 
			
		||||
@@ -9,8 +9,9 @@
 | 
			
		||||
 | 
			
		||||
@section('content')
 | 
			
		||||
    @include('partials.modules.bar')
 | 
			
		||||
 | 
			
		||||
        @if ($pre_sale)
 | 
			
		||||
            <h2 class="text-primary">{{ trans('modules.pre_sale') }}</h2>
 | 
			
		||||
            <h2>{{ trans('modules.pre_sale') }}</h2>
 | 
			
		||||
            <div class="row">
 | 
			
		||||
                @if ($pre_sale->data)
 | 
			
		||||
                    @foreach ($pre_sale->data as $module)
 | 
			
		||||
@@ -23,7 +24,7 @@
 | 
			
		||||
        @endif
 | 
			
		||||
 | 
			
		||||
        @if ($paid)
 | 
			
		||||
            <h2 class="text-primary">{{ trans('modules.top_paid') }}</h2>
 | 
			
		||||
            <h2>{{ trans('modules.top_paid') }}</h2>
 | 
			
		||||
            <div class="row">
 | 
			
		||||
                @if ($paid->data)
 | 
			
		||||
                    @foreach ($paid->data as $module)
 | 
			
		||||
@@ -36,7 +37,7 @@
 | 
			
		||||
        @endif
 | 
			
		||||
 | 
			
		||||
        @if ($new)
 | 
			
		||||
            <h2 class="text-primary">{{ trans('modules.new') }}</h2>
 | 
			
		||||
            <h2>{{ trans('modules.new') }}</h2>
 | 
			
		||||
            <div class="row">
 | 
			
		||||
                @if ($new->data)
 | 
			
		||||
                    @foreach ($new->data as $module)
 | 
			
		||||
@@ -49,7 +50,7 @@
 | 
			
		||||
        @endif
 | 
			
		||||
 | 
			
		||||
        @if ($free)
 | 
			
		||||
            <h2 class="text-primary">{{ trans('modules.top_free') }}</h2>
 | 
			
		||||
            <h2>{{ trans('modules.top_free') }}</h2>
 | 
			
		||||
            <div class="row">
 | 
			
		||||
                @if ($free->data)
 | 
			
		||||
                    @foreach ($free->data as $module)
 | 
			
		||||
 
 | 
			
		||||
@@ -22,9 +22,13 @@
 | 
			
		||||
        <div class="card-footer">
 | 
			
		||||
            <div class="row">
 | 
			
		||||
                <div class="col-md-12">
 | 
			
		||||
                    <a href="{{  url($back) }}" class="btn btn-white btn-md header-button-top"><span class="fas fa-arrow-left"></span>  {{ trans('modules.back') }}</a>
 | 
			
		||||
                    <a href="{{  url($back) }}" class="btn btn-white btn-sm header-button-top"><span class="fas fa-arrow-left"></span>  {{ trans('modules.back') }}</a>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
@endsection
 | 
			
		||||
 | 
			
		||||
@push('scripts_start')
 | 
			
		||||
    <script src="{{ asset('public/js/modules/apps.js?v=' . version('short')) }}"></script>
 | 
			
		||||
@endpush
 | 
			
		||||
 
 | 
			
		||||
@@ -204,7 +204,7 @@
 | 
			
		||||
                        @if ($module->vendor_name)
 | 
			
		||||
                            <tr class="row">
 | 
			
		||||
                                <th class="col-5">{{ trans_choice('general.developers', 1) }}</th>
 | 
			
		||||
                                <td class="col-7 text-right"><a  class="text-success" href="{{ url('apps/vendors/' . $module->vendor->slug) }}">{{ $module->vendor_name }}</a></td>
 | 
			
		||||
                                <td class="col-7 text-right"><a href="{{ url('apps/vendors/' . $module->vendor->slug) }}">{{ $module->vendor_name }}</a></td>
 | 
			
		||||
                            </tr>
 | 
			
		||||
                        @endif
 | 
			
		||||
                        @if ($module->version)
 | 
			
		||||
@@ -234,14 +234,14 @@
 | 
			
		||||
                        @if ($module->category)
 | 
			
		||||
                            <tr class="row">
 | 
			
		||||
                                <th class="col-5">{{ trans_choice('general.categories', 1) }}</th>
 | 
			
		||||
                                <td class="col-7 text-right"><a class="text-success" href="{{ url('apps/categories/' . $module->category->slug) }}">{{ $module->category->name }}</a></td>
 | 
			
		||||
                                <td class="col-7 text-right"><a href="{{ url('apps/categories/' . $module->category->slug) }}">{{ $module->category->name }}</a></td>
 | 
			
		||||
                            </tr>
 | 
			
		||||
                        @endif
 | 
			
		||||
                        <tr class="row">
 | 
			
		||||
                            <th class="col-5">{{ trans('modules.documentation') }}</th>
 | 
			
		||||
                            @if ($module->documentation)
 | 
			
		||||
                                <td class="col-7 text-right">
 | 
			
		||||
                                    <a class="text-success font-weight-bold" href="{{ url('apps/docs/' . $module->slug) }}">{{ trans('modules.view') }}</a>
 | 
			
		||||
                                    <a href="{{ url('apps/docs/' . $module->slug) }}">{{ trans('modules.view') }}</a>
 | 
			
		||||
                                </td>
 | 
			
		||||
                            @else
 | 
			
		||||
                               <th class="col-7 text-right">{{ trans('general.na') }}</th>
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
@section('content')
 | 
			
		||||
    @include('partials.modules.bar')
 | 
			
		||||
 | 
			
		||||
    <h2 class="text-primary">{{ trans('modules.my.purchased') }}</h2>
 | 
			
		||||
    <h2>{{ trans('modules.my.purchased') }}</h2>
 | 
			
		||||
    <div class="row">
 | 
			
		||||
        @if ($purchased)
 | 
			
		||||
            @foreach ($purchased as $module)
 | 
			
		||||
@@ -23,7 +23,7 @@
 | 
			
		||||
        @endif
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <h2 class="text-primary">{{ trans('modules.my.installed') }}</h2>
 | 
			
		||||
    <h2>{{ trans('modules.my.installed') }}</h2>
 | 
			
		||||
    <div class="row">
 | 
			
		||||
        @if ($modules)
 | 
			
		||||
            @foreach ($modules as $module)
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@
 | 
			
		||||
@section('content')
 | 
			
		||||
    @include('partials.modules.bar')
 | 
			
		||||
 | 
			
		||||
        <h2 class="text-primary">{{ $title }}</h2>
 | 
			
		||||
        <h2>{{ $title }}</h2>
 | 
			
		||||
        <div class="row">
 | 
			
		||||
            @if ($modules)
 | 
			
		||||
                @foreach ($modules->data as $module)
 | 
			
		||||
@@ -23,13 +23,13 @@
 | 
			
		||||
 | 
			
		||||
                <div class="col-md-6 text-left">
 | 
			
		||||
                    @if ($modules->current_page > 1)
 | 
			
		||||
                        <a href="{{ url(request()->path()) }}?page={{ $modules->current_page - 1 }}" class="btn btn-white btn-sm">{!! trans('pagination.previous') !!}</a>
 | 
			
		||||
                        <a href="{{ url(request()->path()) }}?page={{ $modules->current_page - 1 }}" class="btn btn-white btn-sm button-header-top"><span class="fas fa-arrow-left"></span>  {!! trans('pagination.previous') !!}</a>
 | 
			
		||||
                    @endif
 | 
			
		||||
                </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>
 | 
			
		||||
                        <a href="{{ url(request()->path()) }}?page={{ $modules->current_page + 1 }}" class="btn btn-white btn-sm button-header-top">{!! trans('pagination.next') !!}  <span class="fas fa-arrow-right"></span> </a>
 | 
			
		||||
                    @endif
 | 
			
		||||
                </div>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user