Skip to content

Commit

Permalink
view file updates..
Browse files Browse the repository at this point in the history
  • Loading branch information
cuneytsenturk committed Mar 14, 2020
1 parent 9a6cf77 commit 83f6d5f
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 80 deletions.
1 change: 1 addition & 0 deletions resources/views/auth/forgot/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@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-danger d-none" :class="(form.response.error) ? 'show' : ''" v-if="form.response.error" v-html="form.response.message"></div>

{!! Form::open([
'route' => 'forgot',
'id' => 'forgot',
Expand Down
1 change: 1 addition & 0 deletions resources/views/auth/login/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

@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>

{!! Form::open([
'route' => 'login',
'id' => 'login',
Expand Down
2 changes: 1 addition & 1 deletion resources/views/auth/permissions/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@section('title', trans_choice('general.permissions', 2))

@permission('update-auth-permissions')
@permission('create-auth-permissions')
@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>
@endsection
Expand Down
100 changes: 52 additions & 48 deletions resources/views/modules/home/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,57 +10,61 @@
@section('content')
@include('partials.modules.bar')

@if ($pre_sale)
<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 ($pre_sale)
<h2>{{ trans('modules.pre_sale') }}</h2>

@if ($paid)
<h2>{{ trans('modules.top_paid') }}</h2>
<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
<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 ($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 ($paid)
<h2>{{ trans('modules.top_paid') }}</h2>

@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
<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
@endsection

@push('scripts_start')
Expand Down
4 changes: 3 additions & 1 deletion resources/views/modules/item/pre_sale.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<div class="row">
<div class="col-md-8">
<h3>{{ $module->name }}</h3>

<div class="nav-wrapper">
<ul class="nav nav-pills nav-fill flex-column flex-md-row" id="tabs-icons-text" role="tablist">
<li class="nav-item">
Expand Down Expand Up @@ -49,6 +50,7 @@

<div class="col-md-4">
<h3>{{ trans_choice('general.actions', 1) }}</h3>

<div class="card">
<div class="card-body">
<div id="countdown-pre-sale"></div>
Expand Down Expand Up @@ -94,8 +96,8 @@
</div>
</div>


<h3>{{ trans('modules.about') }}</h3>

<div class="card">
<table class="table">
<tbody>
Expand Down
2 changes: 2 additions & 0 deletions resources/views/modules/my/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@include('partials.modules.bar')

<h2>{{ trans('modules.my.purchased') }}</h2>

<div class="row">
@if ($purchased)
@foreach ($purchased as $module)
Expand All @@ -24,6 +25,7 @@
</div>

<h2>{{ trans('modules.my.installed') }}</h2>

<div class="row">
@if ($modules)
@foreach ($modules as $module)
Expand Down
59 changes: 29 additions & 30 deletions resources/views/modules/tiles/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,37 @@
@section('content')
@include('partials.modules.bar')

<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">
@if ($modules->current_page > 1)
<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
</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 button-header-top">{!! trans('pagination.next') !!}&nbsp; <span class="fas fa-arrow-right"></span> </a>
@endif
</div>

@else
<div class="col-md-12">
@include('partials.modules.no_apps')
</div>
@endif
</div>
<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">
@if ($modules->current_page > 1)
<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
</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 button-header-top">{!! trans('pagination.next') !!}&nbsp; <span class="fas fa-arrow-right"></span> </a>
@endif
</div>
@else
<div class="col-md-12">
@include('partials.modules.no_apps')
</div>
@endif
</div>
@endsection

@push('scripts_start')
<script src="{{ asset('public/js/modules/apps.js?v=' . version('short')) }}"></script>
@endpush

0 comments on commit 83f6d5f

Please sign in to comment.