update 2023-05-23
This commit is contained in:
+56
-2
@@ -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
@@ -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>';
|
||||
});
|
||||
|
||||
+1
-2
@@ -45,9 +45,8 @@ final class CSV {
|
||||
}
|
||||
|
||||
public function download($nama_file="export.csv") {
|
||||
$out = "";
|
||||
$out = ""; $tmp_out = "";
|
||||
// add header
|
||||
$tmp_out = "";
|
||||
for ($i=0; $i<count($this->__atabel); $i++) {
|
||||
$tmp_out .= DELI_CSV . $this->__atabel[$i][0];
|
||||
}
|
||||
|
||||
+4
-4
@@ -6,9 +6,9 @@
|
||||
Desc. : v4 - HTML Table (jQuery & Bootstrap)
|
||||
Created By : Siau Pheng (siaupheng@3fonia.com).
|
||||
Created Date : January 16th, 2008.
|
||||
Last Modified : May 3rd, 2022.
|
||||
Last Modified : May 18th, 2023.
|
||||
|
||||
(c) 2008 - 2022, 3FONIA Software; WWW.3FONIA.COM.
|
||||
(c) 2008 - 2023, 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
*******************************************************************/
|
||||
|
||||
@@ -153,7 +153,7 @@ final class Table {
|
||||
$tval = $this->__cdb->Row($this->__afield[$i], 0);
|
||||
if (is_array($this->__afooter[$i])) {
|
||||
$tval2 = $this->__afooter[$i][$tval];
|
||||
} else if (function_exists($this->__afooter[$i])) {
|
||||
} else if (!is_null($this->__afooter[$i]) && function_exists($this->__afooter[$i])) {
|
||||
$tval2 = call_user_func($this->__afooter[$i], $tval);
|
||||
} else {
|
||||
$tval2 = ($this->__afooter[$i]<>"") ? $this->__afooter[$i] : $tval;
|
||||
@@ -194,7 +194,7 @@ final class Table {
|
||||
$tval = stripslashes($this->__cdb->Row($this->__afield[$i]));//up: 2015-01-05
|
||||
if (is_array($this->__aformat[$i])) {
|
||||
$tval = $this->__aformat[$i][$tval];
|
||||
} else if (function_exists($this->__aformat[$i])) {
|
||||
} else if (!is_null($this->__aformat[$i]) && function_exists($this->__aformat[$i])) {
|
||||
$tval = call_user_func($this->__aformat[$i], $tval);
|
||||
}
|
||||
$abaris[] = $tval;
|
||||
|
||||
Reference in New Issue
Block a user