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:
rjy7 2010-05-21 16:39:33 +00:00
parent 3bdf4afa1a
commit 9b50352d87
2 changed files with 12 additions and 3 deletions

View file

@ -64,3 +64,8 @@ input.button { margin: 1em 0; }
form#contact_form .buttons {
margin-top: 1em;
}
form#contact_form .buttons input {
margin-right: .75em;
}
}

View file

@ -37,9 +37,13 @@
</body>
</html>
<#-- How to add a stylesheet:
<#-- Three ways to add a stylesheet:
A. In theme directory:
${stylesheets.addFromTheme("/sample.css");
${stylesheets.add("/themes/vivo-basic/css/sample.css"}
NOT (gets contextPath added twice):
${stylesheets.add(stylesheetDir + "/sample.css")}
B. Any location
${stylesheets.add("/edit/forms/css/sample.css"}
-->