Do not rely on external resource in the appstatus page
This commit is contained in:
@@ -3,16 +3,9 @@
|
||||
<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" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' 'self' <%= apiOriginHostname %>; img-src 'self' <%= apiOriginHostname %>;" />
|
||||
|
||||
<title> Cloudron App Error </title>
|
||||
|
||||
<!-- fonts and CSS -->
|
||||
<link href="3rdparty/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Latest compiled and minified CSS -->
|
||||
<link rel="stylesheet" href="3rdparty/bootstrap-3.3.7.min.css" type="text/css">
|
||||
|
||||
<!-- Use static style as we can't include local stylesheets -->
|
||||
<style>
|
||||
|
||||
@@ -31,17 +24,12 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: table;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: table-cell;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
vertical-align: middle;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
footer {
|
||||
@@ -58,6 +46,11 @@
|
||||
footer a {
|
||||
color: #62bdfc;
|
||||
padding: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1, h2, p {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
</style>
|
||||
@@ -66,17 +59,15 @@
|
||||
|
||||
<body>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="content">
|
||||
<h1><i class="fa fa-frown-o fa-fw text-danger"></i></h1>
|
||||
<h2>Something has gone wrong</h2>
|
||||
This app is currently not running. Try refreshing the page.
|
||||
</div>
|
||||
<div class="content">
|
||||
<h1>🙁</h1>
|
||||
<h2>Something has gone wrong</h2>
|
||||
<p>This app is currently not responding. Try refreshing the page.</p>
|
||||
</div>
|
||||
|
||||
<footer class="text-center">
|
||||
<span class="text-muted">©2017 <a href="https://cloudron.io" target="_blank">Cloudron</a></span>
|
||||
<span class="text-muted"><a href="https://twitter.com/cloudron_io" target="_blank">Twitter <i class="fa fa-twitter"></i></a></span>
|
||||
<span class="text-muted"><a href="https://cloudron.io" target="_blank">Cloudron</a></span>
|
||||
<span class="text-muted"><a href="https://twitter.com/cloudron_io" target="_blank">Twitter</a></span>
|
||||
<span class="text-muted"><a href="https://chat.cloudron.io" target="_blank">Chat <i class="fa fa-comments"></i></a></span>
|
||||
</footer>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user