Files
cloudron-box/webadmin/src/nakeddomain.html

55 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html ng-app="Application" ng-controller="Controller">
<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 </title>
<link id="favicon" href="/api/v1/cloudron/avatar" rel="icon" type="image/png">
<!-- Theme CSS -->
<link href="theme.css" rel="stylesheet" type="text/css">
<!-- jQuery-->
<script src="3rdparty/js/jquery.min.js"></script>
<script>
$(function () {
'use strict';
var host = window.location.host;
// Special case the caas domains
if (host.match(/.*\.cloudron\.(me|eu|de)$/) || host.match(/.*\.selfhost\.io$/)) {
$('#settings-link').attr('href', '//my-' + host);
} else {
$('#settings-link').attr('href', '//my.' + host);
}
});
</script>
</head>
<body class="status-page">
<div class="wrapper">
<div class="content">
<h1>
<img width="48" height="48" src="/api/v1/cloudron/avatar" onerror="this.src = '/img/logo_inverted_192.png'"/>
<span style="padding-left:10px">Cloudron</span>
</h1>
<br/>
<h4>There is no app configured for this domain.</h4>
<h4>Use the <a id="settings-link">settings panel</a> and install an app leaving the location empty.</h4>
<footer>
<span class="text-muted"><a href="mailto: support@cloudron.io">Contact Support</a> - Copyright &copy; <a href="https://cloudron.io" target="_blank">Cloudron</a> 2016</span>
</footer>
</div>
</div>
</body>
</html>