design inscription/login fix
commit
9bc32d9451
@ -0,0 +1,51 @@
|
||||
//nouvelle operation commercial / nouvelle carte
|
||||
export class CarteParrainage
|
||||
{
|
||||
uid: string;
|
||||
avantageParrain: string;
|
||||
avantageFilleul: string;
|
||||
avantageCumule: string;
|
||||
avantageRecuperer: string;
|
||||
avantageXJC: string;
|
||||
commercantID: string;
|
||||
parrainID: string;
|
||||
carteTemplate: string;
|
||||
carteId: string;
|
||||
status: string;
|
||||
dateDebut: Date;
|
||||
dateFin: Date;
|
||||
|
||||
constructor() {
|
||||
this.uid = '';
|
||||
this.avantageParrain = '';
|
||||
this.avantageFilleul = '';
|
||||
this.avantageCumule = '';
|
||||
this.avantageRecuperer = '';
|
||||
this.avantageXJC = '';
|
||||
this.commercantID = '';
|
||||
this.parrainID = '';
|
||||
this.carteTemplate = '';
|
||||
this.carteId = '';
|
||||
this.status = '';
|
||||
this.dateDebut = new Date();
|
||||
this.dateFin = new Date();
|
||||
}
|
||||
/*
|
||||
addParrain(addStatus, addEmail, addFamilyname, addFirstname) {
|
||||
this.uid = '';
|
||||
this.email = addEmail;
|
||||
this.emailVerified = false;
|
||||
this.password = '';
|
||||
this.familyname = addFamilyname;
|
||||
this.firstname = addFirstname;
|
||||
this.username = '';
|
||||
this.birthday = new Date();
|
||||
this.idCard = '';
|
||||
this.secretCode = '';
|
||||
this.status = addStatus;
|
||||
}
|
||||
welcome() {
|
||||
console.log('Hi, ' + this.firstname + '!');
|
||||
}
|
||||
*/
|
||||
}
|
@ -1,34 +1,50 @@
|
||||
<div class="card">
|
||||
<div class="well">
|
||||
<p class="h5 text-center mb-4">Sign up</p>
|
||||
|
||||
<div class="md-form">
|
||||
<i class="fa fa-user prefix grey-text"></i>
|
||||
<input type="text" id="orangeForm-Familyname" [(ngModel)]="currentUser.familyname" placeholder="Your family name">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-user prefix grey-text"></i>
|
||||
<input type="text" id="orangeForm-Firstname" [(ngModel)]="currentUser.firstname" placeholder="Your firstname">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-user prefix grey-text"></i>
|
||||
<input type="text" id="orangeForm-Username" [(ngModel)]="currentUser.username" placeholder="User name">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<input type="text" type="date" id="orangeForm-Birthday" [(ngModel)]="currentUser.birthday" placeholder="Birthday..">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-envelope prefix grey-text"></i>
|
||||
<input type="email" id="orangeForm-email" [(ngModel)]="currentUser.email" placeholder="Your email">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-lock prefix grey-text"></i>
|
||||
<input id="orangeForm-pass" type="password" [(ngModel)]="currentUser.password" placeholder="Your password">
|
||||
</div>
|
||||
<div class="text-center" style="margin-top:5%">
|
||||
<button class="btn btn-deep-orange" (click)="register()">Sign up</button>
|
||||
<button class="btn btn-cyan" (click)="loadHomeComponent()">Back</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="well">
|
||||
<p class="h5 text-center mb-4">Sign up</p>
|
||||
|
||||
<div class="md-form">
|
||||
<i class="fa fa-user prefix grey-text"></i>
|
||||
<input type="text" id="orangeForm-Familyname" [(ngModel)]="currentUser.familyname" placeholder="Your family name">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-user prefix grey-text"></i>
|
||||
<input type="text" id="orangeForm-Firstname" [(ngModel)]="currentUser.firstname" placeholder="Your firstname">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-user prefix grey-text"></i>
|
||||
<input type="text" id="orangeForm-Username" [(ngModel)]="currentUser.username" placeholder="User name">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<input type="text" type="date" id="orangeForm-Birthday" [(ngModel)]="currentUser.birthday" placeholder="Birthday..">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-envelope prefix grey-text"></i>
|
||||
<input type="email" id="orangeForm-email" [(ngModel)]="currentUser.email" placeholder="Your email">
|
||||
</div>
|
||||
<div class="md-form">
|
||||
<i class="fa fa-lock prefix grey-text"></i>
|
||||
<input id="orangeForm-pass" type="password" [(ngModel)]="currentUser.password" placeholder="Your password">
|
||||
</div>
|
||||
|
||||
<div class="md-form">
|
||||
<input name="group2" type="radio" class="with-gap" id="client">
|
||||
<label for="client">Client</label>
|
||||
</div>
|
||||
|
||||
<div class="md-form">
|
||||
<input name="group2" type="radio" class="with-gap" id="commercant">
|
||||
<label for="commercant">Commercant</label>
|
||||
</div>
|
||||
|
||||
<label>
|
||||
En cliquant sur Créer un compte, vous acceptez nos Conditions
|
||||
et indiquez que vous aves lu notre Politique d'utilisation des
|
||||
données, y compris notre Utilisation des cookies.
|
||||
</label>
|
||||
<div class="text-center" style="margin-top:5%">
|
||||
<button class="btn btn-deep-orange" (click)="register()">Sign up</button>
|
||||
<button class="btn btn-cyan" (click)="loadHomeComponent()">Back</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue