Ensure we have a fallback avatar

This commit is contained in:
Johannes Zellner
2015-07-28 11:28:06 +02:00
parent 509e2caa83
commit 947137b3f9
3 changed files with 2 additions and 6 deletions

View File

@@ -77,7 +77,7 @@
<div class="wrapper">
<div class="content">
<img ng-src="{{ cloudronAvatar || '/img/logo_inverted_192.png' }}"/>
<img ng-src="{{ cloudronAvatar || '/img/logo_inverted_192.png' }}" onerror="this.src = '/img/logo_inverted_192.png'"/>
<h1> {{cloudronName}} </h1>
<div ng-show="errorCode == 0">

View File

@@ -59,7 +59,7 @@
<div class="wrapper">
<div class="content">
<img ng-src="{{ cloudronAvatar || '/img/logo_inverted_192.png' }}"/>
<img ng-src="{{ cloudronAvatar || '/img/logo_inverted_192.png' }}" onerror="this.src = '/img/logo_inverted_192.png'"/>
<h1> {{cloudronName}} </h1>
<p>
There is no app configured for this domain. If you want to put an app at this location,<br/>

View File

@@ -690,10 +690,6 @@ $graphs-success-alt: lighten(#27CE65, 20%);
bottom: 0;
width: 100%;
}
h1 {
margin-top: 0;
}
}