forked from Cloud-CV/EvalAI-ngx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified contact us page to the current version of EvalAI (Cloud-CV#133)
* modified contact us page * minor change * minor responsive change
- Loading branch information
1 parent
b0472bb
commit 7cf974e
Showing
14 changed files
with
340 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,34 @@ | ||
<app-header-static></app-header-static> | ||
<div class="container-top container contact-container white"> | ||
<div class="contact-form"> | ||
<div class="contact-form-inner"> | ||
<span class="contact-title">Get in touch</span> | ||
<br> | ||
<div class="contact-form-elements"> | ||
<app-input [label]="'name'" [placeholder]="'Name'" [isRequired]="true" #formgroup></app-input> | ||
<app-input [label]="'email'" [placeholder]="'Email'" [isRequired]="true" [type]="'email'" #formgroup></app-input> | ||
<app-input [label]="'message'" [placeholder]="'Message'" [isRequired]="true" #formgroup></app-input> | ||
<span class="btn btn-fire" (click)="formValidate('formgroup')">SEND</span> | ||
<div class="contact-links"> | ||
<table> | ||
<tr> | ||
<td><a target="_blank" href="https://www.facebook.com/mlcloudcv/"><img src="assets/images/fb.png" /></a></td> | ||
<td><a target="_blank" href="https://github.com/Cloud-CV"><img src="assets/images/git_black.png" /></a></td> | ||
<td><a target="_blank" href="https://twitter.com/project_cloudcv"><img src="assets/images/twitter_black.png" /></a></td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div id="contact-map"> | ||
</div> | ||
<div class="contact-container"> | ||
<div class="row"> | ||
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 ev-mt-50"> | ||
<h4 class="contact-title ev-mt-17 ev-mb-13 fs-34 align-center fw-semibold">Contact Us</h4> | ||
<app-input [label]="'name'" [placeholder]="'Name*'" [isRequired]="true" [icon]="'fa fa-user'" #formgroup></app-input> | ||
<app-input [label]="'email'" [placeholder]="'Email*'" [isRequired]="true" [type]="'email'" [icon]="'fa fa-envelope'" #formgroup></app-input> | ||
<app-input [label]="'message'" [placeholder]="'Message*'" [isRequired]="true" [type]="'textarea'" [icon]="'fa fa-comment'" #formgroup></app-input><br> | ||
<button class="btn btn-waves-effect grad-btn grad-btn-dark ev-btn-dark" (click)="formValidate('formgroup')">Send</button> | ||
</div> | ||
<div class="rocket-container col-lg-4 col-md-4"> | ||
<div class="small-cloud cloud-1"> | ||
<img src="assets/images/cloud-1.png"> | ||
</div> | ||
<div class="small-cloud cloud-2"> | ||
<img src="assets/images/cloud-2.png"> | ||
</div> | ||
<div class="small-cloud cloud-3"> | ||
<img src="assets/images/cloud-1.png"> | ||
</div> | ||
<div class="small-cloud cloud-4"> | ||
<img src="assets/images/cloud-4.png"> | ||
</div> | ||
<div class="small-cloud cloud-2 bird-anim"> | ||
<img src="assets/images/bird.gif"> | ||
</div> | ||
<div class="rocket-anim"> | ||
<img src="assets/images/rocket.gif"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<app-footer></app-footer> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
<div class="input-group"> | ||
<div *ngIf="type!='file'"> | ||
<input class="input-field" (input)="validateInput($event.target.value)" [class.isValid]="isValid" [class.theme-dark]="theme=='dark'" type="{{type}}" [value]="value" [readonly]="isReadonly"> | ||
<span class="input-bar"></span> | ||
<label [class.is-not-empty]="!isEmpty" [class.theme-dark]="theme=='dark'">{{placeholder}}</label> | ||
<img class="input-icon" src="{{icon}}" *ngIf="isIconPresent" /> | ||
<div class="input-message" #textValue [class.hidden]="!(((isRequired && isEmpty)||(!isValid && !isEmpty)) && isDirty)">{{message}}</div> | ||
<div *ngIf="type!='file' && type!='textarea'"> | ||
<input class="input-field" (input)="validateInput($event.target.value)" [class.isValid]="isValid" [class.theme-dark]="theme=='dark'" type="{{type}}" [value]="value" [readonly]="isReadonly"> | ||
<span class="input-bar"></span> | ||
<label [class.is-not-empty]="!isEmpty" [class.theme-dark]="theme=='dark'">{{placeholder}}</label> | ||
<i class="input-icon {{icon}}" *ngIf="isIconPresent"></i> | ||
<div class="input-message" #textValue [class.hidden]="toggleErrorMessage()">{{message}}</div> | ||
</div> | ||
|
||
<div *ngIf="type=='textarea'"> | ||
<textarea autosize class="input-field" (input)="validateInput($event.target.value)" [class.isValid]="isValid" [class.theme-dark]="theme=='dark'" [value]="value" [readonly]="isReadonly"></textarea> | ||
<span class="input-bar"></span> | ||
<label [class.is-not-empty]="!isEmpty" [class.theme-dark]="theme=='dark'">{{placeholder}}</label> | ||
<i class="input-icon {{icon}}" *ngIf="isIconPresent"></i> | ||
<div class="input-message" #textValue [class.hidden]="toggleErrorMessage()">{{message}}</div> | ||
</div> | ||
|
||
<div class="file-upload" *ngIf="type=='file'"> | ||
<span class="btn btn-filter" (click)="transferClick('file-upload-custom')" [class.theme-dark]="theme=='dark'" [class.selected]="fileSelected"><i class="fas fa-upload"></i> {{placeholder}}</span> | ||
<input type="file" accept=".json, .zip, .txt" class="transparent" id="file-upload-custom" (change)="handleFileInput($event.target.files)" name="fileupload" [readonly]="isReadonly"/> | ||
<div class="input-message" #textValue [class.hidden]="!(((isRequired && isEmpty)||(!isValid && !isEmpty)) && isDirty)">{{message}}</div> | ||
<div class="input-message" #textValue [class.hidden]="toggleErrorMessage()">{{message}}</div> | ||
</div> | ||
</div> |
Oops, something went wrong.