CheckStatus + UI fejlesztése

This commit is contained in:
2025-03-31 15:20:16 +02:00
parent 7996f887ba
commit a7e913b3ee
7 changed files with 117 additions and 42 deletions
@@ -9,7 +9,9 @@
<div class="card shadow p-4">
<div class="d-flex justify-content-end">
<button class="btn btn-primary float-right">Új elem hozzáadása</button>
<button class="btn btn-primary float-right new-btn" data-bs-toggle="tooltip" data-bs-placement="top" title="Új elem hozzáadása">
<i class="bi bi-plus-square"></i>
</button>
</div>
<table id="tbCheckPointsPage" class="table table-bordered table-hover table-sm" style="width:100%">
<thead class="table-primary">
@@ -48,13 +50,7 @@
sortable: false,
className: "text-center",
render: function ( data, type, row ) {
if (data === true) {
return '<input type="checkbox" class="form-check-input no-click" checked>';
}
if (data === false) {
return '<input type="checkbox" class="form-check-input no-click" >';
}
return data;
return renderCheckBox(data);
}
},