¨4.0.1¨
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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%' },
|
||||
|
||||
@@ -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') }}" },
|
||||
]);
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"></i>
|
||||
<i class="fa"></i>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user