update 2023-05-23

This commit is contained in:
2023-05-23 16:21:14 +07:00
parent b64325d3c6
commit 8e7d327a4f
4 changed files with 68 additions and 11 deletions
+56 -2
View File
@@ -4,7 +4,7 @@
Desc. : CSS Default Configuration
Created By : Siau Pheng ([email protected]).
Created Date : December 20th, 2007.
Last Modified : March 20th, 2023.
Last Modified : May 20th, 2023.
(c) 2009 - 2023, 3FONIA Software; WWW.3FONIA.COM.
@@ -90,6 +90,15 @@ table.dataTable tr.dt-hasChild a.fon-tabel-dt i {
table.dataTable a.fon-tabel-dt:hover i, table.dataTable tr.dt-hasChild a.fon-tabel-dt:hover i {
color: unset;
}
div.dataTables_wrapper div.toolbar button {
font-size: unset;
line-height: unset;
}
div.dataTables_length select {
margin-top: 1px;
font-size: unset;
line-height: unset;
}
.card-header.custom-style {
padding: .5rem 1.25rem;
@@ -131,7 +140,7 @@ button.tbl-rowbtn.normal {/* */
padding-top: 0;
padding-bottom: 0;
}
.icon-tooltip { color: var(--warning); }
.icon-tooltip { color: var(--bs-warning); }
/** navibar menu **/
@@ -475,6 +484,51 @@ input.double, input.integer, input.number {
}
}
/** modal **/
.modal-primary .modal-content {
border-color: #0d6efd;
}
.modal-primary .modal-header {
color: #fff;
background-color: #0d6efd;
}
.modal-secondary .modal-content {
border-color: #6c757d;
}
.modal-secondary .modal-header {
color: #fff;
background-color: #6c757d;
}
.modal-success .modal-content {
border-color: #198754;
}
.modal-success .modal-header {
color: #fff;
background-color: #198754;
}
.modal-info .modal-content {
border-color: #0dcaf0;
}
.modal-info .modal-header {
color: #fff;
background-color: #0dcaf0;
}
.modal-warning .modal-content {
border-color: #ffc107;
}
.modal-warning .modal-header {
color: #fff;
background-color: #ffc107;
}
.modal-danger .modal-content {
border-color: #dc3545;
}
.modal-danger .modal-header {
color: #fff;
background-color: #dc3545;
}
/** footer **/
.footer {
+7 -3
View File
@@ -4,7 +4,7 @@
Desc. : JS - Fonia Custom Class v3
Created By : Siau Pheng ([email protected]).
Created Date : June 19th, 2009.
Last Modified : March 24th, 2023.
Last Modified : May 15th, 2023.
(c) 2009 - 2023, 3FONIA Software; WWW.3FONIA.COM.
@@ -414,9 +414,12 @@ var FoniaJS = {
var tmp_array = aparam;
tmp_array.push('SID=' + parseInt(Math.random() * 99999999));
$('input').each(function() {
if (this.id.indexOf('_db')!==-1 || this.id.indexOf('_cbox')!==-1){
if (this.id.indexOf('_db')!==-1){
tmp_array.push(this.id);
}
if (this.id.indexOf('_cbox')!==-1){
tmp_array.push(this.id + '=' + this.value);
}
});
$.each(tmp_array, function(i, nilai) {
if (typeof nilai === "string") {
@@ -838,7 +841,8 @@ Request.JSONF = function(options){//oke
if (val[0].checkbox) {
_tbtn1 += '<div><input class="form-check-input" type="checkbox" id="_cbox_'+val[0].checkbox.field+'" value="'+val[0].checkbox.value+'"></div>';
}
strBody += '<td class="d-lg-flex justify-content-lg-center">'+_tbtn1+_tbtn2+'</td>';
strBody += '<td class="">'+_tbtn1+_tbtn2+'</td>';
//strBody += '<td class="d-lg-flex justify-content-lg-center">'+_tbtn1+_tbtn2+'</td>';
}
strBody += '</tr>';
});