|
@@ -1,7 +1,7 @@
|
|
|
<section>
|
|
|
<app-type-header> </app-type-header>
|
|
|
<div class="form-container">
|
|
|
- <form>
|
|
|
+ <form [formGroup]="form" (submit)="onSubmit()">
|
|
|
<p class="bold">Basic Information</p>
|
|
|
<div class="gap-36" fxLayout="row wrap" fxLayoutAlign="center start">
|
|
|
<div
|
|
@@ -15,7 +15,12 @@
|
|
|
<img src="assets/images/authorized_name.svg" alt="" title="" />
|
|
|
<span>First Name <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="first_name" placeholder="Enter your Name" />
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ id="first_name"
|
|
|
+ placeholder="Enter your Name"
|
|
|
+ formControlName="firstName"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div
|
|
|
class="form-input"
|
|
@@ -32,7 +37,12 @@
|
|
|
/>
|
|
|
<span>Birth Date<span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="birth_date" placeholder="Select Date" />
|
|
|
+ <input
|
|
|
+ type="date"
|
|
|
+ id="birth_date"
|
|
|
+ placeholder="Select Date"
|
|
|
+ formControlName="dateOfBirth"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div
|
|
|
class="form-input"
|
|
@@ -45,7 +55,12 @@
|
|
|
<img src="assets/images/id-card-svgrepo-com.svg" alt="" title="" />
|
|
|
<span>ID Number <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="tax_no" placeholder="ID Number" />
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ id="tax_no"
|
|
|
+ placeholder="ID Number"
|
|
|
+ formControlName="idNumber"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="gap-36 mt-2" fxLayout="row wrap" fxLayoutAlign="center start">
|
|
@@ -64,6 +79,7 @@
|
|
|
type="text"
|
|
|
placeholder="Enter your last name"
|
|
|
id="last_name"
|
|
|
+ formControlName="lastName"
|
|
|
/>
|
|
|
</div>
|
|
|
<div
|
|
@@ -74,10 +90,19 @@
|
|
|
fxFlex.gt-sm="31"
|
|
|
>
|
|
|
<label for="email">
|
|
|
- <img src="assets/images/email-9-svgrepo-com" alt="" title="" />
|
|
|
+ <img
|
|
|
+ src="assets/images/email-9-svgrepo-com (2).svg"
|
|
|
+ alt=""
|
|
|
+ title=""
|
|
|
+ />
|
|
|
<span>Email<span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="email" id="email" placeholder="Enter your email" />
|
|
|
+ <input
|
|
|
+ type="email"
|
|
|
+ id="email"
|
|
|
+ placeholder="Enter your email"
|
|
|
+ formControlName="email"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div
|
|
|
class="form-input"
|
|
@@ -87,14 +112,15 @@
|
|
|
fxFlex.gt-sm="31"
|
|
|
>
|
|
|
<label for="passprt">
|
|
|
- <img
|
|
|
- src="../../../../assets/images/passport-svgrepo-com.svg"
|
|
|
- alt=""
|
|
|
- title=""
|
|
|
- />
|
|
|
+ <img src="assets/images/passport-svgrepo-com.svg" alt="" title="" />
|
|
|
<span>Passport Number <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="postal" placeholder="Passport Number" />
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ id="postal"
|
|
|
+ placeholder="Passport Number"
|
|
|
+ formControlName="passportNumber"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -114,6 +140,7 @@
|
|
|
type="text"
|
|
|
placeholder="Enter your Favorite Name"
|
|
|
id="favourite_name"
|
|
|
+ formControlName="favoriteName"
|
|
|
/>
|
|
|
</div>
|
|
|
<div
|
|
@@ -131,7 +158,12 @@
|
|
|
/>
|
|
|
<span>Mobile Number <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="mobile_number" placeholder="Mobile Number" />
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ id="mobile_number"
|
|
|
+ placeholder="Mobile Number"
|
|
|
+ formControlName="phoneNumber"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div
|
|
|
class="form-input"
|
|
@@ -141,11 +173,7 @@
|
|
|
fxFlex.gt-sm="31"
|
|
|
>
|
|
|
<label for="tax_decoration">
|
|
|
- <img
|
|
|
- src="../../../../assets/images/tax-fee-svgrepo-com.svg"
|
|
|
- alt=""
|
|
|
- title=""
|
|
|
- />
|
|
|
+ <img src="assets/images/tax-fee-svgrepo-com.svg" alt="" title="" />
|
|
|
<span>Tax Decoration <span class="red">*</span></span>
|
|
|
</label>
|
|
|
<div fxLayout="row wrap" fxLayoutAlign="start center" class="gap-10">
|
|
@@ -154,18 +182,77 @@
|
|
|
id="tax_decoration_number"
|
|
|
placeholder="number"
|
|
|
class="decoration"
|
|
|
+ formControlName="taxNumber"
|
|
|
/>
|
|
|
<input
|
|
|
type="text"
|
|
|
id="tax_decoration_value"
|
|
|
placeholder="value"
|
|
|
class="decoration"
|
|
|
+ formControlName="incomeTaxValue"
|
|
|
/>
|
|
|
<input type="text" class="calc" placeholder="0.0" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <div class="gap-36 mt-2" fxLayout="row wrap" fxLayoutAlign="center start">
|
|
|
+ <div
|
|
|
+ class="form-input"
|
|
|
+ fxLayout="column"
|
|
|
+ fxLayoutAlign="start stretch"
|
|
|
+ fxFlex.lt-md="45"
|
|
|
+ fxFlex.gt-sm="31"
|
|
|
+ >
|
|
|
+ <label for="country">
|
|
|
+ <img src="assets/images/authorized_name.svg" alt="" title="" />
|
|
|
+ <span>User Name <span class="red">*</span></span>
|
|
|
+ </label>
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ placeholder="Enter your user name"
|
|
|
+ id="user_name"
|
|
|
+ formControlName="userName"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="form-input"
|
|
|
+ fxLayout="column"
|
|
|
+ fxLayoutAlign="start stretch"
|
|
|
+ fxFlex.lt-md="45"
|
|
|
+ fxFlex.gt-sm="31"
|
|
|
+ >
|
|
|
+ <label for="password">
|
|
|
+ <img src="../../../../assets/images/password.jpg" alt="" title="" />
|
|
|
+ <span>Password<span class="red">*</span></span>
|
|
|
+ </label>
|
|
|
+ <input
|
|
|
+ type="password"
|
|
|
+ id="password"
|
|
|
+ placeholder="Enter your password"
|
|
|
+ formControlName="password"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="form-input"
|
|
|
+ fxLayout="column"
|
|
|
+ fxLayoutAlign="start stretch"
|
|
|
+ fxFlex.lt-md="45"
|
|
|
+ fxFlex.gt-sm="31"
|
|
|
+ >
|
|
|
+ <label for="linkedInLink">
|
|
|
+ <img src="assets/images/passport-svgrepo-com.svg" alt="" title="" />
|
|
|
+ <span>LinkedIn Url <span class="red">*</span></span>
|
|
|
+ </label>
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ id="linkedInLink"
|
|
|
+ placeholder="Enter Linkedin url"
|
|
|
+ formControlName="linkedInLink"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<p class="bold mt-3">Education & Qualifications</p>
|
|
|
<div class="gap-36" fxLayout="row wrap" fxLayoutAlign="start start">
|
|
|
<div
|
|
@@ -176,15 +263,32 @@
|
|
|
fxFlex.gt-sm="31"
|
|
|
>
|
|
|
<label for="qualification">
|
|
|
- <img
|
|
|
- src="../../../../assets/images/speaker-svgrepo-com.svg"
|
|
|
- alt=""
|
|
|
- title=""
|
|
|
- />
|
|
|
+ <img src="assets/images/speaker-svgrepo-com.svg" alt="" title="" />
|
|
|
<span>Qualification <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <select id="qualification">
|
|
|
- <!-- <option disabled selected>Select your country</option> -->
|
|
|
+ <select id="qualification" formControlName="qualificationId">
|
|
|
+ <option selected value="null" disabled>Select Qulification</option>
|
|
|
+ <option *ngFor="let item of qualificationList" [value]="item.id">
|
|
|
+ {{ item.nameEn }}
|
|
|
+ </option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="form-input"
|
|
|
+ fxLayout="column"
|
|
|
+ fxLayoutAlign="start stretch"
|
|
|
+ fxFlex.lt-md="45"
|
|
|
+ fxFlex.gt-sm="31"
|
|
|
+ >
|
|
|
+ <label for="industry">
|
|
|
+ <img src="assets/images/speaker-svgrepo-com.svg" alt="" title="" />
|
|
|
+ <span>Industry <span class="red">*</span></span>
|
|
|
+ </label>
|
|
|
+ <select id="industry" formControlName="industryId">
|
|
|
+ <option selected value="null" disabled>Select Industry</option>
|
|
|
+ <option *ngFor="let item of industriesList" [value]="item.id">
|
|
|
+ {{ item.nameEn }}
|
|
|
+ </option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div
|
|
@@ -202,11 +306,14 @@
|
|
|
/>
|
|
|
<span>University <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input
|
|
|
- type="text"
|
|
|
- id="university"
|
|
|
- placeholder="Enter your university name"
|
|
|
- />
|
|
|
+ <select id="university" formControlName="universityId">
|
|
|
+ <option [value]="null" disabled selected>
|
|
|
+ Select your university
|
|
|
+ </option>
|
|
|
+ <option *ngFor="let item of univerisites" [value]="item.id">
|
|
|
+ {{ item.nameEn }}
|
|
|
+ </option>
|
|
|
+ </select>
|
|
|
</div>
|
|
|
<div
|
|
|
class="form-input"
|
|
@@ -219,12 +326,22 @@
|
|
|
<img src="assets/images/work-svgrepo-com.svg" alt="" title="" />
|
|
|
<span>Job Title <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="job_title" placeholder="Job Title" />
|
|
|
+ <select id="job_title" formControlName="jobTitleId">
|
|
|
+ <option selected value="null" disabled>Select job title</option>
|
|
|
+ <option *ngFor="let jobTitle of jobTitles" [value]="jobTitle.id">
|
|
|
+ {{ jobTitle.nameEn }}
|
|
|
+ </option>
|
|
|
+ </select>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<p class="bold mt-3">Address</p>
|
|
|
- <div class="gap-36" fxLayout="row wrap" fxLayoutAlign="start start">
|
|
|
+ <div
|
|
|
+ class="gap-36"
|
|
|
+ fxLayout="row wrap"
|
|
|
+ fxLayoutAlign="start start"
|
|
|
+ formGroupName="userAddress"
|
|
|
+ >
|
|
|
<div
|
|
|
class="form-input"
|
|
|
fxLayout="column"
|
|
@@ -233,11 +350,16 @@
|
|
|
fxFlex.gt-sm="31"
|
|
|
>
|
|
|
<label for="country">
|
|
|
- <img src="../../../../assets/images/country.svg" alt="" title="" />
|
|
|
+ <img src="assets/images/country.svg" alt="" title="" />
|
|
|
<span>Country <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <select id="country">
|
|
|
- <!-- <option disabled selected>Select your country</option> -->
|
|
|
+ <select id="country" formControlName="countryId">
|
|
|
+ <option disabled selected [value]="null">
|
|
|
+ Select your country
|
|
|
+ </option>
|
|
|
+ <option *ngFor="let country of countries" [value]="country.id">
|
|
|
+ {{ country.nameEn }}>
|
|
|
+ </option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<div
|
|
@@ -248,10 +370,12 @@
|
|
|
fxFlex.gt-sm="31"
|
|
|
>
|
|
|
<label for="city">
|
|
|
- <img src="../../../../assets/images/city.svg" alt="" title="" />
|
|
|
+ <img src="assets/images/city.svg" alt="" title="" />
|
|
|
<span>City<span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="city" placeholder="Enter your city" />
|
|
|
+ <select id="city" formControlName="cityId">
|
|
|
+ <!-- <option disabled selected>Select your country</option> -->
|
|
|
+ </select>
|
|
|
</div>
|
|
|
<div
|
|
|
class="form-input"
|
|
@@ -261,23 +385,37 @@
|
|
|
fxFlex.gt-sm="31"
|
|
|
>
|
|
|
<label for="postal">
|
|
|
- <img src="../../../../assets/images/postal.svg" alt="" title="" />
|
|
|
+ <img src="assets/images/postal.svg" alt="" title="" />
|
|
|
<span>Postal Code <span class="red">*</span></span>
|
|
|
</label>
|
|
|
- <input type="text" id="postal" placeholder="Postal code" />
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ id="postal"
|
|
|
+ placeholder="Postal code"
|
|
|
+ formControlName="postalCode"
|
|
|
+ />
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="mt-2">
|
|
|
- <div class="form-input" fxLayout="column" fxLayoutAlign="start stretch">
|
|
|
- <label for="address">
|
|
|
- <img
|
|
|
- src="../../../../assets/images/country-direction-location-map-navigation-pin-svgrepo-com.svg"
|
|
|
- alt=""
|
|
|
- title=""
|
|
|
+ <div class="mt-2" fxFlex.lt-md="100" fxFlex.gt-sm="100">
|
|
|
+ <div
|
|
|
+ class="form-input"
|
|
|
+ fxLayout="column"
|
|
|
+ fxLayoutAlign="start stretch"
|
|
|
+ >
|
|
|
+ <label for="address">
|
|
|
+ <img
|
|
|
+ src="assets/images/country-direction-location-map-navigation-pin-svgrepo-com.svg"
|
|
|
+ alt=""
|
|
|
+ title=""
|
|
|
+ />
|
|
|
+ <span>Address<span class="red">*</span></span>
|
|
|
+ </label>
|
|
|
+ <input
|
|
|
+ type="text"
|
|
|
+ id="address"
|
|
|
+ placeholder="Address"
|
|
|
+ formControlName="addressDesc"
|
|
|
/>
|
|
|
- <span>Address<span class="red">*</span></span>
|
|
|
- </label>
|
|
|
- <input type="text" id="address" placeholder="Address" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -305,23 +443,38 @@
|
|
|
>
|
|
|
<div fxFlex.lt-md="45" fxFlex.gt-sm="23.5">
|
|
|
<p class="bold">CV</p>
|
|
|
- <app-file-upload />
|
|
|
+ <app-file-upload
|
|
|
+ (uploadFile)="onUploadFile($event)"
|
|
|
+ name="cvAttach"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div fxFlex.lt-md="45" fxFlex.gt-sm="23.5">
|
|
|
<p class="bold">Passport</p>
|
|
|
- <app-file-upload />
|
|
|
+ <app-file-upload
|
|
|
+ (uploadFile)="onUploadFile($event)"
|
|
|
+ name="passportAttach"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div fxFlex.lt-md="45" fxFlex.gt-sm="23.5">
|
|
|
<p class="bold">Educational Certification</p>
|
|
|
- <app-file-upload />
|
|
|
+ <app-file-upload
|
|
|
+ (uploadFile)="onUploadFile($event)"
|
|
|
+ name="eduCertificateAttach"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div fxFlex.lt-md="45" fxFlex.gt-sm="23.5">
|
|
|
<p class="bold">Experience Certification</p>
|
|
|
- <app-file-upload />
|
|
|
+ <app-file-upload
|
|
|
+ (uploadFile)="onUploadFile($event)"
|
|
|
+ name="experienceCertificateAttach"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div fxFlex.lt-md="45" fxFlex.gt-sm="23.5">
|
|
|
<p class="bold">Professional Certification</p>
|
|
|
- <app-file-upload />
|
|
|
+ <app-file-upload
|
|
|
+ (uploadFile)="onUploadFile($event)"
|
|
|
+ name="profCertificateAttach"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -332,7 +485,7 @@
|
|
|
<span><a>the terms and conditions for use.</a></span>
|
|
|
</span></mat-checkbox
|
|
|
>
|
|
|
- <button type="submit" [routerLink]="['/']">Sign Up</button>
|
|
|
+ <button type="submit">Sign Up</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|