diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html | 21 |
1 files changed, 19 insertions, 2 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 4a5ffb37c..714a3af15 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 | |||
@@ -163,7 +163,7 @@ | |||
163 | 163 | ||
164 | <div class="form-group"> | 164 | <div class="form-group"> |
165 | <label for="customizationJavascript">JavaScript</label> | 165 | <label for="customizationJavascript">JavaScript</label> |
166 | <my-help helpType="custom" customHtml="Write directly JavaScript code.<br />Example: console.log('my instance is amazing');"></my-help> | 166 | <my-help helpType="custom" customHtml="Write directly JavaScript code.<br />Example: <pre>console.log('my instance is amazing');</pre>"></my-help> |
167 | <textarea | 167 | <textarea |
168 | id="customizationJavascript" formControlName="customizationJavascript" | 168 | id="customizationJavascript" formControlName="customizationJavascript" |
169 | [ngClass]="{ 'input-error': formErrors['customizationJavascript'] }" | 169 | [ngClass]="{ 'input-error': formErrors['customizationJavascript'] }" |
@@ -175,7 +175,24 @@ | |||
175 | 175 | ||
176 | <div class="form-group"> | 176 | <div class="form-group"> |
177 | <label for="customizationCSS">CSS</label> | 177 | <label for="customizationCSS">CSS</label> |
178 | <my-help helpType="custom" customHtml="Write directly CSS code.<br />Example: body { background-color: red; }"></my-help> | 178 | <my-help |
179 | helpType="custom" | ||
180 | customHtml=" | ||
181 | Write directly CSS code. Example:<br /> | ||
182 | <pre> | ||
183 | body { | ||
184 | background-color: red; | ||
185 | } | ||
186 | </pre> | ||
187 | |||
188 | Prepend with <em>#custom-css</em> to override styles. Example: | ||
189 | <pre> | ||
190 | #custom-css .logged-in-email { | ||
191 | color: red; | ||
192 | } | ||
193 | </pre> | ||
194 | " | ||
195 | ></my-help> | ||
179 | <textarea | 196 | <textarea |
180 | id="customizationCSS" formControlName="customizationCSS" | 197 | id="customizationCSS" formControlName="customizationCSS" |
181 | [ngClass]="{ 'input-error': formErrors['customizationCSS'] }" | 198 | [ngClass]="{ 'input-error': formErrors['customizationCSS'] }" |