Ensure we have a fallback avatar

This commit is contained in:
Johannes Zellner
2015-07-28 11:28:06 +02:00
parent ff1928102e
commit f3cf688e53
3 changed files with 2 additions and 6 deletions
+1 -1
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">
+1 -1
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/>
-4
View File
@@ -690,10 +690,6 @@ $graphs-success-alt: lighten(#27CE65, 20%);
bottom: 0;
width: 100%;
}
h1 {
margin-top: 0;
}
}