Initial commit: Kimai TMS
Kimai time management system (PHP 5.6 / MySQL) with custom extensions: - Budget tracking (ki_budget) - Change request form (ki_changerequest) - Invoice generation (ki_invoice) - Expense tracking (ki_expenses) - Flexi time (ki_flexitime) - Export, admin panel, timesheets, tasks, summary Database: ~900K time entries, 2,000+ users, 439 projects. Config: includes/autoconf.php — localhost/kimai/kimai
This commit is contained in:
46
libraries/xajax/xajax_plugins/response/preloader/preload.js
Normal file
46
libraries/xajax/xajax_plugins/response/preloader/preload.js
Normal file
@@ -0,0 +1,46 @@
|
||||
try {
|
||||
if (undefined == xajax.ext)
|
||||
xajax.ext = {};
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
try {
|
||||
if (undefined == xajax.ext.preloader)
|
||||
xajax.ext.preloader = {};
|
||||
} catch (e) {
|
||||
alert("Could not create xajax.ext.preloader namespace");
|
||||
}
|
||||
|
||||
|
||||
xajax.ext.preloader.aScripts = [];
|
||||
xajax.ext.preloader.aImages = [];
|
||||
xajax.ext.preloader.aStyles = [];
|
||||
xajax.ext.preloader.ready = false;
|
||||
|
||||
xajax.ext.preloader.run = function() {
|
||||
if (!xajax.ext.preloader.ready)
|
||||
{
|
||||
window.setTimout(xajax.ext.preloader.run,200);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var splash = document.createElement("div");
|
||||
splash.id = "inhalt";
|
||||
document.body.appendChild(splash);
|
||||
|
||||
var l = xajax.ext.preloader.aScripts.length;
|
||||
for (i=0;i<l;++i)
|
||||
{
|
||||
var command =
|
||||
{
|
||||
data : xajax.ext.preloader.aScripts[i],
|
||||
onload : function() {alert(aScripts[i]+ " loaded");}
|
||||
}
|
||||
xajax.js.includeScript(command);
|
||||
splash.innerHTML += xajax.ext.preloader.aScripts[i]+"\n<br />\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
window.onload=xajax.ext.preloader.run;
|
||||
Reference in New Issue
Block a user