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"
|
[showRememberMe]="false"
|
||||||
[showLoginActions]="false"
|
[showLoginActions]="false"
|
||||||
[backgroundImageUrl]="''"
|
[backgroundImageUrl]="''"
|
||||||
[showLoginButton]="false"
|
|
||||||
[showLogo]="false"
|
|
||||||
[showCopyright]="false"
|
|
||||||
(success)="onLoginSuccess($event)">
|
(success)="onLoginSuccess($event)">
|
||||||
|
<login-header><ng-template></ng-template></login-header>
|
||||||
|
<login-footer><ng-template></ng-template></login-footer>
|
||||||
</adf-login>
|
</adf-login>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
<mat-card class="adf-login-card-wide">
|
<mat-card class="adf-login-card-wide">
|
||||||
<form id="adf-login-form" [formGroup]="form" (submit)="onSubmit(form.value)" autocomplete="off">
|
<form id="adf-login-form" [formGroup]="form" (submit)="onSubmit(form.value)" autocomplete="off">
|
||||||
|
|
||||||
<mat-card-header *ngIf="showLogo">
|
<mat-card-header>
|
||||||
<mat-card-title>
|
<mat-card-title>
|
||||||
<div class="adf-alfresco-logo">
|
<div class="adf-alfresco-logo">
|
||||||
<!--HEADER TEMPLATE-->
|
<!--HEADER TEMPLATE-->
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
<ng-content></ng-content>
|
<ng-content></ng-content>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<button *ngIf="showLoginButton" type="submit" id="login-button" tabindex="4"
|
<button type="submit" id="login-button" tabindex="4"
|
||||||
class="adf-login-button"
|
class="adf-login-button"
|
||||||
mat-raised-button color="primary"
|
mat-raised-button color="primary"
|
||||||
[class.isChecking]="actualLoginStep === LoginSteps.Checking"
|
[class.isChecking]="actualLoginStep === LoginSteps.Checking"
|
||||||
@@ -147,7 +147,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
|
||||||
<div *ngIf="showCopyright" class="copyright" data-automation-id="login-copyright">
|
<div class="copyright" data-automation-id="login-copyright">
|
||||||
{{ copyrightText }}
|
{{ copyrightText }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -108,15 +108,6 @@ export class LoginComponent implements OnInit {
|
|||||||
@Input()
|
@Input()
|
||||||
successRoute: string = null;
|
successRoute: string = null;
|
||||||
|
|
||||||
@Input()
|
|
||||||
showLoginButton = true;
|
|
||||||
|
|
||||||
@Input()
|
|
||||||
showLogo = true;
|
|
||||||
|
|
||||||
@Input()
|
|
||||||
showCopyright = true;
|
|
||||||
|
|
||||||
/** Emitted when the login is successful. */
|
/** Emitted when the login is successful. */
|
||||||
@Output()
|
@Output()
|
||||||
success = new EventEmitter<LoginSuccessEvent>();
|
success = new EventEmitter<LoginSuccessEvent>();
|
||||||
|
Reference in New Issue
Block a user