[Library | Trunk]: Change contact-us labels to h5

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58555 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-04-27 10:48:18 +00:00
parent 7f1862dbab
commit 968e3a3970
1 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
<div class="uk-margin-auto uk-text-bold uk-h4">{{formTitle}}</div> <h2 class="uk-margin-auto uk-text-bold">{{formTitle}}</h2>
<div *ngIf="errorMessage" class="uk-width-1-1 uk-alert uk-alert-danger uk-text-center" <div *ngIf="errorMessage" class="uk-width-1-1 uk-alert uk-alert-danger uk-text-center"
role="alert">{{errorMessage}}</div> role="alert">{{errorMessage}}</div>
<div class="uk-margin-top" uk-grid [formGroup]="contactForm"> <div class="uk-margin-top" uk-grid [formGroup]="contactForm">
@ -6,51 +6,51 @@
*Required fields *Required fields
</div> </div>
<div *ngIf="contactForm.get('name')" class="uk-width-1-2@s uk-margin-small-top"> <div *ngIf="contactForm.get('name')" class="uk-width-1-2@s uk-margin-small-top">
<label class="uk-h5 uk-text-bold"> <h5 class="uk-text-bold uk-margin-remove-bottom">
Name <span class="uk-text-danger uk-text-bold">*</span> Name <span class="uk-text-danger uk-text-bold">*</span>
</label> </h5>
<input class="uk-input" type="text" placeholder="Your name" formControlName="name" <input class="uk-input" type="text" placeholder="Your name" formControlName="name"
[class.uk-form-danger]="contactForm.get('name').invalid && contactForm.get('name').touched"> [class.uk-form-danger]="contactForm.get('name').invalid && contactForm.get('name').touched">
</div> </div>
<div *ngIf="contactForm.get('surname')" class="uk-width-1-2@s uk-margin-small-top"> <div *ngIf="contactForm.get('surname')" class="uk-width-1-2@s uk-margin-small-top">
<label class="uk-h5 uk-text-bold"> <h5 class="uk-text-bold uk-margin-remove-bottom">
Surname <span class="uk-text-danger uk-text-bold">*</span> Surname <span class="uk-text-danger uk-text-bold">*</span>
</label> </h5>
<input class="uk-input" type="text" placeholder="Your surname" formControlName="surname" <input class="uk-input" type="text" placeholder="Your surname" formControlName="surname"
[class.uk-form-danger]="contactForm.get('surname').invalid && contactForm.get('surname').touched"> [class.uk-form-danger]="contactForm.get('surname').invalid && contactForm.get('surname').touched">
</div> </div>
<div *ngIf="contactForm.get('email')" class="uk-width-1-2@s uk-margin-small-top"> <div *ngIf="contactForm.get('email')" class="uk-width-1-2@s uk-margin-small-top">
<label class="uk-h5 uk-text-bold"> <h5 class="uk-text-bold uk-margin-remove-bottom">
Email <span class="uk-text-danger uk-text-bold">*</span> Email <span class="uk-text-danger uk-text-bold">*</span>
</label> </h5>
<input class="uk-input" type="text" placeholder="Your email" formControlName="email" <input class="uk-input" type="text" placeholder="Your email" formControlName="email"
[class.uk-form-danger]="contactForm.get('email').invalid && contactForm.get('email').touched"> [class.uk-form-danger]="contactForm.get('email').invalid && contactForm.get('email').touched">
</div> </div>
<div *ngIf="contactForm.get('affiliation')" class="uk-width-1-2@s uk-margin-small-top"> <div *ngIf="contactForm.get('affiliation')" class="uk-width-1-2@s uk-margin-small-top">
<label class="uk-h5 uk-text-bold"> <h5 class="uk-text-bold uk-margin-remove-bottom">
Affiliation <span class="uk-text-danger uk-text-bold">*</span> Affiliation <span class="uk-text-danger uk-text-bold">*</span>
</label> </h5>
<input class="uk-input" type="text" placeholder="Your affiliation" formControlName="affiliation" <input class="uk-input" type="text" placeholder="Your affiliation" formControlName="affiliation"
[class.uk-form-danger]="contactForm.get('affiliation').invalid && contactForm.get('affiliation').touched"> [class.uk-form-danger]="contactForm.get('affiliation').invalid && contactForm.get('affiliation').touched">
</div> </div>
<div *ngIf="contactForm.get('community')" class="uk-width-1-1 uk-margin-top"> <div *ngIf="contactForm.get('community')" class="uk-width-1-1 uk-margin-top">
<div class="uk-h5 uk-width-1-1 uk-text-bold uk-margin-remove-bottom"> <div class="uk-width-1-1">
Research Community or Infrastructure <span class="uk-text-danger uk-text-bold">*</span> <h5 class="uk-text-bold uk-margin-remove-bottom">Research Community or Infrastructure <span class="uk-text-danger uk-text-bold">*</span></h5>
</div> </div>
<input class="uk-input uk-width-1-2@s" type="text" placeholder="Your community name" formControlName="community" <input class="uk-input uk-width-1-2@s" type="text" placeholder="Your community name" formControlName="community"
[class.uk-form-danger]="contactForm.get('community').invalid && contactForm.get('community').touched"> [class.uk-form-danger]="contactForm.get('community').invalid && contactForm.get('community').touched">
</div> </div>
<div *ngIf="contactForm.get('funder')" class="uk-width-1-2@s uk-margin-top"> <div *ngIf="contactForm.get('funder')" class="uk-width-1-2@s uk-margin-top">
<label class="uk-h5 uk-text-bold"> <div class="uk-width-1-1">
Funder Name <span class="uk-text-danger uk-text-bold">*</span> <h5 class="uk-text-bold uk-margin-remove-bottom"> <span class="uk-text-danger uk-text-bold">*</span></h5>
</label> </div>
<input class="uk-input" type="text" placeholder="Your funder name" formControlName="funder" <input class="uk-input uk-width-1-2@s" type="text" placeholder="Your funder name" formControlName="funder"
[class.uk-form-danger]="contactForm.get('funder').invalid && contactForm.get('funder').touched"> [class.uk-form-danger]="contactForm.get('funder').invalid && contactForm.get('funder').touched">
</div> </div>
<div *ngIf="contactForm.get('message')" class="uk-width-1-1 uk-margin-top"> <div *ngIf="contactForm.get('message')" class="uk-width-1-1 uk-margin-top">
<label class="uk-h5 uk-text-bold"> <h5 class="uk-text-bold uk-margin-remove-bottom">
Message <span class="uk-text-danger uk-text-bold">*</span> Message <span class="uk-text-danger uk-text-bold">*</span>
</label> </h5>
<textarea rows="4" class="uk-textarea" placeholder="Your message" formControlName="message" <textarea rows="4" class="uk-textarea" placeholder="Your message" formControlName="message"
[class.uk-form-danger]="contactForm.get('message').invalid && contactForm.get('message').touched"> [class.uk-form-danger]="contactForm.get('message').invalid && contactForm.get('message').touched">
</textarea> </textarea>