Fix logo on login page. (#1528)

* Fix logo on login page.

By default, uses logo.png rather than ms-icon-150x150.png
Sets image width to 100% of containing div for default and custom logo.

* Update login.component.html
pull/1551/head
Avi 7 years ago committed by Jamie
parent 9f82281744
commit 2adf56b208

@ -8,8 +8,8 @@ include the remember me checkbox
<div class="container" id="login">
<div class="card card-container">
<!-- <img class="profile-img-card" src="//lh3.googleusercontent.com/-6V8xOA6M7BA/AAAAAAAAAAI/AAAAAAAAAAA/rzlHcD0KYwo/photo.jpg?sz=120" alt="" /> -->
<div *ngIf="!customizationSettings.logo"><img id="profile-img" class="profile-img-card" src="{{baseUrl}}/images/ms-icon-150x150.png" /></div>
<div *ngIf="customizationSettings.logo"><img id="profile-img" class="center" [src]="customizationSettings.logo" /></div>
<div *ngIf="!customizationSettings.logo"><img id="profile-img" class="profile-img-card" src="{{baseUrl}}/images/logo.png"/></div>
<div *ngIf="customizationSettings.logo"><img id="profile-img" class="center" [src]="customizationSettings.logo" /></div>
<p id="profile-name" class="profile-name-card"></p>
<form class="form-signin" novalidate [formGroup]="form" (ngSubmit)="onSubmit(form)">
@ -32,4 +32,4 @@ include the remember me checkbox
</a>
</div><!-- /card-container -->
</div><!-- /container -->
</div>
</div>

Loading…
Cancel
Save