mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove not needed params
This commit is contained in:
@@ -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>
|
||||
|
@@ -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>
|
||||
|
||||
|
@@ -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>();
|
||||
|
Reference in New Issue
Block a user