Add composer package information retrieval to AboutController and update UI in about.js
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user