openmedialibrary/static/html/load.html

24 lines
623 B
HTML
Raw Normal View History

2014-05-25 18:23:10 +00:00
<!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() {
2014-08-05 08:45:44 +00:00
document.body.innerHTML = 'Looks like Open Media Library is not running.';
2014-05-25 18:23:10 +00:00
}, 10000);
</script>
</body>
</html>