fix button and fix service sync simbg

This commit is contained in:
arifal
2025-02-14 00:23:50 +07:00
parent ac2f37d549
commit 4d32d4a110
19 changed files with 382 additions and 271 deletions

View File

@@ -52,13 +52,16 @@ class DataSettings {
name: "Actions",
width: "120px",
formatter: function (cell) {
console.log("cell data", cell);
return gridjs.html(`
<div class="d-flex justify-items-end gap-10">
<a href="/data-settings/${cell}/edit" class="btn btn-yellow me-2">Update</a>
<button class="btn btn-red btn-delete btn-delete-data-settings" data-id="${cell}">Delete</button>
</div>
`);
<div class="d-flex justify-content-center gap-2">
<a href="/data-settings/${cell}/edit" class="btn btn-yellow btn-sm d-inline-flex align-items-center justify-content-center">
<i class='bx bx-edit'></i>
</a>
<button class="btn btn-sm btn-red d-inline-flex align-items-center justify-content-centerbtn-delete-data-settings" data-id="${cell}">
<i class='bx bxs-trash' ></i>
</button>
</div>
`);
},
},
],