¨4.0.1¨

This commit is contained in:
¨NW¨
2023-12-03 14:07:47 +00:00
parent c08b36d1b6
commit f35052522d
1112 changed files with 43019 additions and 24987 deletions

View File

@@ -16,3 +16,10 @@
@endsection
@include('option::admin.options.partials.scripts')
@push('globals')
@vite([
'Modules/Option/Resources/assets/admin/sass/main.scss',
'Modules/Option/Resources/assets/admin/js/main.js',
])
@endpush

View File

@@ -18,3 +18,10 @@
@endsection
@include('option::admin.options.partials.scripts')
@push('globals')
@vite([
'Modules/Option/Resources/assets/admin/sass/main.scss',
'Modules/Option/Resources/assets/admin/js/main.js',
])
@endpush

View File

@@ -24,7 +24,7 @@
@endcomponent
@push('scripts')
<script>
<script type="module">
new DataTable('#options-table .table', {
columns: [
{ data: 'checkbox', orderable: false, searchable: false, width: '3%' },

View File

@@ -1,10 +1,3 @@
@push('globals')
<script>
FleetCart.data['option.values'] = {!! old_json('values', $option->values) !!};
FleetCart.errors['option.values'] = @json($errors->get('values.*'), JSON_FORCE_OBJECT);
</script>
@endpush
@push('shortcuts')
<dl class="dl-horizontal">
<dt><code>b</code></dt>
@@ -12,8 +5,15 @@
</dl>
@endpush
@push('scripts')
@push('globals')
<script>
FleetCart.data['option.values'] = {!! old_json('values', $option->values) !!};
FleetCart.errors['option.values'] = @json($errors->get('values.*'), JSON_FORCE_OBJECT);
</script>
@endpush
@push('scripts')
<script type="module">
keypressAction([
{ key: 'b', route: "{{ route('admin.options.index') }}" },
]);

View File

@@ -33,7 +33,7 @@
id="option-<%- optionId %>-add-new-row"
<% } %>
>
{{ trans('option::options.form.add_new_row') }}
{{ trans('option::options.form.add_row') }}
</button>
</div>
</script>

View File

@@ -1,7 +1,7 @@
<script type="text/html" id="option-select-values-template">
<tr class="option-row">
<td class="text-center">
<span class="drag-icon">
<span class="drag-handle">
<i class="fa">&#xf142;</i>
<i class="fa">&#xf142;</i>
</span>