You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2016/06/12 13:49:19 UTC
[07/20] struts git commit: WW-4634
WW-4634
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/6b360108
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/6b360108
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/6b360108
Branch: refs/heads/master
Commit: 6b360108e57b8986c6409b26cba9b3cd4f16a603
Parents: 379b752
Author: victorsosa <vi...@peopleware.do>
Authored: Tue May 17 08:37:13 2016 -0400
Committer: victorsosa <vi...@peopleware.do>
Committed: Tue May 17 08:37:13 2016 -0400
----------------------------------------------------------------------
core/src/main/resources/template/xhtml/controlheader.ftl | 5 ++++-
core/src/main/resources/template/xhtml/styles.css | 5 +++++
2 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/6b360108/core/src/main/resources/template/xhtml/controlheader.ftl
----------------------------------------------------------------------
diff --git a/core/src/main/resources/template/xhtml/controlheader.ftl b/core/src/main/resources/template/xhtml/controlheader.ftl
index e1209cd..eeebe9f 100644
--- a/core/src/main/resources/template/xhtml/controlheader.ftl
+++ b/core/src/main/resources/template/xhtml/controlheader.ftl
@@ -21,5 +21,8 @@
*/
-->
<#include "/${parameters.templateDir}/${parameters.expandTheme}/controlheader-core.ftl" />
- <td
+ <td
+ <#if parameters.align??>
+ class="tdAlign${parameters.align?html}"
+ </#if>
><#t/>
http://git-wip-us.apache.org/repos/asf/struts/blob/6b360108/core/src/main/resources/template/xhtml/styles.css
----------------------------------------------------------------------
diff --git a/core/src/main/resources/template/xhtml/styles.css b/core/src/main/resources/template/xhtml/styles.css
index 91d5171..383578b 100644
--- a/core/src/main/resources/template/xhtml/styles.css
+++ b/core/src/main/resources/template/xhtml/styles.css
@@ -35,3 +35,8 @@
.tdCheckboxErrorMessage {text-align:left; vertical-align:top;}
.tdErrorMessage {text-align:center; vertical-align:top;}
.formButton {text-align:right;}
+
+.tdAligncenter{text-align:center;}
+.tdAlignright{text-align:right;}
+.tdAlignleft{text-align:left;}
+.tdAlignjustify{text-align:justify;}