2018-08-08 13:47:40 +00:00
|
|
|
@extends('admin::layouts.content')
|
|
|
|
|
|
2018-09-08 08:41:36 +00:00
|
|
|
@section('page_title')
|
2018-10-31 07:24:50 +00:00
|
|
|
{{ __('admin::app.settings.sliders.title') }}
|
2018-09-08 08:41:36 +00:00
|
|
|
@stop
|
|
|
|
|
|
2018-08-08 13:47:40 +00:00
|
|
|
@section('content')
|
|
|
|
|
<div class="content">
|
2021-06-09 07:41:14 +00:00
|
|
|
@php
|
2021-06-09 08:37:52 +00:00
|
|
|
$locale = core()->getRequestedLocaleCode('locale', false);
|
2022-02-07 10:36:38 +00:00
|
|
|
|
2021-06-09 08:37:52 +00:00
|
|
|
$channel = core()->getRequestedChannelCode(false);
|
2021-06-09 07:41:14 +00:00
|
|
|
@endphp
|
2020-04-13 17:33:45 +00:00
|
|
|
|
2018-08-08 13:47:40 +00:00
|
|
|
<div class="page-header">
|
|
|
|
|
<div class="page-title">
|
|
|
|
|
<h1>{{ __('admin::app.settings.sliders.title') }}</h1>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="page-action">
|
|
|
|
|
<a href="{{ route('admin.sliders.store') }}" class="btn btn-lg btn-primary">
|
|
|
|
|
{{ __('admin::app.settings.sliders.add-title') }}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="page-content">
|
2022-02-07 10:36:38 +00:00
|
|
|
<datagrid-plus src="{{ route('admin.sliders.index') }}"></datagrid-plus>
|
2018-08-08 13:47:40 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2020-04-13 17:33:45 +00:00
|
|
|
@stop
|
|
|
|
|
|
|
|
|
|
@push('scripts')
|
|
|
|
|
<script>
|
|
|
|
|
function reloadPage(getVar, getVal) {
|
|
|
|
|
let url = new URL(window.location.href);
|
2022-02-07 10:36:38 +00:00
|
|
|
|
2020-04-13 17:33:45 +00:00
|
|
|
url.searchParams.set(getVar, getVal);
|
|
|
|
|
|
|
|
|
|
window.location.href = url.href;
|
|
|
|
|
}
|
|
|
|
|
</script>
|
2022-02-07 10:36:38 +00:00
|
|
|
@endpush
|