akaunting 3.0 (the last dance)

This commit is contained in:
Burak Civan
2022-06-01 10:15:55 +03:00
parent cead09f6d4
commit d9c0764572
3812 changed files with 126831 additions and 102949 deletions

View File

@ -1,26 +1,72 @@
<div class="flex flex-col lg:flex-row">
<div class="w-full lg:w-1/2">
<div class="border-b px-2 pb-3">
<h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5">
{!! $title !!}
</h1>
<div class="card">
<div class="row align-items-center">
<div class="col-xs-12 col-sm-6 text-center p-5">
<img class="blank-image" src="{{ asset($imageEmptyPage) }}" alt="@yield('title')"/>
</div>
<div class="col-xs-12 col-sm-6 text-center p-5">
<p class="text-justify description">
{!! trans($textEmptyPage) !!} {!! trans('general.empty.documentation', ['url' => $urlDocsPath]) !!}
<p class="mt-6 text-sm">
{!! $description !!}
</p>
@if ($checkPermissionCreate)
@can($permissionCreate)
<a href="{{ route($routeCreate) }}" class="btn btn-success float-right mt-4">
<span class="btn-inner--text">{{ trans('general.title.create', ['type' => trans_choice($textPage, 1)]) }}</span>
</a>
@endcan
@else
<a href="{{ route($routeCreate) }}" class="btn btn-success float-right mt-4">
<span class="btn-inner--text">{{ trans('general.title.create', ['type' => trans_choice($textPage, 1)]) }}</span>
</a>
@endif
</div>
<ul>
@foreach ($buttons as $button)
@if ($checkPermissionCreate)
@can ($button['permission'])
@endif
<li class="border-b p-2 hover:bg-gray-100">
<a href="{{ $button['url']}}" class="flex items-center justify-between text-xs">
<div class="truncate">
<div class="flex items-center">
<h2 class="relative">
{{ $button['text'] }}
@if (! empty($button['active_badge']))
<div class="absolute w-7 h-7 opacity-100 z-20 -top-1.5 -right-8">
<div class="absolute w-5 h-5 left-0 top-1 border border-gray-100 rounded-full animate-pulsate_transparent bg-white"></div>
<div class="absolute w-2 h-2 top-2.5 left-1.5 rounded-full bg-green-400"></div>
</div>
@endif
</h2>
</div>
<div class="h-4 overflow-hidden text-black-400 truncate">{{ $button['description'] }}</div>
</div>
<span class="material-icons text-gray-500 transform rtl:rotate-180">chevron_right</span>
</a>
</li>
@if ($checkPermissionCreate)
@endcan
@endif
@endforeach
@if (! empty($suggestion))
<li class="border-b p-2 hover:bg-gray-100">
<a href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs">
<div class="truncate">
<h2 class="">{{ $suggestion->name }}</h2>
<div class="h-4 overflow-hidden text-black-400 truncate">Enter details and create your first expense easily</div>
</div>
<span class="material-icons text-gray-500">chevron_right</span>
</a>
</li>
@endif
</ul>
</div>
<div class="w-full lg:w-1/2 flex justify-end lg:mt-60">
<img src="{{ $image }}" alt="{{ $title }}" />
</div>
</div>
@push('css')
<style>
.hide-empty-page {
display: none;
}
</style>
@endpush