2018-05-28 10:28:26 +00:00
|
|
|
<p-dialog
|
|
|
|
header="Terms Of Use"
|
|
|
|
[modal]="true"
|
|
|
|
[width]="800"
|
|
|
|
[(visible)]="termsDisplay"
|
|
|
|
[showHeader]="true"
|
|
|
|
[closeOnEscape]="false">
|
2018-05-29 09:32:22 +00:00
|
|
|
<of-member-terms (close)="termsDisplay = false"></of-member-terms>
|
2018-05-03 07:19:10 +00:00
|
|
|
</p-dialog>
|
2018-05-28 10:28:26 +00:00
|
|
|
<p-dialog
|
|
|
|
header="Privacy Policy Info"
|
|
|
|
[modal]="true"
|
|
|
|
[width]="800"
|
|
|
|
[(visible)]="policyDisplay"
|
|
|
|
[showHeader]="true"
|
|
|
|
[closeOnEscape]="false">
|
2018-05-29 09:32:22 +00:00
|
|
|
<of-member-policy (close)="policyDisplay = false"></of-member-policy>
|
|
|
|
</p-dialog>
|
|
|
|
|
|
|
|
<p-dialog
|
|
|
|
header="Membership is welcome."
|
|
|
|
[modal]="true"
|
|
|
|
[width]="800"
|
|
|
|
[(visible)]="signupComplete"
|
|
|
|
[showHeader]="true"
|
|
|
|
[closeOnEscape]="false"
|
|
|
|
(onHide)="closeSignup()">
|
|
|
|
<div>Membership is welcome. </div>
|
2018-05-03 07:19:10 +00:00
|
|
|
</p-dialog>
|
|
|
|
|
|
|
|
|
2018-05-16 08:14:43 +00:00
|
|
|
|
|
|
|
<div class="ui-g">
|
2018-05-28 10:28:26 +00:00
|
|
|
<div class="ui-g-12 ui-md-9 ui-lg-7">
|
|
|
|
<form [formGroup]="signupForm" (ngSubmit)="signupFormSubmit()">
|
|
|
|
<table class="login-table">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<div class="login-panel ui-fluid">
|
|
|
|
<div class="ui-g">
|
|
|
|
<div class="ui-g-12">
|
|
|
|
<img src="assets/layout/images/overFlow_CI_blue_185.png">
|
|
|
|
</div>
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<span class="md-inputfield">
|
|
|
|
<input type="email"
|
|
|
|
id="email"
|
|
|
|
pInputText
|
|
|
|
class="input ng-dirty ng-invalid"
|
|
|
|
placeholder="Email"
|
|
|
|
formControlName="email"
|
|
|
|
required
|
2018-05-29 09:32:22 +00:00
|
|
|
/>
|
2018-05-28 10:28:26 +00:00
|
|
|
<div *ngIf="email.touched && !email.valid" class="ui-message ui-messages-error ui-corner-all">
|
|
|
|
Invalid email
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<span class="md-inputfield">
|
|
|
|
<input type="password"
|
|
|
|
id="password"
|
|
|
|
pInputText
|
|
|
|
class="input ng-dirty ng-invalid"
|
|
|
|
placeholder="Password"
|
|
|
|
formControlName="password"
|
|
|
|
required>
|
|
|
|
<div *ngIf="password.touched && !password.valid" class="ui-message ui-messages-error ui-corner-all">
|
|
|
|
Invalid password
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<span class="md-inputfield">
|
|
|
|
<input
|
|
|
|
id="pwConfirm"
|
|
|
|
type="password"
|
|
|
|
pInputText
|
|
|
|
class="input ng-dirty ng-invalid"
|
|
|
|
placeholder="Retype your password"
|
|
|
|
formControlName="pwConfirm"
|
|
|
|
required>
|
|
|
|
<div *ngIf="pwConfirm.touched && !pwConfirm.valid" class="ui-message ui-messages-error ui-corner-all">
|
|
|
|
Not matched password
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<span class="md-inputfield">
|
|
|
|
<input
|
|
|
|
id="name"
|
|
|
|
type="text"
|
|
|
|
pInputText
|
|
|
|
class="input ng-dirty ng-invalid"
|
|
|
|
placeholder="Name"
|
|
|
|
formControlName="name"
|
|
|
|
required>
|
|
|
|
<div *ngIf="name.touched && !name.valid" class="ui-message ui-messages-error ui-corner-all">
|
|
|
|
Invalid Name
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<span class="md-inputfield">
|
|
|
|
<input
|
|
|
|
id="phone"
|
|
|
|
type="text"
|
|
|
|
pInputText
|
|
|
|
class="input ng-dirty ng-invalid"
|
|
|
|
placeholder="Phone"
|
|
|
|
formControlName="phone"
|
|
|
|
required>
|
|
|
|
<div *ngIf="phone.touched && !phone.valid" class="ui-message ui-messages-error ui-corner-all">
|
|
|
|
Invalid phone number
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<span class="md-inputfield">
|
|
|
|
<input
|
|
|
|
id="company"
|
|
|
|
type="text"
|
|
|
|
pInputText
|
|
|
|
class="input ng-dirty ng-invalid"
|
|
|
|
placeholder="Company"
|
|
|
|
formControlName="company"
|
|
|
|
required>
|
|
|
|
<div *ngIf="company.touched && !company.valid" class="ui-message ui-messages-error ui-corner-all">
|
|
|
|
Invalid company name
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<p class="font-s">
|
2018-05-29 09:32:22 +00:00
|
|
|
<p-checkbox
|
|
|
|
name="groupname"
|
|
|
|
label="이용약관과 개인정보 정책에 동의 합니다."
|
|
|
|
[formControl]="signupForm.controls['selectPolicy']"
|
|
|
|
binary="true"></p-checkbox>
|
|
|
|
<!--{{signupForm.get('selectPolicy').value}}-->
|
2018-05-28 10:28:26 +00:00
|
|
|
</p>
|
2018-05-29 09:32:22 +00:00
|
|
|
<div *ngIf="selectPolicy.touched && !selectPolicy.valid" class="ui-message ui-messages-error ui-corner-all">
|
|
|
|
please check
|
|
|
|
</div>
|
2018-05-28 10:28:26 +00:00
|
|
|
<a href="javascript:void(0)" (click)="termsDisplayOpen()">Terms Of Use</a>
|
|
|
|
|
|
|
|
|
<a href="javascript:void(0)" (click)="policyDisplayOpen()">Privacy Policy</a>
|
|
|
|
</div>
|
|
|
|
<div class="ui-g-12 ui-no-pad">
|
|
|
|
<div class="recaptcha-align">
|
|
|
|
<div class="content-section implementation">
|
|
|
|
|
|
|
|
<recaptcha
|
2018-05-29 09:32:22 +00:00
|
|
|
[formControl]="signupForm.controls['captcha']"
|
2018-05-28 10:28:26 +00:00
|
|
|
(scriptLoad)="onScriptLoad()"
|
|
|
|
(scriptError)="onScriptError()"
|
|
|
|
></recaptcha>
|
2018-05-03 12:30:32 +00:00
|
|
|
</div>
|
2018-05-28 10:28:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ui-g-12 ui-g-padding-15">
|
|
|
|
<button type="submit" [disabled]="!signupForm.valid" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-left">
|
|
|
|
<span class="ui-button-icon-left ui-c fa fa-fw ui-icon-person"></span>
|
|
|
|
<span class="ui-button-text ui-c">Sign Up</span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<a href="/auth/signin">Sign In</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|