general classes updated for blades

This commit is contained in:
batuhanbas
2020-01-21 18:13:29 +03:00
parent 650f7f1273
commit ca57a14079
25 changed files with 151 additions and 182 deletions

View File

@ -4,7 +4,7 @@
@section('new_button')
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-bottom"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
@endsection
@section('content')

View File

@ -3,31 +3,26 @@
@section('title', trans_choice('general.modules', 2))
@section('new_button')
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
@endsection
@section('content')
@include('partials.modules.bar')
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-body">
@if ($documentation)
{!! $documentation->body !!}
@else
{{ trans('general.na') }}
@endif
</div>
<div class="card-footer">
<div class="row">
<div class="col-md-12">
<div class="text-left">
<a href="{{ url($back) }}" class="btn btn-white btn-md text-left">&laquo; {{ trans('modules.back') }}</a>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
@if ($documentation)
{!! $documentation->body !!}
@else
{{ trans('general.na') }}
@endif
</div>
<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> &nbsp;{{ trans('modules.back') }}</a>
</div>
</div>
</div>

View File

@ -3,16 +3,8 @@
@section('title', trans_choice('general.modules', 2))
@section('new_button')
<span>
<a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm header-button-top">
<span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}
</a>
</span>
<span>
<a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-bottom">
<span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}
</a>
</span>
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
@endsection
@section('content')
@ -35,9 +27,9 @@
<div class="tab-pane fade show active" id="description">
{!! $module->description !!}
@if($module->screenshots || $module->video)
@if ($module->screenshots || $module->video)
<akaunting-carousel :name="'{{ $module->name }}'" :height="'430px'"
@if($module->video)
@if ($module->video)
@php
if (strpos($module->video->link, '=') !== false) {
$code = explode('=', $module->video->link);

View File

@ -3,16 +3,8 @@
@section('title', trans_choice('general.modules', 2))
@section('new_button')
<span>
<a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm header-button-top">
<span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}
</a>
</span>
<span>
<a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-bottom">
<span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}
</a>
</span>
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm header-button-top"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
@endsection
@section('content')

View File

@ -3,8 +3,8 @@
@section('title', trans_choice('general.modules', 2))
@section('new_button')
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm button-header-top"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm button-header-top"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
@endsection
@section('content')

View File

@ -3,12 +3,13 @@
@section('title', trans_choice('general.modules', 2))
@section('new_button')
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm button-header-top"><span class="fa fa-key"></span> &nbsp;{{ trans('modules.api_key') }}</a></span>
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm button-header-top"><span class="fa fa-user"></span> &nbsp;{{ trans('modules.my_apps') }}</a></span>
@endsection
@section('content')
@include('partials.modules.bar')
<h2 class="text-primary">{{ $title }}</h2>
<div class="row">
@if ($modules)
@ -19,26 +20,25 @@
@include('partials.modules.item')
@endif
@endforeach
</div>
<div class="row justify-content-center mb-4">
<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>
@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>
@endif
</div>
<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>
@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>
@endif
</div>
@else
<div class="col-md-12">
@include('partials.modules.no_apps')
</div>
@endif
</div>
@endsection
@push('scripts_start')