pull/212/head v1.0.264
openbuilds-engineer 2020-12-15 20:31:42 +02:00
rodzic 5c51a3a197
commit 7d78437bf2
3 zmienionych plików z 11 dodań i 9 usunięć

Wyświetl plik

@ -20,7 +20,9 @@
<body>
<div class="pos-fixed pos-center" id="splash">
<div id="splashAd"></div>
<div id="splashAd" style="display:none"></div>
<br>
<center>Starting&nbsp;OpenBuilds&nbsp;CONTROL...</center>
</div>

Wyświetl plik

@ -28,14 +28,18 @@ function setWindowTitle(status) {
}
// splash screen ad-fade-in, and fade out after
function showAndHideSplash() {
$('#splashAd').fadeIn(200)
setTimeout(function() {
$('#splash').fadeOut(500);
}, 2000)
}
function getChangelog() {
// Splash Screen Begin
$("#splashAd").html(`<img src="http://openbuilds.com/uploadfiles/control/splash.png?date="` + new Date().getTime() + `" onerror="this.onerror=null;this.src='splashicon.png';" style="display:block; margin:auto;" onload="$('#splashAd').fadeIn(200)" />
<br>
<center>Starting&nbsp;OpenBuilds&nbsp;CONTROL...</center>`)
$("#splashAd").html(`<img src="http://openbuilds.com/uploadfiles/control/splash.png?date=` + new Date().getTime() + `" onerror="this.onerror=null;this.src='splashicon.png';showAndHideSplash()" style="display:block; margin:auto;" onload="showAndHideSplash()" />`)
$("#changelog").empty()
var template2 = `<ul>`
@ -179,10 +183,6 @@ $(document).ready(function() {
});
console.log('%c', element);
setTimeout(function() {
$('#splash').fadeOut(500);
}, 2000)
});
function readFile(evt) {

Plik binarny nie jest wyświetlany.