aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+about
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-02 11:39:14 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-04-02 11:39:14 +0200
commita6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634 (patch)
treed8b27f30741ae3c9a2a72c68210644c16cd8d9b3 /client/src/app/+about
parent21973012ab06a93dd901821dbbe078eb793bac4d (diff)
downloadPeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.tar.gz
PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.tar.zst
PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.zip
Use form-control to display box-shadow on form inputs/selects upon focus
Diffstat (limited to 'client/src/app/+about')
-rw-r--r--client/src/app/+about/about-instance/contact-admin-modal.component.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/client/src/app/+about/about-instance/contact-admin-modal.component.html b/client/src/app/+about/about-instance/contact-admin-modal.component.html
index c3c71bdee..7d93796ec 100644
--- a/client/src/app/+about/about-instance/contact-admin-modal.component.html
+++ b/client/src/app/+about/about-instance/contact-admin-modal.component.html
@@ -10,7 +10,7 @@
10 <div class="form-group"> 10 <div class="form-group">
11 <label i18n for="fromName">Your name</label> 11 <label i18n for="fromName">Your name</label>
12 <input 12 <input
13 type="text" id="fromName" 13 type="text" id="fromName" class="form-control"
14 formControlName="fromName" [ngClass]="{ 'input-error': formErrors.fromName }" 14 formControlName="fromName" [ngClass]="{ 'input-error': formErrors.fromName }"
15 > 15 >
16 <div *ngIf="formErrors.fromName" class="form-error">{{ formErrors.fromName }}</div> 16 <div *ngIf="formErrors.fromName" class="form-error">{{ formErrors.fromName }}</div>
@@ -19,7 +19,7 @@
19 <div class="form-group"> 19 <div class="form-group">
20 <label i18n for="fromEmail">Your email</label> 20 <label i18n for="fromEmail">Your email</label>
21 <input 21 <input
22 type="text" id="fromEmail" 22 type="text" id="fromEmail" class="form-control"
23 formControlName="fromEmail" [ngClass]="{ 'input-error': formErrors['fromEmail'] }" 23 formControlName="fromEmail" [ngClass]="{ 'input-error': formErrors['fromEmail'] }"
24 > 24 >
25 <div *ngIf="formErrors.fromEmail" class="form-error">{{ formErrors.fromEmail }}</div> 25 <div *ngIf="formErrors.fromEmail" class="form-error">{{ formErrors.fromEmail }}</div>
@@ -28,7 +28,7 @@
28 <div class="form-group"> 28 <div class="form-group">
29 <label i18n for="subject">Subject</label> 29 <label i18n for="subject">Subject</label>
30 <input 30 <input
31 type="text" id="subject" 31 type="text" id="subject" class="form-control"
32 formControlName="subject" [ngClass]="{ 'input-error': formErrors['subject'] }" 32 formControlName="subject" [ngClass]="{ 'input-error': formErrors['subject'] }"
33 > 33 >
34 <div *ngIf="formErrors.subject" class="form-error">{{ formErrors.subject }}</div> 34 <div *ngIf="formErrors.subject" class="form-error">{{ formErrors.subject }}</div>
@@ -36,7 +36,7 @@
36 36
37 <div class="form-group"> 37 <div class="form-group">
38 <label i18n for="body">Your message</label> 38 <label i18n for="body">Your message</label>
39 <textarea id="body" formControlName="body" [ngClass]="{ 'input-error': formErrors['body'] }"> 39 <textarea id="body" formControlName="body" class="form-control" [ngClass]="{ 'input-error': formErrors['body'] }">
40 </textarea> 40 </textarea>
41 <div *ngIf="formErrors.body" class="form-error">{{ formErrors.body }}</div> 41 <div *ngIf="formErrors.body" class="form-error">{{ formErrors.body }}</div>
42 </div> 42 </div>
@@ -44,9 +44,10 @@
44 <div *ngIf="error" class="alert alert-danger">{{ error }}</div> 44 <div *ngIf="error" class="alert alert-danger">{{ error }}</div>
45 45
46 <div class="form-group inputs"> 46 <div class="form-group inputs">
47 <span i18n class="action-button action-button-cancel" (click)="hide()"> 47 <input
48 Cancel 48 type="button" role="button" i18n-value value="Cancel" class="action-button action-button-cancel"
49 </span> 49 (click)="hide()" (key.enter)="hide()"
50 >
50 51
51 <input 52 <input
52 type="submit" i18n-value value="Submit" class="action-button-submit" 53 type="submit" i18n-value value="Submit" class="action-button-submit"