|
@@ -12,59 +12,143 @@
|
|
|
<form (ngSubmit)="next()" #f="ngForm">
|
|
|
<div class="row">
|
|
|
|
|
|
+ <div class="col-12 col-sm-12 col-md-12 col-lg-12" style="margin-bottom:30px">
|
|
|
+ <div class="form-group text-center imgContainer">
|
|
|
+ <img [src]="urlImg" class="imgProfile" height="200">
|
|
|
+ <input type="file" name="file" id="file" class="inputfile" alife-file-to-base64 (onFileChanged)="onFileChanges($event)" (change)="getUrl($event)" />
|
|
|
+ <label for="file" class="iconUpload-w"><i class="fas fa-upload"></i></label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="name" >Company Name<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="text" class="form-control" id="name" name="name" placeholder="Company name" ngModel [ngModel]="" required/>
|
|
|
+ <input type="text" class="form-control" id="name" name="name" placeholder="Company name" ngModel [(ngModel)]="formData.name" required/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-md-4">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="access_of_multiple_sites" >Number of branches<span class="spanReqired-w">*</span></label>
|
|
|
+ <input type="number" class="form-control" id="access_of_multiple_sites" minlength="0" name="access_of_multiple_sites" placeholder="" ngModel [(ngModel)]="formData.access_of_multiple_sites" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="address" >Address<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="text" class="form-control" id="address" name="address" placeholder="company address" ngModel [ngModel]="" required/>
|
|
|
+ <input type="text" class="form-control" id="address" name="address" placeholder="company address" ngModel [(ngModel)]="formData.address" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="website_address">Website<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="text" class="form-control" id="website_address" name="website_address" placeholder="website link" ngModel [ngModel]="" required/>
|
|
|
+ <input type="text" class="form-control" id="website_address" name="website_address" placeholder="website link" ngModel [(ngModel)]="formData.website_address" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="phone" >Phone Number<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="phone" class="form-control" id="phone" name="phone" placeholder="" ngModel [ngModel]="" required/>
|
|
|
+ <input type="number" class="form-control" id="phone" name="phone" placeholder="" minlength="0" ngModel [(ngModel)]="formData.phone" required/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-md-4">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="total_users_request" >Number of users<span class="spanReqired-w">*</span></label>
|
|
|
+ <input type="number" class="form-control" id="total_users_request" name="total_users_request" placeholder="" minlength="0" ngModel [(ngModel)]="formData.total_users_request" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="commercial_number" >commercial no.<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="number" class="form-control" id="commercial_number" name="commercial_number" placeholder="" ngModel [ngModel]="" required/>
|
|
|
+ <input type="number" class="form-control" id="commercial_number" name="commercial_number" placeholder="" ngModel [(ngModel)]="formData.commercial_number" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="industrial" >Industrial<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="text" class="form-control" id="industrial" name="industrial" placeholder="" ngModel [ngModel]="" required/>
|
|
|
+ <input type="text" class="form-control" id="industrial" name="industrial" placeholder="" ngModel [(ngModel)]="formData.industrial" required/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-md-4">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="http_host_demo" >Host Name<span class="spanReqired-w">*</span></label>
|
|
|
+ <input type="text" class="form-control" id="http_host_demo" name="http_host_demo" placeholder="example.com" ngModel [(ngModel)]="formData.http_host_demo" required/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-md-4">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="" >Version Number<span class="spanReqired-w">*</span></label>
|
|
|
+ <input type="text" class="form-control" id="version_number" name="version_number" placeholder="" ngModel [(ngModel)]="formData.version_number" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
+ <div class="form-group ">
|
|
|
+ <span class="spanSelect-w">
|
|
|
+ <div class="col-12">
|
|
|
+ <span class="select-filter-before" style="margin-bottom: 10px">Pick the theme:</span>
|
|
|
+ </div>
|
|
|
+ <div class="col-12" style="margin-top: 10px;padding-left: 0px;">
|
|
|
+ <select [(ngModel)]="formData.theme_id" class="form-control " name="theme_id" style="width: 100%" (input)="setThemsId($event)" >
|
|
|
+ <option value="" disabled selected>Choose your theme</option>
|
|
|
+ <option [value]="them.id" *ngFor="let them of themes">{{ them.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-md-4">
|
|
|
+ <div class="form-group ">
|
|
|
+ <span class="spanSelect-w">
|
|
|
+ <div class="col-12">
|
|
|
+ <span class="select-filter-before" style="margin-bottom: 10px">Pick the font family:</span>
|
|
|
+ </div>
|
|
|
+ <div class="col-12" style="margin-top: 10px;padding-left: 0px;">
|
|
|
+ <select [(ngModel)]="formData.font_id" class="form-control" name="font_id" style="width: 100%" (input)="setFontId($event)" >
|
|
|
+ <option value="" disabled selected>Choose your font family</option>
|
|
|
+ <option [value]="font.id" *ngFor="let font of fonts">{{ font.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-md-4">
|
|
|
+ <div class="form-group ">
|
|
|
+ <span class="spanSelect-w">
|
|
|
+ <div class="col-12">
|
|
|
+ <span class="select-filter-before" style="margin-bottom: 10px">Pick the font family:</span>
|
|
|
+ </div>
|
|
|
+ <div class="col-12" style="margin-top: 10px;padding-left: 0px;">
|
|
|
+ <select name="languages_id" class="form-control" style="width: 100%" (input)="setLangId($event)">
|
|
|
+ <option value="" disabled selected>Choose languages</option>
|
|
|
+ <option [value]="lang.id" *ngFor="let lang of languages">{{ lang.name }}</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="register_date" >Register Date<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="date" class="form-control" id="register_date" name="register_date" placeholder="" ngModel [ngModel]="" required/>
|
|
|
+ <input type="date" class="form-control" id="register_date" name="register_date" placeholder="" ngModel [(ngModel)]="formData.register_date" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12 col-md-4">
|
|
|
<div class="form-group">
|
|
|
<label for="expire_date" >Expire Date<span class="spanReqired-w">*</span></label>
|
|
|
- <input type="date" class="form-control" id="expire_date" name="expire_date" placeholder="" ngModel [ngModel]="" required/>
|
|
|
+ <input type="date" class="form-control" id="expire_date" name="expire_date" placeholder="" ngModel [(ngModel)]="formData.expire_date" required/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|