remove not needed params

This commit is contained in:
Eugenio Romano
2018-09-25 21:54:35 +01:00
parent a0b452bf83
commit bb6bb4fe0f
3 changed files with 5 additions and 15 deletions

View File

@@ -3,9 +3,8 @@
[showRememberMe]="false"
[showLoginActions]="false"
[backgroundImageUrl]="''"
[showLoginButton]="false"
[showLogo]="false"
[showCopyright]="false"
(success)="onLoginSuccess($event)">
<login-header><ng-template></ng-template></login-header>
<login-footer><ng-template></ng-template></login-footer>
</adf-login>
</div>

View File

@@ -5,7 +5,7 @@
<mat-card class="adf-login-card-wide">
<form id="adf-login-form" [formGroup]="form" (submit)="onSubmit(form.value)" autocomplete="off">
<mat-card-header *ngIf="showLogo">
<mat-card-header>
<mat-card-title>
<div class="adf-alfresco-logo">
<!--HEADER TEMPLATE-->
@@ -79,7 +79,7 @@
<ng-content></ng-content>
<br>
<button *ngIf="showLoginButton" type="submit" id="login-button" tabindex="4"
<button type="submit" id="login-button" tabindex="4"
class="adf-login-button"
mat-raised-button color="primary"
[class.isChecking]="actualLoginStep === LoginSteps.Checking"
@@ -147,7 +147,7 @@
</form>
</mat-card>
<div *ngIf="showCopyright" class="copyright" data-automation-id="login-copyright">
<div class="copyright" data-automation-id="login-copyright">
{{ copyrightText }}
</div>

View File

@@ -108,15 +108,6 @@ export class LoginComponent implements OnInit {
@Input()
successRoute: string = null;
@Input()
showLoginButton = true;
@Input()
showLogo = true;
@Input()
showCopyright = true;
/** Emitted when the login is successful. */
@Output()
success = new EventEmitter<LoginSuccessEvent>();