Add composer package information retrieval to AboutController and update UI in about.js

This commit is contained in:
2026-11-01 16:34:09 +07:00
parent aaaf0a9215
commit 70595b835d
2 changed files with 34 additions and 2 deletions
+7 -1
View File
@@ -15,10 +15,16 @@ var AboutJS = {
KODE: '',
index() {
$('#win'+this.KODE).find('#divBuildInfo').html('<p>Aplikasi dibuat dengan komponen :<br>- jQuery Version '+$().jquery+' <br>- Bootstrap Version '+$.fn.tooltip.Constructor.VERSION+' <br>- FoniaJS Version '+FoniaJS.version+' <br>- FoniaPHP Version '+FoniaJS.version+'</p>');
$('#win'+this.KODE).find('#divBuildInfo').html('<p>- jQuery Version '+$().jquery+' <br>- Bootstrap Version '+$.fn.tooltip.Constructor.VERSION+' <br>- FoniaJS Version '+FoniaJS.version+'</p>');
$('#butDBCek').click(() => this.db_check());
$('#butDBOpti').click(() => this.db_opti());
$('#butUpdateCek').click(() => this.update_check());
new Request({
url: this.PHP + '/composer',
onSuccess: (ajson) => {
$('#win'+this.KODE).find('#divComposerInfo').html(ajson.html);
}
}).send();
},
db_check() {