[Library | Trunk]: Contact us add css file

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59678 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-10-23 17:46:13 +00:00
parent f775d422c9
commit 835f785804
4 changed files with 10 additions and 8 deletions

View File

@ -0,0 +1,4 @@
.uk-text-danger {
color: #b50000!important;
font-size: 12px;
}

View File

@ -88,10 +88,7 @@
<re-captcha (resolved)="handleRecaptcha($event)" [(siteKey)]="properties.reCaptchaSiteKey">
</re-captcha>
</div>
<div class="uk-width-1-2@s uk-text-right uk-margin-medium-top" [class.uk-hidden]="!right">
<button class="uk-button" [class.portal-button]="!buttonClass" [ngClass]="buttonClass" (click)="send()">Send</button>
</div>
<div class="uk-margin-medium-top uk-width-1-1" [class.uk-hidden]="right">
<div class="uk-margin-medium-top uk-width-1-1">
<button class="uk-button" [class.portal-button]="!buttonClass" [ngClass]="buttonClass" (click)="send()">Send</button>
</div>
</div>

View File

@ -7,6 +7,7 @@ import {map, startWith} from "rxjs/operators";
@Component({
selector: 'contact-us',
templateUrl: './contact-us.component.html',
styleUrls: ['contact-us.component.css']
})
export class ContactUsComponent implements OnInit {

View File

@ -68,7 +68,7 @@ export class Composer {
public static composeEmailForMonitor(contactForm: any, admins: any): Email {
let email: Email = new Email();
email.subject = "OpenAIRE Monitor | " + contactForm.subject;
email.subject = "OpenAIRE - Monitor";
email.body = "<div style='font-size:" + this.noteBodySize + "'>"
+ "<span><b>Name</b>: " + contactForm.name + "</span><br>"
+ "<span><b>Surname</b>: " + contactForm.surname + "</span><br>"
@ -84,7 +84,7 @@ export class Composer {
public static composeEmailForUsageCounts(contactForm: any, admins: any): Email {
let email: Email = new Email();
email.subject = "OpenAIRE UsageCounts";
email.subject = "OpenAIRE - UsageCounts";
email.body = "<div style='font-size:" + this.noteBodySize + "'>"
+ "<span><b>Name</b>: " + contactForm.name + "</span><br>"
+ "<span><b>Email</b>: " + contactForm.email + "</span><br>"