Files
cloudron-box/webadmin/dist/error.html
T
2015-02-12 13:14:41 -08:00

50 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
<title> Cloudron Error </title>
<!-- Bootstrap Core CSS -->
<link href="3rdparty/sb-admin-2/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom CSS -->
<link href="3rdparty/sb-admin-2/css/sb-admin-2.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="3rdparty/sb-admin-2/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- jQuery Version 1.11.0 -->
<script src="3rdparty/sb-admin-2/js/jquery-1.11.0.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="3rdparty/sb-admin-2/js/bootstrap.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
var req = new XMLHttpRequest();
req.onreadystatechange = function () {
if (req.readyState === 4 && req.status === 200) {
config = JSON.parse(req.responseText);
document.getElementById('webServerOriginLink').href = config.webServerOrigin + '/console.html';
}
}
req.open('GET', 'config.json');
req.send();
});
setTimeout(function () { window.location.replace('/'); }, 10000); // see if we came back
</script>
</head>
<body>
<center>
<h1> <i class="fa fa-frown-o fa-fw text-danger"></i> Something has gone wrong. </h1>
Please restore your cloudron from <a id="webServerOriginLink" href="">here</a>.
</center>
</body>
</html>