Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
GFBio login now contains user info regarding SSO
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianBeilschmidt committed Oct 23, 2019
1 parent bfac777 commit eb29e86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/users/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
<mat-button-toggle value="system" fxFlex>System</mat-button-toggle>
<mat-button-toggle value="gfbio" fxFlex><img src="assets/logo_gfbio.png" alt="GFBio"></mat-button-toggle>
</mat-button-toggle-group>
<mat-card class="info" *ngIf="loginForm.controls.loginAuthority.value === 'gfbio'">
In case you are using the new GFBio Single Sign On, please login via <a href="https://www.gfbio.org">www.gfbio.org</a>.
You can still login with your legacy GFBio account.
</mat-card>
<mat-form-field>
<input matInput type="text" placeholder="Username" formControlName="username">
</mat-form-field>
Expand Down
4 changes: 4 additions & 0 deletions src/app/users/login/login.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ button {
color: mat-color(map-get($wave-app-theme, foreground), secondary-text);
margin-right: 1rem;
}

mat-card.info {
background-color: mat-color($wave-app-accent);
}

0 comments on commit eb29e86

Please sign in to comment.