Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #125 from mirelanemes/master
Browse files Browse the repository at this point in the history
bugfix #121 - Username schimbat in Email
  • Loading branch information
gheorghelupu17 authored Feb 5, 2020
2 parents 069aa19 + 35796b3 commit 8961a92
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
mkdir "$SSH_PATH"
echo "$DEPLOY_KEY" > "$SSH_PATH/deploy_key"
chmod 600 "$SSH_PATH/deploy_key"
sh -c "rsync -rvz --omit-dir-times -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no' $DEPLOY_FOLDER $RVM_USERNAME@$RVM_MACHINE:/var/www/html/"
sh -c "rsync -rvz --omit-dir-times -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no' $DEPLOY_FOLDER $RVM_USERNAME@$RVM_MACHINE:/var/www/html/"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can also list any pending features and planned improvements for the project

### Programming languages

JavaScript
TypeScript

### Platforms

Expand Down
76 changes: 35 additions & 41 deletions src/app/pages/authentication/login/login.component.html
Original file line number Diff line number Diff line change
@@ -1,42 +1,36 @@
<section id="wrapper" class="login-register login-sidebar">
<!-- <div class="col-md-2 col-sm-1">&nbsp;</div> -->
<div class="logo-container col-md-12 col-sm-12 col-xs-12">
<img src="./../../../../assets/images/DSU_logo.PNG" />
</div>
<!-- <div class="col-md-2 col-sm-1">&nbsp;</div> -->
<div class="login-box col-md-12 col-sm-12 col-xs-12">
<div class="card-body">
<form autocomplete="off" [formGroup]="loginForm" (ngSubmit)="login()" class="form-horizontal form-material"
id="loginform" novalidate>
<div class="form-group mt-4">
<div class="col-xs-12">
<input formControlName="email" autocomplete="new-password" class="form-control" type="text"
placeholder="Nume Utilizator" />
</div>
</div>
<div class="form-group">
<div class="col-xs-12">
<input autocomplete="new-password" formControlName="password" class="form-control"
type="password" placeholder="Parola" />
</div>
</div>
<ngb-alert *ngIf="errorMessage" class="error-message" type="success" (close)="successMessage = null">
{{ errorMessage }}</ngb-alert>
<div class="form-group text-center mt-4">
<div class="col-xs-12">
<button class="btn button-login btn-lg btn-block text-uppercase waves-effect waves-light"
type="submit" [disabled]="loginForm.invalid || isLoading">
<app-button-loader [isLoading]="isLoading" [label]="'Login'"></app-button-loader>
</button>
</div>
</div>
</form>
</div>
</div>
<section id="wrapper" class="login-register login-sidebar row">
<!-- <div class="col-md-2 col-sm-1">&nbsp;</div> -->
<div class="logo-container col-md-12 col-sm-12 col-xs-12">
<img src="../../../assets/images/dsu.jpg"/>
</div>
<!-- <div class="col-md-2 col-sm-1">&nbsp;</div> -->
<div class="login-box col-md-12">
<div class="card-body">
<form autocomplete="off" [formGroup]="loginForm" (ngSubmit)="login()" class="form-horizontal form-material" id="loginform" novalidate>
<div class="form-group mt-4">
<div class="col-xs-12">
<app-form-error-wrapper [control]="loginForm.controls['email']" [controlName]="'email'">
<input autocomplete="email" class="form-control" type="email" formControlName="email" placeholder="Email Utilizator">
</app-form-error-wrapper>
</div>
</div>
<div class="form-group">
<div class="col-xs-12">
<app-form-error-wrapper [control]="loginForm.controls['password']" [controlName]="'Password'">
<input autocomplete="new-password" class="form-control" type="password" formControlName="password" placeholder="Parola">
</app-form-error-wrapper>
</div>
</div>
<div class="form-group text-center mt-4">
<div class="col-xs-12">
<button class="btn button-login btn-lg btn-block text-uppercase waves-effect waves-light" (click)="login()" [disabled]="loginForm.invalid || isLoading">
<app-button-loader [isLoading]="isLoading" [label]="'Login'"></app-button-loader>
</button>
</div>
</div>

</form>
</div>
</div>
</section>

<div class="d-flex my-5">
<a [routerLink]="['/recover']" class="navigation">
Am uitat parola
</a>
</div>
</section>

0 comments on commit 8961a92

Please sign in to comment.