Enterprise logo container
This commit is contained in:
		
							parent
							
								
									621789b20c
								
							
						
					
					
						commit
						dfe50d4355
					
				@ -2,7 +2,9 @@
 | 
			
		||||
<header>
 | 
			
		||||
  <nav class="navbar navbar-expand-md navbar-dark bg-dark">
 | 
			
		||||
  <ng-template [ngIf]="subdomain">
 | 
			
		||||
    <img [src]="'/api/v1/enterprise/images/' + subdomain + '/logo'" height="35" class="subdomain_logo" onload="this.style.display='block'">
 | 
			
		||||
    <div class="subdomain_container">
 | 
			
		||||
      <img [src]="'/api/v1/enterprise/images/' + subdomain + '/logo'" class="subdomain_logo" (load)="onloadfn($event)">
 | 
			
		||||
    </div>
 | 
			
		||||
  </ng-template>
 | 
			
		||||
  <a class="navbar-brand" [routerLink]="['/' | relativeUrl]" style="position: relative;">
 | 
			
		||||
    <ng-container *ngIf="{ val: connectionState$ | async } as connectionState">
 | 
			
		||||
 | 
			
		||||
@ -147,6 +147,13 @@ nav {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.subdomain_logo {
 | 
			
		||||
  max-height: 45px;
 | 
			
		||||
  max-width: 140px;
 | 
			
		||||
  margin: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.subdomain_container {
 | 
			
		||||
  width: 140px;
 | 
			
		||||
  margin-right: 15px;
 | 
			
		||||
  display: none;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user