Code refactoring
This commit is contained in:
@ -1,25 +1,28 @@
|
||||
<html>
|
||||
@include('partials.wizard.head')
|
||||
@include('partials.wizard.head')
|
||||
|
||||
<body class="wizard-page">
|
||||
<body class="wizard-page">
|
||||
|
||||
<div class="container mt--5">
|
||||
@stack('body_start')
|
||||
<div class="container mt--5">
|
||||
@stack('body_start')
|
||||
|
||||
<div id="app">
|
||||
<div class="card-body">
|
||||
<div class="document-loading" v-if="!page_loaded">
|
||||
<div><i class="fas fa-spinner fa-pulse fa-7x"></i></div>
|
||||
</div>
|
||||
@include('flash::message')
|
||||
<div id="app">
|
||||
<div class="card-body">
|
||||
<div class="document-loading" v-if="!page_loaded">
|
||||
<div>
|
||||
<i class="fas fa-spinner fa-pulse fa-7x"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
@include('flash::message')
|
||||
|
||||
</div>
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('partials.wizard.scripts')
|
||||
</body>
|
||||
</div>
|
||||
|
||||
@include('partials.wizard.scripts')
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,22 +0,0 @@
|
||||
@stack('content_start')
|
||||
@stack('content_header_start')
|
||||
|
||||
<h1 class="text-white">
|
||||
@yield('title')
|
||||
@yield('new_button')
|
||||
</h1>
|
||||
|
||||
@stack('content_header_end')
|
||||
|
||||
@stack('content_content_start')
|
||||
|
||||
@yield('content')
|
||||
|
||||
@stack('content_content_end')
|
||||
|
||||
<notifications></notifications>
|
||||
|
||||
<form id="form-dynamic-component" method="POST" action="#"></form>
|
||||
|
||||
<component v-bind:is="component"></component>
|
||||
@stack('content_end')
|
@ -1,14 +0,0 @@
|
||||
@stack('pagination_start')
|
||||
@if ($items->firstItem())
|
||||
<div class="pull-left">
|
||||
<small>{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower(trans_choice('general.' . $type, 2))]) }}</small>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
{!! $items->withPath(request()->url())->withQueryString()->links() !!}
|
||||
</div>
|
||||
@else
|
||||
<div class="pull-left">
|
||||
<small>{{ trans('general.no_records') }}</small>
|
||||
</div>
|
||||
@endif
|
||||
@stack('pagination_end')
|
Reference in New Issue
Block a user