aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/config/edit-custom-config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-22 18:32:31 +0100
committerChocobozzz <me@florianbigard.com>2018-02-22 18:32:31 +0100
commit8a8e02a43e346b9b777c8192a7c5cbdccb928b11 (patch)
tree9ffb8992f98b1354da9b522104d8d4289cf8e8d9 /client/src/app/+admin/config/edit-custom-config
parent81c263c86fe2a030f09e942e118551727f145b6d (diff)
downloadPeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.tar.gz
PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.tar.zst
PeerTube-8a8e02a43e346b9b777c8192a7c5cbdccb928b11.zip
Add help tooltip
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
index 8dca9bc04..4aef2ef6b 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
@@ -1,6 +1,6 @@
1<div class="admin-sub-title">Update PeerTube configuration</div> 1<div class="admin-sub-title">Update PeerTube configuration</div>
2 2
3<form role="form" (ngSubmit)="formValidated()" [formGroup]="form"> 3<form role="form" [formGroup]="form">
4 4
5 <div class="inner-form-title">Instance</div> 5 <div class="inner-form-title">Instance</div>
6 6
@@ -16,7 +16,7 @@
16 </div> 16 </div>
17 17
18 <div class="form-group"> 18 <div class="form-group">
19 <label for="instanceDescription">Description (markdown)</label> 19 <label for="instanceDescription">Description</label><my-help helpType="markdownText"></my-help>
20 <my-markdown-textarea 20 <my-markdown-textarea
21 id="instanceDescription" formControlName="instanceDescription" textareaWidth="500px" [previewColumn]="true" 21 id="instanceDescription" formControlName="instanceDescription" textareaWidth="500px" [previewColumn]="true"
22 [classes]="{ 'input-error': formErrors['instanceDescription'] }" 22 [classes]="{ 'input-error': formErrors['instanceDescription'] }"
@@ -27,7 +27,7 @@
27 </div> 27 </div>
28 28
29 <div class="form-group"> 29 <div class="form-group">
30 <label for="instanceTerms">Terms (markdown)</label> 30 <label for="instanceTerms">Terms</label><my-help helpType="markdownText"></my-help>
31 <my-markdown-textarea 31 <my-markdown-textarea
32 id="instanceTerms" formControlName="instanceTerms" textareaWidth="500px" [previewColumn]="true" 32 id="instanceTerms" formControlName="instanceTerms" textareaWidth="500px" [previewColumn]="true"
33 [ngClass]="{ 'input-error': formErrors['instanceTerms'] }" 33 [ngClass]="{ 'input-error': formErrors['instanceTerms'] }"
@@ -152,5 +152,5 @@
152 </div> 152 </div>
153 </div> 153 </div>
154 154
155 <input type="submit" value="Update configuration" [disabled]="!form.valid"> 155 <input (click)="formValidated()" type="submit" value="Update configuration" [disabled]="!form.valid">
156</form> 156</form>