update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* Created by Glee on 03-Nov-2020.
|
||||
*/
|
||||
|
||||
const Checkbox = function (deleteItemCb){
|
||||
const Checkbox = function (deleteItemCb) {
|
||||
|
||||
const INPUT_CHECKBOX_CLASS = '.js-checkbox-id';
|
||||
let _deleteItemCb = deleteItemCb;
|
||||
@@ -16,24 +16,24 @@ const Checkbox = function (deleteItemCb){
|
||||
function setAllChecked() {
|
||||
var all_checkboxes = $(INPUT_CHECKBOX_CLASS);
|
||||
|
||||
if($(this).is(':checked')) {
|
||||
if ($(this).is(':checked')) {
|
||||
all_checkboxes.each(function (index, item) {
|
||||
$(item).prop( "checked", true);
|
||||
$(item).prop("checked", true);
|
||||
})
|
||||
}else{
|
||||
} else {
|
||||
all_checkboxes.each(function (index, item) {
|
||||
$(item).prop( "checked", false);
|
||||
$(item).prop("checked", false);
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
function deleteSelected() {
|
||||
if(!confirm('Bạn chắc chắn muốn xóa ?')) {
|
||||
return ;
|
||||
if (!confirm('Bạn chắc chắn muốn xóa ?')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$(INPUT_CHECKBOX_CLASS).each(function (index, item) {
|
||||
if($(item).is(':checked')) {
|
||||
if ($(item).is(':checked')) {
|
||||
//delete_deal(item.value, false);
|
||||
_deleteItemCb(item.value)
|
||||
}
|
||||
@@ -43,7 +43,7 @@ const Checkbox = function (deleteItemCb){
|
||||
function getCheckedIds() {
|
||||
let list_ids = [];
|
||||
$(INPUT_CHECKBOX_CLASS).each(function (index, item) {
|
||||
if($(item).is(':checked')) list_ids.push(item.value);
|
||||
if ($(item).is(':checked')) list_ids.push(item.value);
|
||||
});
|
||||
|
||||
return list_ids;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -16582,45 +16582,3 @@ html:not([data-theme="material"], [data-theme="material-dark"]) #layout-topbar {
|
||||
background-position: 0;
|
||||
}
|
||||
}
|
||||
.bg-menu {
|
||||
background: #004e99;
|
||||
}
|
||||
.line-clamp-1 {
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical;
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.line-clamp-2 {
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.line-clamp-3 {
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
.line-clamp-4 {
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical;
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.btn-dash {
|
||||
border-style: dashed;
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
.btn-dash:hover {
|
||||
border-color: var(--color-primary);
|
||||
color: #fff;
|
||||
background: var(--color-primary);
|
||||
}
|
||||
|
||||
.todo-list td {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
81
assets/script/style_hura.css
Normal file
81
assets/script/style_hura.css
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user