Tweaks to: adding stylesheets from freemarker templates; contact form styles. Add sender's name to sender address on contact form email notification.
This commit is contained in:
parent
3bdf4afa1a
commit
9b50352d87
2 changed files with 12 additions and 3 deletions
|
@ -64,3 +64,8 @@ input.button { margin: 1em 0; }
|
||||||
form#contact_form .buttons {
|
form#contact_form .buttons {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
form#contact_form .buttons input {
|
||||||
|
margin-right: .75em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -37,9 +37,13 @@
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<#-- How to add a stylesheet:
|
<#-- Three ways to add a stylesheet:
|
||||||
|
|
||||||
|
A. In theme directory:
|
||||||
${stylesheets.addFromTheme("/sample.css");
|
${stylesheets.addFromTheme("/sample.css");
|
||||||
${stylesheets.add("/themes/vivo-basic/css/sample.css"}
|
|
||||||
NOT (gets contextPath added twice):
|
|
||||||
${stylesheets.add(stylesheetDir + "/sample.css")}
|
${stylesheets.add(stylesheetDir + "/sample.css")}
|
||||||
|
|
||||||
|
B. Any location
|
||||||
|
${stylesheets.add("/edit/forms/css/sample.css"}
|
||||||
|
|
||||||
-->
|
-->
|
Loading…
Add table
Reference in a new issue