create loading and handle from js create edit and delete roles

This commit is contained in:
arifal
2025-02-11 23:40:31 +07:00
parent 2bf4b8b327
commit 1a15bc03f8
20 changed files with 422 additions and 153 deletions

View File

@@ -9,11 +9,13 @@
@include('layouts.partials/page-title', ['title' => 'Settings', 'subtitle' => 'General'])
<div class="row">
<div class="d-flex justify-content-end pb-3">
<a href="{{ route('general.create') }}" class="btn btn-success width-lg">Create</a>
</div>
<div>
<div id="general-setting-table"></div>
<div class="card w-full">
<div class="card-body">
<div class="d-flex justify-content-end pb-3">
<a href="{{ route('general.create') }}" class="btn btn-success width-lg">Create</a>
</div>
<div id="general-setting-table"></div>
</div>
</div>
</div>

View File

@@ -9,12 +9,16 @@
@include('layouts.partials/page-title', ['title' => 'Settings', 'subtitle' => 'Syncronize'])
<div class="row">
<div class="col-md-12 col-xl-12 d-flex justify-content-end">
<button type="button" class="btn btn-success" style="margin-right: 20px;" id="btn-sync-submit-google-sheet">Sync Google Sheet</button>
<button type="button" class="btn btn-success" id="btn-sync-submit">Sync SIMBG</button>
</div>
<div>
<div id="table-import-datasources"></div>
<div class="card w-full">
<div class="card-body">
<div class="col-md-12 col-xl-12 d-flex justify-content-end">
<button type="button" class="btn btn-success" style="margin-right: 20px;" id="btn-sync-submit-google-sheet">Sync Google Sheet</button>
<button type="button" class="btn btn-success" id="btn-sync-submit">Sync SIMBG</button>
</div>
<div>
<div id="table-import-datasources"></div>
</div>
</div>
</div>
</div>