view file updates..

This commit is contained in:
Cüneyt Şentürk
2020-03-14 16:15:29 +03:00
parent 9a6cf77d73
commit 83f6d5f9dd
7 changed files with 86 additions and 77 deletions

View File

@ -7,6 +7,7 @@
@section('content') @section('content')
<div role="alert" class="alert alert-success d-none" :class="(form.response.success) ? 'show' : ''" v-if="form.response.success" v-html="form.response.message"></div> <div role="alert" class="alert alert-success d-none" :class="(form.response.success) ? 'show' : ''" v-if="form.response.success" v-html="form.response.message"></div>
<div role="alert" class="alert alert-danger d-none" :class="(form.response.error) ? 'show' : ''" v-if="form.response.error" v-html="form.response.message"></div> <div role="alert" class="alert alert-danger d-none" :class="(form.response.error) ? 'show' : ''" v-if="form.response.error" v-html="form.response.message"></div>
{!! Form::open([ {!! Form::open([
'route' => 'forgot', 'route' => 'forgot',
'id' => 'forgot', 'id' => 'forgot',

View File

@ -6,6 +6,7 @@
@section('content') @section('content')
<div role="alert" class="alert alert-danger d-none" :class="(form.response.error) ? 'show' : ''" v-if="form.response.error" v-html="form.response.message"></div> <div role="alert" class="alert alert-danger d-none" :class="(form.response.error) ? 'show' : ''" v-if="form.response.error" v-html="form.response.message"></div>
{!! Form::open([ {!! Form::open([
'route' => 'login', 'route' => 'login',
'id' => 'login', 'id' => 'login',

View File

@ -2,7 +2,7 @@
@section('title', trans_choice('general.permissions', 2)) @section('title', trans_choice('general.permissions', 2))
@permission('update-auth-permissions') @permission('create-auth-permissions')
@section('new_button') @section('new_button')
<a href="{{ route('permissions.create') }}" class="btn btn-success btn-sm header-button-top"><span class="fa fa-plus"></span> &nbsp;{{ trans('general.add_new') }}</a> <a href="{{ route('permissions.create') }}" class="btn btn-success btn-sm header-button-top"><span class="fa fa-plus"></span> &nbsp;{{ trans('general.add_new') }}</a>
@endsection @endsection

View File

@ -10,57 +10,61 @@
@section('content') @section('content')
@include('partials.modules.bar') @include('partials.modules.bar')
@if ($pre_sale) @if ($pre_sale)
<h2>{{ trans('modules.pre_sale') }}</h2> <h2>{{ trans('modules.pre_sale') }}</h2>
<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
@if ($paid) <div class="row">
<h2>{{ trans('modules.top_paid') }}</h2> @if ($pre_sale->data)
<div class="row"> @foreach ($pre_sale->data as $module)
@if ($paid->data) @include('partials.modules.pre_sale')
@foreach ($paid->data as $module) @endforeach
@include('partials.modules.item') @else
@endforeach @include('partials.modules.no_apps')
@else @endif
@include('partials.modules.no_apps') </div>
@endif @endif
</div>
@endif
@if ($new) @if ($paid)
<h2>{{ trans('modules.new') }}</h2> <h2>{{ trans('modules.top_paid') }}</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) <div class="row">
<h2>{{ trans('modules.top_free') }}</h2> @if ($paid->data)
<div class="row"> @foreach ($paid->data as $module)
@if ($free->data) @include('partials.modules.item')
@foreach ($free->data as $module) @endforeach
@include('partials.modules.item') @else
@endforeach @include('partials.modules.no_apps')
@else @endif
@include('partials.modules.no_apps') </div>
@endif @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
@endsection @endsection
@push('scripts_start') @push('scripts_start')

View File

@ -13,6 +13,7 @@
<div class="row"> <div class="row">
<div class="col-md-8"> <div class="col-md-8">
<h3>{{ $module->name }}</h3> <h3>{{ $module->name }}</h3>
<div class="nav-wrapper"> <div class="nav-wrapper">
<ul class="nav nav-pills nav-fill flex-column flex-md-row" id="tabs-icons-text" role="tablist"> <ul class="nav nav-pills nav-fill flex-column flex-md-row" id="tabs-icons-text" role="tablist">
<li class="nav-item"> <li class="nav-item">
@ -49,6 +50,7 @@
<div class="col-md-4"> <div class="col-md-4">
<h3>{{ trans_choice('general.actions', 1) }}</h3> <h3>{{ trans_choice('general.actions', 1) }}</h3>
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div id="countdown-pre-sale"></div> <div id="countdown-pre-sale"></div>
@ -94,8 +96,8 @@
</div> </div>
</div> </div>
<h3>{{ trans('modules.about') }}</h3> <h3>{{ trans('modules.about') }}</h3>
<div class="card"> <div class="card">
<table class="table"> <table class="table">
<tbody> <tbody>

View File

@ -11,6 +11,7 @@
@include('partials.modules.bar') @include('partials.modules.bar')
<h2>{{ trans('modules.my.purchased') }}</h2> <h2>{{ trans('modules.my.purchased') }}</h2>
<div class="row"> <div class="row">
@if ($purchased) @if ($purchased)
@foreach ($purchased as $module) @foreach ($purchased as $module)
@ -24,6 +25,7 @@
</div> </div>
<h2>{{ trans('modules.my.installed') }}</h2> <h2>{{ trans('modules.my.installed') }}</h2>
<div class="row"> <div class="row">
@if ($modules) @if ($modules)
@foreach ($modules as $module) @foreach ($modules as $module)

View File

@ -10,38 +10,37 @@
@section('content') @section('content')
@include('partials.modules.bar') @include('partials.modules.bar')
<h2>{{ $title }}</h2> <h2>{{ $title }}</h2>
<div class="row">
@if ($modules)
@foreach ($modules->data as $module)
@if ($module->status_type == 'pre_sale')
@include('partials.modules.pre_sale')
@else
@include('partials.modules.item')
@endif
@endforeach
<div class="col-md-6 text-left"> <div class="row">
@if ($modules->current_page > 1) @if ($modules)
<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> &nbsp;{!! trans('pagination.previous') !!}</a> @foreach ($modules->data as $module)
@endif @if ($module->status_type == 'pre_sale')
</div> @include('partials.modules.pre_sale')
@else
@include('partials.modules.item')
@endif
@endforeach
<div class="col-md-6 text-right"> <div class="col-md-6 text-left">
@if ($modules->current_page < $modules->last_page) @if ($modules->current_page > 1)
<a href="{{ url(request()->path()) }}?page={{ $modules->current_page + 1 }}" class="btn btn-white btn-sm button-header-top">{!! trans('pagination.next') !!}&nbsp; <span class="fas fa-arrow-right"></span> </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> &nbsp;{!! trans('pagination.previous') !!}</a>
@endif @endif
</div> </div>
@else <div class="col-md-6 text-right">
<div class="col-md-12"> @if ($modules->current_page < $modules->last_page)
@include('partials.modules.no_apps') <a href="{{ url(request()->path()) }}?page={{ $modules->current_page + 1 }}" class="btn btn-white btn-sm button-header-top">{!! trans('pagination.next') !!}&nbsp; <span class="fas fa-arrow-right"></span> </a>
</div> @endif
@endif </div>
</div> @else
<div class="col-md-12">
@include('partials.modules.no_apps')
</div>
@endif
</div>
@endsection @endsection
@push('scripts_start') @push('scripts_start')
<script src="{{ asset('public/js/modules/apps.js?v=' . version('short')) }}"></script> <script src="{{ asset('public/js/modules/apps.js?v=' . version('short')) }}"></script>
@endpush @endpush