CheckStatus + UI fejlesztése
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user