File: /var/www/javago-portal-updates/resources/views/admin/user-module/index.blade.php
<x-app-layout>
<x-slot name="css">
<style>
.layout-top-spacing {
min-height: calc(100vh - 230px) !important;
}
</style>
</x-slot>
<div class="page-header row">
<div class="page-title col-12 d-flex mt-4 pr-4">
<h3 class="my-auto">User Module</h3>
</div>
</div>
<div class="row layout-top-spacing">
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 layout-spacing">
<div class="widget-content widget-content-area br-6">
<table id="user_module" class="table dt-table-hover" style="width:100%">
<thead>
<tr>
<th>{{ __('common.name') }}</th>
<th>{{ __('common.email') }}</th>
<th>Profile</th>
<th>{{ __('common.currentAddress') }}</th>
<th>status</th>
<th class="no-content"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<x-slot name="script">
<script>
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': "{{csrf_token()}}"
}
});
const getData = "{{ $dataUrl }}";
const tableElement = document.getElementById('user_module');
</script>
<script src="{{ asset('assets/js/admin/userModule.js') }}"></script>
<script src="{{ asset('assets/js/tableAction.js') }}"></script>
</x-slot>
</x-app-layout>