Improve admin css help
This commit is contained in:
parent
d49b872a7a
commit
317ebb939e
|
@ -163,7 +163,7 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="customizationJavascript">JavaScript</label>
|
<label for="customizationJavascript">JavaScript</label>
|
||||||
<my-help helpType="custom" customHtml="Write directly JavaScript code.<br />Example: console.log('my instance is amazing');"></my-help>
|
<my-help helpType="custom" customHtml="Write directly JavaScript code.<br />Example: <pre>console.log('my instance is amazing');</pre>"></my-help>
|
||||||
<textarea
|
<textarea
|
||||||
id="customizationJavascript" formControlName="customizationJavascript"
|
id="customizationJavascript" formControlName="customizationJavascript"
|
||||||
[ngClass]="{ 'input-error': formErrors['customizationJavascript'] }"
|
[ngClass]="{ 'input-error': formErrors['customizationJavascript'] }"
|
||||||
|
@ -175,7 +175,24 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="customizationCSS">CSS</label>
|
<label for="customizationCSS">CSS</label>
|
||||||
<my-help helpType="custom" customHtml="Write directly CSS code.<br />Example: body { background-color: red; }"></my-help>
|
<my-help
|
||||||
|
helpType="custom"
|
||||||
|
customHtml="
|
||||||
|
Write directly CSS code. Example:<br />
|
||||||
|
<pre>
|
||||||
|
body {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
Prepend with <em>#custom-css</em> to override styles. Example:
|
||||||
|
<pre>
|
||||||
|
#custom-css .logged-in-email {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
</pre>
|
||||||
|
"
|
||||||
|
></my-help>
|
||||||
<textarea
|
<textarea
|
||||||
id="customizationCSS" formControlName="customizationCSS"
|
id="customizationCSS" formControlName="customizationCSS"
|
||||||
[ngClass]="{ 'input-error': formErrors['customizationCSS'] }"
|
[ngClass]="{ 'input-error': formErrors['customizationCSS'] }"
|
||||||
|
|
Loading…
Reference in New Issue