Ensure we have a fallback avatar
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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/>
|
||||
|
||||
@@ -690,10 +690,6 @@ $graphs-success-alt: lighten(#27CE65, 20%);
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user