Internationnalisation de la page de login
This commit is contained in:
@@ -1,14 +1,28 @@
|
||||
<div class="content">
|
||||
<mat-card style="max-width: 500px;" flex="50">
|
||||
<mat-card-header style="padding:10px; background-color: rgba(0,0,0,.03);">
|
||||
<mat-card-title>Login to the Skydive log</mat-card-title>
|
||||
<mat-card-title>{{ 'Login_Title' | translate }}</mat-card-title>
|
||||
|
||||
<mat-select (selectionChange)="switchLang($event)" [(value)]="selectedLanguageFlag"
|
||||
style="width: 40px;" >
|
||||
<mat-select-trigger>
|
||||
<img src="{{ 'assets/img/' + selectedLanguageFlag + '.svg' }}" style="width: 15px;">
|
||||
</mat-select-trigger>
|
||||
<mat-option value="fr" style="width: 50px;">
|
||||
<img src="assets/img/fr.svg" style="width: 15px;">
|
||||
</mat-option>
|
||||
<mat-option value="en" style="width: 50px;">
|
||||
<img src="assets/img/en.svg" style="width: 15px;">
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
</mat-card-header>
|
||||
|
||||
<mat-card-content>
|
||||
<mat-tab-group mat-align-tabs="center" animationDuration="0ms">
|
||||
<mat-tab label="Login with a user" tabIndex="-1">
|
||||
<mat-tab label="{{ 'Login_Tab_WithUser' | translate }}" tabIndex="-1">
|
||||
<app-login-user></app-login-user>
|
||||
</mat-tab>
|
||||
<mat-tab label="Create and login a user" tabIndex="-1">
|
||||
<mat-tab label="{{ 'Login_Tab_CreateUser' | translate }}" tabIndex="-1">
|
||||
<app-create-user></app-create-user>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
||||
|
||||
Reference in New Issue
Block a user