aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-27 10:46:20 +0100
committerChocobozzz <me@florianbigard.com>2018-02-27 10:46:20 +0100
commit0394b1e181f639247eefafe1fea5d7e7c750e405 (patch)
treeff60d6718a93cc985507ea49a3cc570150f94e63 /client/src
parentc1953c5664c5f3c1572e9e607482a192d821385e (diff)
downloadPeerTube-0394b1e181f639247eefafe1fea5d7e7c750e405.tar.gz
PeerTube-0394b1e181f639247eefafe1fea5d7e7c750e405.tar.zst
PeerTube-0394b1e181f639247eefafe1fea5d7e7c750e405.zip
Add help to customizations configuration options
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html2
1 files changed, 2 insertions, 0 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 4aef2ef6b..18ba7ba06 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
@@ -132,6 +132,7 @@
132 132
133 <div class="form-group"> 133 <div class="form-group">
134 <label for="customizationJavascript">JavaScript</label> 134 <label for="customizationJavascript">JavaScript</label>
135 <my-help helpType="custom" customHtml="Write directly JavaScript code.<br />Example: console.log('my instance is amazing');"></my-help>
135 <textarea 136 <textarea
136 id="customizationJavascript" formControlName="customizationJavascript" 137 id="customizationJavascript" formControlName="customizationJavascript"
137 [ngClass]="{ 'input-error': formErrors['customizationJavascript'] }" 138 [ngClass]="{ 'input-error': formErrors['customizationJavascript'] }"
@@ -143,6 +144,7 @@
143 144
144 <div class="form-group"> 145 <div class="form-group">
145 <label for="customizationCSS">CSS</label> 146 <label for="customizationCSS">CSS</label>
147 <my-help helpType="custom" customHtml="Write directly CSS code.<br />Example: body { background-color: red; }"></my-help>
146 <textarea 148 <textarea
147 id="customizationCSS" formControlName="customizationCSS" 149 id="customizationCSS" formControlName="customizationCSS"
148 [ngClass]="{ 'input-error': formErrors['customizationCSS'] }" 150 [ngClass]="{ 'input-error': formErrors['customizationCSS'] }"