openmedialibrary/static/html/load.html
2014-08-05 18:04:44 +02:00

26 lines
701 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Open Media Library</title>
</head>
<body>
<script>
function load() {
var base = 'http://[::1]:9842',
img = new Image();
img.onload = function(event) {
document.location.href = base;
};
img.src = base + '/static/oxjs/build/Ox.UI/png/transparent.png?' + new Date;
};
load();
setTimeout(function() {
load();
setTimeout(function() {
document.body.innerHTML = 'Looks like Open Media Library is not running.';
}, 10000);
}, 3000);
</script>
</body>
</html>